Forum Discussion
Function sign
- Anonymous5 years ago
Olenard
If you use SUM(...) when you have a row context, the SUM does not see any row context since it's an aggregator and only works with filter contexts. So, SUM sees ALL ROWS at the same time. Please remove SUM from the formula and it'll then work row by row. Please learn about contexts and how they behave.By the way, SIGN does NOT need a measure: https://dax.guide/sign/
Olenard
If you use SUM(...) when you have a row context, the SUM does not see any row context since it's an aggregator and only works with filter contexts. So, SUM sees ALL ROWS at the same time. Please remove SUM from the formula and it'll then work row by row. Please learn about contexts and how they behave.
By the way, SIGN does NOT need a measure: https://dax.guide/sign/
- Olenard5 years agoHelper III
Hi Anonymous ,
I think I get it. Should I use Sumx then ?