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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello I have problems converting formulas into DAX measure,
Measure 1:
SUM(Quantity) / SUM( Quantitiy / Goal )
My try:
DIVIDE('Table'[Quantity], SUMX('Table', DIVIDE('Table'[Quantity], 'Table'[Goal])))
Measure 2:
Other Measure / Measure 1
My try:
DIVIDE('Table'[Other Measure], 'Table'[Measure 1])
Problem is, that Calculations in Table Visual are right, but Total of Measure 2 is not correct. Measure 2 is displayed in %.
Output:
| Quantity | Goal | Measure 1 | Other Measure | Measure 2 |
| 158 | 2.400 | 2.400 | 4.277 | 178,2 % |
| 1.734 | 3.300 | 3.300 | 2.857 | 86,6 % |
| 564 | 2.650 | 2.650 | 2.093 | 79,0 % |
| 130 | 2.400 | 2.400 | 1.910 | 79,6 % |
| Total 2.586 | 2.635 | 88,4% |
All values are correct, but total of Measure 2 is off and should be 87,5%
can u help?
Solved! Go to Solution.
Hi, i actually had an error in my data. Thanks for your help anyways.
Measure 1: Measure 1 = DIVIDE(SUM('Table'[Quantity]), SUMX('Table', DIVIDE('Table'[Quantity], 'Table'[Goal]))
Hi, i actually had an error in my data. Thanks for your help anyways.
The issue with the incorrect total for your Measure 2 lies in how Power BI calculates totals for measures. By default, Power BI aggregates the row-level results, which can lead to discrepancies when the logic of the measure depends on row-level context. Instead, you need to adjust the logic of the measure to calculate the total correctly.
For Measure 2, instead of summing the row-level results, we should calculate the overall total using the same logic applied at the row level.
Hi, thanks for youre reply but i get error.
When i try to use Measure 2 i get following Error:
Collumn Other Meassure not found or cant be used in this expression.
DAX of Other Meassure: DIVIDE(SUM('Table'[Quantity], SUM('Table'[Time])) * 60
Use below:
Other Measure:
Other Measure = DIVIDE(SUM('Table'[Quantity]) + SUM('Table'[Time]), 1) * 60
Measure 2 = DIVIDE(
Hi, i actually had an error in my data. Thanks for your help anyways.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 18 | |
| 12 | |
| 11 | |
| 6 | |
| 6 |