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

How to Convert Columns Heading into Slicers

Hi There ,

 

Hope you are doing well,

 

I am trying to make some slicers . I am having some data in my model and i want to use columns headers name into SLicers .

So whenver i click on X slicer values in whole canvas will change according to that selection and if i select on Y then values will change accordingly .

 

Also i need to make Current Year and Last year Measures accordingly order, Pack SOld,Revenue etc from above table..So that if i will click on orders then values will be change accordingly.

 

Please if you can help me out in this ?

 

Regards,

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Ashish_kumar12 , I think you need a measure slicer. There is a different approach for measure slicer and column slicer(group by)

 

For measure , you can use measure slicer or calculation groups 

https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

or

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

For Column, You need use bookmarks, In case of direct query there is additional solution

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

 

Direct Query https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

 

View solution in original post

2 REPLIES 2

Hello Amit,

 

Thank you so much i was able to create that particular slicer using your link .

Thank you 

amitchandak
Super User
Super User

@Ashish_kumar12 , I think you need a measure slicer. There is a different approach for measure slicer and column slicer(group by)

 

For measure , you can use measure slicer or calculation groups 

https://www.youtube.com/watch?v=b9352Vxuj-M
https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

or

calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/

 

For Column, You need use bookmarks, In case of direct query there is additional solution

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

 

Direct Query https://datamonkeysite.com/2020/10/22/change-dimension-dynamically-using-parameter-in-powerbi/

 

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.