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! Learn more

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
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 Kudoed Authors