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
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]
)
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 |