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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

How to switch column categories when switching between categories in filter?

Dear Community 🙂

I have created a matrix table with a slicer on a variable called 'Segment', which can either take on 'Product Tankers' or 'Crude Tankes'

My problem is that when 'Segment'='Product Tankers' I need one set of column names (from a column called 'Product Segment') and when 'Segment'='Crude Tankers' I need a different set of column names (from a column called 'Crude Segment') to be displayed in the matrix. 

Can anyone help me to link different column names to the categories in a slicer?

So that when I choose 'Product Tankers' from the segment filter I get column names from the variable 'product_segment' and when I choose 'Crude Tankers' from the segment filter i get column names from the variable 'crude_segments'.


I have attached pictures to describe my problem:


So when I choose ' Products Tankers' it works correct:
PBI1.png
But when I choose 'Crude tankers' the column names are wrong as they refers to product_segment:
PBI2.PNG
Instead I need this when I choose 'Crude Tankers':
PBI3.PNG



Thanks in advance 🙂 


1 ACCEPTED SOLUTION
Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

You could group them in a field parameter and filter from one to another using a slicer, check this link for instructions https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

If I answered your question, please mark my post as solution, Appreciate your Kudos👍

 

Follow me on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you so much 🙂

Idrissshatila
Super User
Super User

Hello @Anonymous ,

 

You could group them in a field parameter and filter from one to another using a slicer, check this link for instructions https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-field-parameters

 

If I answered your question, please mark my post as solution, Appreciate your Kudos👍

 

Follow me on Linkedin

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors