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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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