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
Gjakova
Post Patron
Post Patron

Filter based on different columns (from one table (can't change the data))

Hi there,

I have a Power BI dashboard which has a live connection, so I can't do any transformation with the data...
I have the following problem I would like to solve:

 

Column AColumn BColumn C
400700950
84094309309430
93049370903863

 

I have a line chart, bar chart etc. but I would like that my slicer contains: column A, column B and column C
So if I want to see the values of Column B over time, I just select column B in my slicer. And if I want to see Column A, then I just select Column A in my slicer. Thus the line chart will automatically adjust to what I selected in my slicer.

 

Usually I would just unipivot the table, but since it is a live connection I cannot make any changes to the data (also I am not allowed to). Does someone know how I would solve this problem? Many thanks in advance!

1 ACCEPTED SOLUTION
vivran22
Community Champion
Community Champion

Hello @Gjakova 

 

I hope this is what you are looking for:

Sample.gif

Enclosing the sample solution file

 

Follow the artilce for more details:

https://www.vivran.in/post/show-or-hide-measures-using-slicer-power-bi

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

View solution in original post

2 REPLIES 2
vivran22
Community Champion
Community Champion

Hello @Gjakova 

 

I hope this is what you are looking for:

Sample.gif

Enclosing the sample solution file

 

Follow the artilce for more details:

https://www.vivran.in/post/show-or-hide-measures-using-slicer-power-bi

 

Cheers!
Vivek

Blog: vivran.in/my-blog
Connect on LinkedIn
Follow on Twitter

 

amitchandak
Super User
Super User

@Gjakova , Measure slicer in another way. But there also you need to have a table for slicer values.

 

Maybe you can try the bookmark approach. -https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

Measure slicer: https://radacad.com/change-the-column-or-measure-value-in-a-power-bi-visual-by-selection-of-the-slic...

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.