Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a measure adding together 6 values to create a total. It's possible for the sum to be greater than 100, but in these situations I want PowerBi to just show 100 instead of 102, for example. How do I add this kind of limit?
Solved! Go to Solution.
Basically taking your measure and just having it be the variable
Measure =
var addvalues = [1]+[2]+[3]
return if(addvalues>100,100,addvalues)
Thanks, that did it!
In your measure we can add an if statement to handle this! It would look something like...
Measure =
var addvalues = sum(table[value1],table[value2])
return if(addvalues>100,100,addvalues)
This basically checks to see if your measure would return something greater than 100, if so, just return 100. If not, return the original value!
It's a very simple measure adding together other measures, like [1]+[2]+[3]. how would I apply your solution in this example?
Basically taking your measure and just having it be the variable
Measure =
var addvalues = [1]+[2]+[3]
return if(addvalues>100,100,addvalues)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |