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 all,
I have this kind of table :
| Category | Project | Amount |
| CAT1 | Project1 | 10 |
| CAT1 | Project2 | 20 |
| CAT2 | Project3 | 30 |
| CAT3 | Project4 | 40 |
| CAT3 | Project5 | 50 |
I want to summurize CAT3 and repeat the value for all rows but I want don't display CAT3.
Result expected :
| Category | Project | Amount | CAT3 |
| CAT1 | Project1 | 10 | 90 |
| CAT1 | Project2 | 20 | 90 |
| CAT2 | Project3 | 30 | 90 |
How can I do this with DAX ?
Thank you !
Solved! Go to Solution.
Use this measure:
CAT3 value = CALCULATE (SUM(Table[Amount]), Table[Category] = "CAT3")
Proud to be a Super User!
Paul on Linkedin.
Hi @freginier ,
Create a measure as below :-
Measure =
CALCULATE (
SUM ( 'Table'[Amount] ),
FILTER ( ALL ( 'Table' ), 'Table'[Category] = "CAT3" )
)
and now add filter as below on your visual:-
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Use this measure:
CAT3 value = CALCULATE (SUM(Table[Amount]), Table[Category] = "CAT3")
Proud to be a Super User!
Paul on Linkedin.
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.