Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
freginier
Super User
Super User

Repeat result sum on all rows

Hi all, 

 

I have this kind of table :

CategoryProjectAmount
CAT1Project110
CAT1Project220
CAT2Project330
CAT3Project4

40

CAT3Project5

50

 

I want to summurize CAT3 and repeat the value for all rows but I want don't display CAT3. 

Result expected :

CategoryProjectAmountCAT3
CAT1Project11090
CAT1Project22090
CAT2Project330

90

 

How can I do this with DAX ? 

 

Thank you ! 

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

Use this measure:

CAT3 value = CALCULATE (SUM(Table[Amount]), Table[Category] = "CAT3")





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
Samarth_18
Community Champion
Community Champion

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:-

Samarth_18_0-1655200963113.png

 

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

PaulDBrown
Community Champion
Community Champion

Use this measure:

CAT3 value = CALCULATE (SUM(Table[Amount]), Table[Category] = "CAT3")





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors