Skip to content

PAT Default Inputs "0" for Double Argument #191

@craigers290

Description

@craigers290

I am using a measure that includes a Double argument that has special behavior for a blank value. I've set the default within the measure to "" for a blank default.

arg.setDefaultValue("")

However, when it comes into PAT, it shows up as "inputs": { "default_value": 0}. The resulting behavior is that if I delete the "0" value and save in the PAT GUI, the pat.json reflects "inputs": { "default_value": null}. This will effectively pass a blank into the analysis. But, If you navigate away from the Analysis tab and come back PAT places a "0" back in that field and upon saving the default goes back to "0" from "null".

The best workaround is to set "inputs": { "default_value": ""} directly in the pat.json, but we would prefer the measure established default just carry properly into the PAT.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions