Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
Thanks a lot for looking at my post. Thanks a lot for below code from this forum.
I have below measure and it does not show the total value . What should I do get the totals populated please?
Solved! Go to Solution.
Hi @jimpatel ,
If I understand correctly, the issue is that you couldn’t show the total value. Please try the following methods and check if they can solve your problem:
1.The use of IF without an aggregation function for the context is likely the cause of the issue.
2.Modify the formula and enter the following DAX formula.
Measure 5 =
SUMX(
VALUES('table (2)'[Order number]),
VAR a = CALCULATE(MAX('table (2)'[Date]), ALLEXCEPT('table (2)', 'table (2)'[Order number], 'table (2)'[Operation Description]))
RETURN IF(
a = MAX('table (2)'[Date]),
1,
0
)
)
Alternatively, you can select the matrix visual. Navigate to the Format section and expand the totals option.
If the above ones can’t help you get it working, could you please provide more raw data(exclude sensitive data) with Text format to make a deep troubleshooting? It would be helpful to find out the solution.
Looking forward to your reply.
Best Regards,
Wisdom Wu
Hi @jimpatel ,
If I understand correctly, the issue is that you couldn’t show the total value. Please try the following methods and check if they can solve your problem:
1.The use of IF without an aggregation function for the context is likely the cause of the issue.
2.Modify the formula and enter the following DAX formula.
Measure 5 =
SUMX(
VALUES('table (2)'[Order number]),
VAR a = CALCULATE(MAX('table (2)'[Date]), ALLEXCEPT('table (2)', 'table (2)'[Order number], 'table (2)'[Operation Description]))
RETURN IF(
a = MAX('table (2)'[Date]),
1,
0
)
)
Alternatively, you can select the matrix visual. Navigate to the Format section and expand the totals option.
If the above ones can’t help you get it working, could you please provide more raw data(exclude sensitive data) with Text format to make a deep troubleshooting? It would be helpful to find out the solution.
Looking forward to your reply.
Best Regards,
Wisdom Wu
Perfect
Thanks a lot for you help 🙂
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
20 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |