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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
campelliann
Post Patron
Post Patron

Locking Slicer Position

Hi, 

So I was asked to have a date slicer in which the default position is the "current month" ("Mes Atual"). The user must be able to change it (if he wants to see some other month) so I created a text field. 

The thing is this, as the slicers grows with more dates, instead of getting the first picture (because I want the user to immediatly see the current selection), it gets the second (which is not intuitive because he cannot see that the Current month is the selection)

Is there a way to keep the slicer in the default position so the user always sees the first image (the right side of the slicer) instead of the left.

 

 

desiredposition.pngundesiredposition.png

1 REPLY 1
amitchandak
Super User
Super User

@campelliann , Create a new column in date table like

 

Month Type = Switch( True(),
eomonth([Date],0) = eomonth(Today(),-1),"Last Month" ,
eomonth([Date],0)= eomonth(Today(),0),"This Month" ,
Format([Date],"MMM-YYYY")
)

 

Select and Save on this month. Also change the order to ascending

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.