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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
kemmerrc
Helper I
Helper I

Power BI - Slicer Dropdown Default Date

I have a date filter on my page. I created a true/false value table (Table 2) and a measure to get the most recent date on my dropdown filter. I used the Preselected Slicer to create the visual with Fields = Date, Pre Selection = Measure, and Dirty Status = Table. I then set the Format Display as Dropdown. 

 

Table 2 = {TRUE(),FALSE()}

 

Measure = var a=MAXX(ALL('Table'),[Column1])

return IF(MAX([Column1])=a,TRUE())

 

All of this worked  - in that the dropdown slicer does display the most recent date BUT only the most recent date shows on the slicer. How can I get the slicer to list all the dates, allowing the user to change the date to an earlier date? I want it to continue to to default to the most recent date as data is added or as user click in/out of the link/dashboard?  

 

1 ACCEPTED SOLUTION
ronaldbalza2023
Continued Contributor
Continued Contributor

Hi @kemmerrc , found several online tutorials on setting dynamic dates in Power BI date slicers. One helpful resource is Set a Dynamic/Default/Changing Date in Power BI Date Slicer Let me know if this aligns with your needs.

View solution in original post

2 REPLIES 2
ronaldbalza2023
Continued Contributor
Continued Contributor

Hi @kemmerrc , found several online tutorials on setting dynamic dates in Power BI date slicers. One helpful resource is Set a Dynamic/Default/Changing Date in Power BI Date Slicer Let me know if this aligns with your needs.

Daniel29195
Super User
Super User

@kemmerrc 

try using this custom visual 

Daniel29195_0-1708768675783.png

 

let me know if this helps .

Daniel29195_1-1708768911378.png

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors