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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Slicer dropdown to filter area data and hide rows in Matrix

Hello to all,

 

When using a slicer dropdown to filter data, let's consider a scenario where there are 5 Multi Areas (A, B, C, D, and E), each having 4 districts, resulting in a total of 20 districts in rows. If we filter for Multi Area A, the Matrix will display the values of the 4 districts belonging to Multi Area A, while the remaining districts will appear as blank cells.

 

However, hide the 14 remaining districs from the rows, but only display the 4 districts related to the selected Multi Area (A in this case). 

Visulazation type = Matrix 

Ohboy_991_0-1705417310260.png

 

I will have a Area slicer on the above of this below view and whenever i select any area it should give me distrcits related to the selected Area and rest all distrcts should be hidden.

 

Ohboy_991_2-1705417363265.png

 

 

Thanks a lot for the help.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I created a workaround using this DAX and it solved my problem

CF = IF(HASONEVALUE(Tab1[Dist]), BLANK(), 'Tab3'[M1])
 
THANKS @Anonymous  @Anonymous  for the support.

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi  @Anonymous ,

 

You could try turning off "Show items with no data".

vyangliumsft_0-1705657184405.png

What formula do you use for your measure?

 

Best Regards,

Liu Yang

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

Anonymous
Not applicable

I created a workaround using this DAX and it solved my problem

CF = IF(HASONEVALUE(Tab1[Dist]), BLANK(), 'Tab3'[M1])
 
THANKS @Anonymous  @Anonymous  for the support.
Anonymous
Not applicable

Hii @Anonymous , I think a simple slicer should work in your scenario. If not can you please provide a pbix file without any confidential data.

Thankyou.

Anonymous
Not applicable

Thank you @Anonymous , but it did not worked for me,  i still get all the rows with/without the values in the matrix

 

view is like this if I filter Area = A

Ohboy_991_3-1705474030225.png

wanted to add that M1- M4 are calculated measures  

 

VIEW I need.

Ohboy_991_4-1705474085583.png

 

 

Anonymous
Not applicable

Hi  @Anonymous ,

 

You can try it by following these steps

1. Format – Row headers – Options – Stepped layout set off.

vyangliumsft_0-1705460202075.png

vyangliumsft_1-1705460202076.png

2. Column subtotal and Row subtotals – set off.

vyangliumsft_2-1705460216864.png

3. Place the fields into the matrix as follows.

[Area] and [District] --  Rows

[M1],[M2],[M3]and[M4] -- Value

vyangliumsft_3-1705460216865.png

4. Result.

vyangliumsft_4-1705460233795.png

 

Best Regards,

Liu Yang

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.