Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have a few different tables: Fake Doc 1, Fake Doc 2, Fake Doc 3. These all have some values in it. I've created three different risk measures for each of the tables - so Doc 1 Risk, Doc 2 Risk, Doc 3 Risk. In these I've summed the document values and gave it a 1, 2, or 3 score based on what I've considered is its low, medium, and high risk score. (High risk would be the sum < 40, medium < 70, etc)
What I would like to do next is create a measure, Count Lows, for example, that will be a sum of all the low risk scores. Then a Count Medium, and Count High. This way I can display how many low/medium/high risk scores we have.
How can I sum different measures if it's equal to a certain value? This could be done if loops were a thing in DAX but I'm having a hard time adjusting to this language. There's only 3 docs in this example, but the final state would probably have much more than just 3 document tables.
Solved! Go to Solution.
I wasn't able to figure it out in Power BI so I instead calculated risk on the excel sheet first and then summed it using a measure with something like this:
I wasn't able to figure it out in Power BI so I instead calculated risk on the excel sheet first and then summed it using a measure with something like this:
@plantbean , You should try segmentation(binning) of the measure. With help from an independent atble you can do that
refer the example
Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1...
Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 5 |
| User | Count |
|---|---|
| 24 | |
| 11 | |
| 9 | |
| 9 | |
| 8 |