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
Mark_Berry
Helper I
Helper I

Create a time filter button through dax.

I am intending on creating a filter/slicer to effect an entire report page with buttons.

I want to be able to allow the user to filter the last 7 days, 14 days, 3 months and 6 months from the report date with buttons for each period. I am aware that there are these filters available via the filter pane, however I am creating reports form people who will have practically zero BI experience. 

For reference my current date of report uses this measure

Date of Report = MIN('Report Date'[Current Date])
 
Thank you for any help.
1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Mark_Berry 
Please refer to the linked tutorial:

https://www.youtube.com/watch?v=jKBfMvhU9R0

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @Mark_Berry 
Please refer to the linked tutorial:

https://www.youtube.com/watch?v=jKBfMvhU9R0

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.