Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hi, guys, Im having a hard time here, trying to get a with the proper DAX formula, I have a measure = (a/b)
But for the total I want the sum of the values for that column, instead the total A / Total B.
Im going to attach an image of an example model to better explain my problem.
I tried to use a combination of sumx with values (country for example), but it works only for that attribute, If I remove for example country, and add brand to the pivot the measure shows the wrong total.
Thanks a lot for your help
Solved! Go to Solution.
@ctrip77 Please use following measure to get the correct totals.
Measure = SUMX('Table',DIVIDE('Table'[Cost],'Table'[area Ft2],0))
@ctrip77 Please use following measure to get the correct totals.
Measure = SUMX('Table',DIVIDE('Table'[Cost],'Table'[area Ft2],0))
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 16 | |
| 11 | |
| 9 | |
| 8 | |
| 7 |