Forum Discussion

HR30385's avatar
HR30385
Regular Visitor
2 years ago
Solved

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...
  • vicky_'s avatar
    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])