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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Date Filter

Hi!

 

I am having trouble with making a date filter.

For this filter, I need to have the option that displays the date like the image below. 

2022-03-09 (1).png

I was able to make the feature so that the data will display the data for the current date. However, this filter is not filtering the data on the page.

I need the filter to filter all the data to only display results on the date selected and any subsquent data that falls on all the dates leading up to the selected date.

I was wondering if anyone had any suggestions.

 

Thank you!!

3 REPLIES 3
Whitewater100
Solution Sage
Solution Sage

Hi:

Can you use the time slicer with "Before" choice? This will bring in all data before this date. It can be page level filter too. Please ignore Cities in this image.

Whitewater100_0-1646861080394.png

 

Anonymous
Not applicable

Hi, I need to incorporate something that will automatically have the max date set to the current date, do you know if there is any way I can do that with the time slicer before range?

Anonymous
Not applicable

Hi @Anonymous ,

 

Power BI won't reset the slicer selection automaticlly after each reopen or refresh.

I think you can create a DimDate table by calendar function.

Date = CALENDAR(MIN('Table'[Date]),TODAY()) 

Then relate DimDate[Date] with [Date] in your Fact Data table. 

You can use "Clear selections" in Slicer to make the max date set to the current date (today).

 

1.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.