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
Álvaro_SM
Frequent Visitor

Slicer to only filter by columns, leaving all rows untouched.

Dear colleagues,

 

After flicking through several post on this matter, I found no suitable solution to my problem and so I'm turning to you for expert advice. The posts I consulted are:

 

Solved: How to have dynamic date filter on Columns (NOT ro... - Microsoft Power BI Community

Solved: Can a slicer filter only rows on a matrix chart an... - Microsoft Power BI Community

Slicer to not filter rows in matrix. Want all rows... - Microsoft Power BI Community

 

Problem statement: I have a matrix visual which is acting as a pivot table. On the rows, I have the different clusters I want to keep visible all the time. On the columns, however, I want the slicer to filter them. Moreover, the values should be affected by the slicer too.

 

My table has the following structure:

 

Row headerColumn 1Column 2
Skill_A_Department_B_Segment_CValue %Value %
Skill_B_Department_A_Segment_CValue %Value %

 

The slicer (empoyee ID) should only filter the columns and their values, leaving all the rows visible all the time even if the person cannot be classified as Skill_B_Department_A_Segment_C so to say .

 

Regarding the data sources, both columns and rows come from the same table. Only values are being retrieved from a different data source but both are linked.

 

Is there any way to achieve that?

 

Thank you so much,

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Álvaro_SM , Based on what I got so far, you need independent table/s to make it work

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

 

If this does not help
Can you share sample data and sample output in table format?

View solution in original post

2 REPLIES 2
Álvaro_SM
Frequent Visitor

Thanks a lot @amitchandak , in the end it'll be cleaner if I transform the data back to wide format via data transformation. Anyhow , the video is a great resource!

amitchandak
Super User
Super User

@Álvaro_SM , Based on what I got so far, you need independent table/s to make it work

Need of an Independent Table in Power BI: https://youtu.be/lOEW-YUrAbE

 

If this does not help
Can you share sample data and sample output in table format?

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.