Forum Discussion

AmitDarak's avatar
AmitDarak
New Member
1 year ago
Solved

Numeric parameter slicer not working properly

Hi,   I have created a Numeric range parameter and using the values of that parameter in slicer.   Then I have created a basic measure with switch function. Measure works correctly for 3 values i...
  • miTutorials's avatar
    1 year ago

    Use the round function for precise matching like below.

     

    Measure = SWITCH(ROUND(Parameter[Parameter Value],2),
                                 0.70,  100,
                                 0.75,  200,
                                 0.80,  300,
                                 0.85,  400,
                                 0.90,  500,
                                 0.95,  600,
                                 1000)