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
carlosmeep
Frequent Visitor

Create a slicer for columns

Hi!

I am trying to create a slicer that would let me select the measures shown in a bar chart.

I have created a dissconected table that I will use to select the columns that I want to show:

The problem that i have is that power bi doesn't let select the column:

 

image.png

Thank you very much

 

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

There are @carlosmeep ,

In powerbi, we couldn't use the dynamic column in visual, we could just change measures. Therefore, you must create measures for each slicer option, and then use the switch function to create a measure that lists all the slicer measures.

If you want to use the dynamic column, I think you need to follow @amitchandak\'s suggestion, and use bookmark to achieve this goal.

Saludos
Zoe Zhi

If this post helps, then please consider Accepting it as the solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4

Thanks @amitchandak ,

That would word, but power bi won't accept it. It won't allowed the construcction, doesn´t  recognise the column name as a valid input ( 

image.png

in the answer you proposed the error would be (highlighted):

image.png

 

dax
Community Support
Community Support

There are @carlosmeep ,

In powerbi, we couldn't use the dynamic column in visual, we could just change measures. Therefore, you must create measures for each slicer option, and then use the switch function to create a measure that lists all the slicer measures.

If you want to use the dynamic column, I think you need to follow @amitchandak\'s suggestion, and use bookmark to achieve this goal.

Saludos
Zoe Zhi

If this post helps, then please consider Accepting it as the solution to help other members find it more quickly.

You will be able to select measures. For column, switch try with bookmark

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

 

 

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.