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

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.

Reply
Possibilitis
Frequent Visitor

Matrix : How to show only numbers where value in row header matches value in header column

Hi experts, 

I have have  challenge I need your help with. I'am using a matrix to show percentage number  which is a result of division of revenue by expenses.  The perentage is displayed by region , city .... . currently the matrix shows all numbers for all regions as you can see in the screen shot included. 

What I am looking for is a way to show the numbers in matrix ONLY when the value in column header matches the value in the row reader as I have underline in read. The numbers where that condition is not meet should NOT be visible. 

 

Does anyone knows how to achieve this requirements?

Thanks so much for your help! 

SLim_screen3.png

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

The simple answer is "return BLANK() in your measure when they don't match".  But this is much more complex.  What do you expect to see in the totals?

View solution in original post

Hi @lbendlin thanks so much for your help, it worked fine for me. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Possibilitis ,
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1717997048016.png

Create measures

Value = SELECTEDVALUE('Table'[revenue ])/SELECTEDVALUE('Table'[expenses])
Measure = 
IF(
    SELECTEDVALUE('Table'[Region]) = SELECTEDVALUE('Table'[Region.Second]),
    [Value],
    BLANK()
)

Use measure as value of matrix
Final output

vheqmsft_1-1717997109113.png

 

Best regards,
Albert He

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

Hi @lbendlin thanks so much for your help, it worked fine for me. 

lbendlin
Super User
Super User

The simple answer is "return BLANK() in your measure when they don't match".  But this is much more complex.  What do you expect to see in the totals?

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.