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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Naveen_SV
Helper IV
Helper IV

How to Create Filters in Matrix when user needs column name needs to be filtered

How can i create the Filters for the column which is given please see my below screen shot. when the columns are using Numbers. I want a filters for Male and Female is that possible.snip1.PNG

1 ACCEPTED SOLUTION

Hi @Naveen_SV 

You may create a table2 as slicer.Then create 3 measures like below:

Female_1 = IF({"Female"} in VALUES(Table2[Slicer]),SUM(Table1[Female]))
Male_1 = IF({"Male"} in VALUES(Table2[Slicer]),SUM(Table1[Male]))
Population_1 = IF({"Population"} in VALUES(Table2[Slicer]),SUM(Table1[Population]))

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Naveen_SV 

You may try to use 'Unpivot columns' for Female,Male and Population columns in query editor.Then use the Attribute column as slicer.Attached sample file for your reference.

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for this update, I need one more solutoin is that possbile to get if i select Female i want to see male column blank and population column blank likwise other. Appreciate your help

Hi @Naveen_SV 

You may create a table2 as slicer.Then create 3 measures like below:

Female_1 = IF({"Female"} in VALUES(Table2[Slicer]),SUM(Table1[Female]))
Male_1 = IF({"Male"} in VALUES(Table2[Slicer]),SUM(Table1[Male]))
Population_1 = IF({"Population"} in VALUES(Table2[Slicer]),SUM(Table1[Population]))

1.png

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Your amazing thanks for this

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.

Top Solution Authors