Forum Discussion
HR30385
2 years agoRegular Visitor
Unable to format Field Parameters as Number
Hi there, I have a field parameter that let's users select between "net" and "gross" values: Parameter Local Currency Gross Net = { ("Gross Total LC", NAMEOF('SnapImpactDistributionO...
- 2 years ago
The "Parameter Local Currency Gross Net" that you're trying to convert to an Int actually refers to a table. When you create a field parameter, you're actually creating a table of sorts (notice how the part after the equals is "{")
If you need to convert any of the actual results you see in your visuals to an integer, you need to format the original measures (i.e SnapImpactDistributionObjs'[Impact Gross Total LC monthly] and SnapImpactDistributionObjs'[Impact Net Total LC monthly])
vicky_
2 years agoSuper User
The "Parameter Local Currency Gross Net" that you're trying to convert to an Int actually refers to a table. When you create a field parameter, you're actually creating a table of sorts (notice how the part after the equals is "{")
If you need to convert any of the actual results you see in your visuals to an integer, you need to format the original measures (i.e SnapImpactDistributionObjs'[Impact Gross Total LC monthly] and SnapImpactDistributionObjs'[Impact Net Total LC monthly])
- HR3032 years agoFrequent Visitor
Great. Thanks for the answer.