Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I'm looking to create a rating system that will display the overall health of a division
example; anything greater than 80% is 1 point, 50% - 79% will be .5 points, 49% and less is 0 points.
i created the following dax which was able to give me the correct values, but i was not able to get the table to calculate a total, its giving me an average
current visual is giving an average
Solved! Go to Solution.
@TariqArnabi , Change return like this and try
Sumx(Values(Table[Region]), calculate(_Claims + _Risk + _Casualty + _Property + _Primary +_Cyber))
Hi @TariqArnabi ,
Please try using this measure.
total =
IF (
HASONEVALUE ( 'Table'[Region] ),
'Table'[Overall],
CALCULATE ( 'Table'[Overall], ALL ( 'Table' ) )
)
Or:
Measure =
SUMX(
SUMMARIZE(
'Table',
'Table'[Region],
"total",[Overall]
),
[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.
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.
@TariqArnabi , Change return like this and try
Sumx(Values(Table[Region]), calculate(_Claims + _Risk + _Casualty + _Property + _Primary +_Cyber))
This worked. I also created a seperate measure to return the correct Total since SUMX does a Row by Row Evaluation. it was returning an incorrect Total.
I created a new measure if you need an overall TOTAL in the end.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
13 | |
12 | |
12 | |
7 | |
7 |
User | Count |
---|---|
19 | |
14 | |
11 | |
10 | |
10 |