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 all,
I've created a measure and correctly have the Metric values but some of the sub totals aren't showing any values.
I've noticed the total correctly calculates when the Activities[Measure Value] (green cross) and Activities[Attendance Value] are separated (red cross) column but not when they are combined, i.e. should be sum together (blue cross)
I've used the HASONEFILTER which I read about here, but to no success.
Any help would be greatly appreciated - thanks!
Metric Measure =
IF(HASONEFILTER(Activities[Measure ID]),
DIVIDE(AVERAGE('Activities'[Measure Value]) + AVERAGE('Activities'[Attendance Value]),2),
SWITCH(SELECTEDVALUE('Measure'[Mechanism]),
"Survey Completion",
AVERAGE(Activities[Measure Value]),
"Workshop Attendance",
AVERAGE(Activities[Attendance Value])))
Solved! Go to Solution.
Hi @Anonymous ,
Please create another new measure as below to replace the original measure [Metric Measure] , and put this new measure onto the matrix visual. Later check if it can get your expected result.
New Measure =
SUMX (
GROUPBY (
'Activities',
'Activities'[Phase],
'Activities'[Metric],
'Activities'[Measure]
),
[Metric Measure]
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
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. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
It worked! Thanks so much for your help
Hi @Anonymous ,
Please create another new measure as below to replace the original measure [Metric Measure] , and put this new measure onto the matrix visual. Later check if it can get your expected result.
New Measure =
SUMX (
GROUPBY (
'Activities',
'Activities'[Phase],
'Activities'[Metric],
'Activities'[Measure]
),
[Metric Measure]
)
In addition, you can refer the following links to try to solve your problem...
Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand
Dax for Power BI: Fixing Incorrect Measure Totals
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. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
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 |
---|---|
26 | |
10 | |
10 | |
9 | |
6 |