Forum Discussion
Conditional Measure Not Working the way I Imagined - any help greatly appreciated
- 3 years ago
probably it is returning value as a whole number, not in decimal. try dividing with 100. see if that works.
Eff MoM Conditional =
IF (
[Efficiency % Chg] / 100 < 0,
1,
0
)
Hello Rubayatyasmin, thanks so much for your reply but I'm afraid that edit is returning the same results (screenshot below). I did consider the percentage --> decimal relationship as DAX reads it, but I figured anything less than 0 as you suggested would work too:
- rubayatyasmin3 years ago
Community Champion
probably it is returning value as a whole number, not in decimal. try dividing with 100. see if that works.
Eff MoM Conditional =
IF (
[Efficiency % Chg] / 100 < 0,
1,
0
)- Russell933 years agoFrequent Visitor
Thx again for your help, that's a good idea but I'm afraid it didn't change the output either
I also tried using parenthesis to isolate the /100 in terms of order of operations hoping that might work, but no changes:
I will keep researching a solution to this, I think I may have to tell DAX to calculate based on individual Store #'s somehow. Thanks for all of your help
- rubayatyasmin3 years ago
Community Champion
Are you certain that MOM calculation is giving the right value?
check the table relationship.