Forum Discussion
Atif
Resolver I
5 years agoIssue with SUMX
DIVIDE( SUM(Table1[Purchase Value]), SUMX(ALL(Table1), Table1[Purchase Value])) The above formula works fine without any filters. Since I am using ALL function, the filtered numerator still gets...
- 5 years ago
Thank you, sanalytics !
A minor tweaking and it worked.DIVIDE( SUM(Table1[Purchase Value]), CALCULATE(SUM(Table1[Purchase Value]), ALL(Table1[Brand])))
sanalytics
Super User
5 years agoAtif ..
Please upload your power bi model and dummy data so that we can have a look..
Regards,
sanalytics
- Atif5 years ago
Resolver I
Thank you, sanalytics !
A minor tweaking and it worked.DIVIDE( SUM(Table1[Purchase Value]), CALCULATE(SUM(Table1[Purchase Value]), ALL(Table1[Brand])))