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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
VeeraBui
New Member

How to set : always select the first value in button slicer

Can someone help me to check this dashboard: Microsoft Power BI

VeeraBui_0-1770495070021.png

 

One artist can have multiple tracks. I want to set: whenever user selects an artist in the top slicer, the bottom button slicer select the first track of that artist by default ( like in the above dashboard)

 

I can not do it when I try to make my own dashboard. Whenever I choose a new artist, there is no track selected and I need to click to select. 

 

I want the first track to be selected by default when I choose an artist. How can I do that ?

 

Thank you a lot. 

 

1 ACCEPTED SOLUTION

Alternatively, and if you dont need to other features the button slicers  has, use Chiclet Slicer custom visual.

danextian_4-1770547964847.gif

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

5 REPLIES 5
danextian
Super User
Super User

Hi @VeeraBui 

Using Tabular Editor, you can leverage a column's Group by Property property to "store a filter by using an alternate value, which represents the key of the entity." Power BI uses this key to store the filter, allowing the corresponding filter value in the visual to change dynamically.

 

In my example, I created a separate dimension table with DAX containing Product Key, Model and SKU then added a SKU rank within each model. This rank column will be used to identify each SKU. I had to create a different table as creating a calculated rank column in the original table would cause "composite key" error if changes are made to the model. I then created a one to many single direction  relationship from  the new table product key to the orignal table.

danextian_0-1770547035463.png

 

danextian_1-1770547187296.png

Modify the group by property in Tabular Editor as in the image below.

danextian_2-1770547280053.png

Power BI will use this column as a selection identifier and not the actual value selected. In the GIF below, you can see that I selected SKU BB-7421 which has rank of 1  and which  many not exist in other Models but as I changed the Model, the selection automatically changed to rank 1 value within that newly selected Model.

danextian_3-1770547559042.gif

 

Further reading can be found in the video description - https://youtu.be/MrEAZREQuXM

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Alternatively, and if you dont need to other features the button slicers  has, use Chiclet Slicer custom visual.

danextian_4-1770547964847.gif

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hello, 

Thank you a lot.

The Chiclet Slicer works perfectly.  I got stuck for a week and now I can solve this issue. 

Have a nice weekend! 😉

renyusen
Frequent Visitor

try this, make sure the "force selection" is turn on

renyusen_0-1770536768309.png

 

Yes, I have chosen that "force selection" in the button slicer, but when I choose the new artist in the top slicer, there is no automatic selection in the button slicer. I need to click to choose.

Helpful resources

Announcements
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.