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
Hi,
this time i would like to ask you to support me in following case:
inputa table
Expected table - works well
Measure to improve
Result of measure
How to update syntax in measure to have
calculated total sum by category and have posibilities to add extra value to each category.
Thank you in advance for your reply.
Solved! Go to Solution.
My first thought was that you just need to move "+ 100" inside SUMX but that would give 407, not 307.
You need to iterate at the level you want to sum at (Category).
CategorySum =
SUMX (
VALUES ( 'Table'[Category] ),
CALCULATE ( SUM ( 'Table'[Value] ) + 100 )
)
My first thought was that you just need to move "+ 100" inside SUMX but that would give 407, not 307.
You need to iterate at the level you want to sum at (Category).
CategorySum =
SUMX (
VALUES ( 'Table'[Category] ),
CALCULATE ( SUM ( 'Table'[Value] ) + 100 )
)
@Anonymous try this
Measure =
SUMX (
ADDCOLUMNS (
VALUES ( 'Table'[Category] ),
"sum", CALCULATE ( SUM ( 'Table'[Value] ) ) + 100
),
[sum]
)
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 |
|---|---|
| 19 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 31 | |
| 20 | |
| 12 | |
| 12 |