Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi everyone,
I have this measure in 'Table 2':
Total Free TEUs = SUM('Table 2'[All Free TEUs])
which is summized by this calculated column from same table
All Free TEUs = 'Table 1'[# Free Dry Teus] + 'Table 1'[# Free Refer Teus] + 'Table 2'[FREE TEUS DRY] + 'Table 2'[FREE TEUS REF] + 'Table 2'[FREE TEUS ALL]
And also 'Table 1'[# Free Dry Teus] and 'Table 1'[# Free Refer Teus] is Calculated Column
# Free Refer Teus = CALCULATE(SUM('Table 1'[TEUs]), 'Table 1'[Free Cont by Dates] = "Free", 'Table 1'[GROUP TYPE] = "Refer")
# Free Dry Teus = CALCULATE(SUM('Table 1'[TEUs]), 'Table 1'[Free Cont by Dates] = "Free", 'Table 1'[GROUP TYPE] = "Dry")
When I put this Measure to Table, and use the Date Slicer to filter, the values each rows changing as expected but the Totals row is not re-calculated?
Note: # Stock Cont is still recalculated and its formular is here: COUNT('Table 1'[CONTAINER])
So what is the problem here, I have no idea what was wrong with my code. Please help me 😥
Hi @TungNguyen_19 ,
Please try this measure:
total#free teus= =
SUMX (
SUMMARIZE (
'Table',
'Table'[Depot/Terminal],
"total", [free teus] //your measure
),
[total]
)
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
You can refer to the following documents that may be helpful to you:
sum error - Microsoft Power BI Community
Dealing with Measure Totals - Microsoft Power BI Community
Fixing Incorrect Totals Using DAX Measures In Power BI | Enterprise DNA
How to Make Measures Total Correctly in Power BI Tables - ArcherPoint
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.