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
Celynx
New Member

How to prevent a measure from being duplicated in each column when using a matrix in Power BI

 
Hi, hope you have a good day. Please your help with this, I have not been able to find the way to create this visual in Power BI and it seems to me quite simple.

I have used the matrix where I can show the measure A for each selected month, so far so good. Now, I need to add a single column with a calculation that takes into account different months (Measure B), "similar to a total but with a specific operation, not a simple sum, average etc" when i add the value the column is duplicated by every month and the value is affected by this filter, I just need to show it at the end of the table once.

This is the example in excel of what i want to do, I have looked in the customization options of the table but I can't find the way to do it.  I would appreciate it if someone could help me

Celynx_0-1714084042178.png

 

 

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

Try combining the measures. Not sure how good this is performance-wise, but:
Measure C = IF(HASONEVALUE(Table[Month]), [Measure A], [Measure B])

and then use measure C in your matrix instead of Measure A

View solution in original post

2 REPLIES 2
vicky_
Super User
Super User

Try combining the measures. Not sure how good this is performance-wise, but:
Measure C = IF(HASONEVALUE(Table[Month]), [Measure A], [Measure B])

and then use measure C in your matrix instead of Measure A

Thanks, that "HASONEVALUE" function was exactly what i needed

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