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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors