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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

How to make Last Day/Week/Month data filter

Helllo, everyone!

This is what I'm trying to build in Power B.I:

ianframos_1-1629477157190.png

I have a lot of data with date and time info. The current filter I'm using is the basic one that looks like the custom in the image above. I want to create a filter with offset options where users choose last day/week/month/6months/year to show the data instead of manually typing the specific period.

 

I already have a simple Data dimension table but I couldn't figured out a way to create this filter.

 

Can anyone help me? 

 

 

1 ACCEPTED SOLUTION
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous

 

You can try this in Power BI with slicer:

vxulinmstf_0-1629683288998.pngvxulinmstf_1-1629683302441.png

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

View solution in original post

2 REPLIES 2
v-xulin-mstf
Community Support
Community Support

Hi @Anonymous

 

You can try this in Power BI with slicer:

vxulinmstf_0-1629683288998.pngvxulinmstf_1-1629683302441.png

If you still have some question, please don't hesitate to let me known.‌‌

 

Best Regards,

Link

 

Is that the answer you're looking for? If this post helps, then please consider Accept it as the solution. Really appreciate!

daxer-almighty
Solution Sage
Solution Sage

Does the Filter Pane not have such options built in? I know it does. Why then not use it?

 

It's also easy to create a mapping between dates and the type of period in a different table and connect it to the Date table. Then ppl will be able to select the type of period and DAX/Engine will do the rest.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors