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
walker21
Frequent Visitor

Filter between dates

Is it possible to filter a page between two different dates? I need my page to show data that is in the last 31-60 days. The slicer and relative date filter does not allow me to enter an inbetween time without using specific dates.

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @walker21 

 

For example, I want to filter data for the last 3-6 days.

vzhangti_0-1672386645576.png

vzhangti_1-1672386685943.png

Hope this method helps you.

 

Best Regards,

Community Support Team _Charlotte

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

View solution in original post

5 REPLIES 5
v-zhangti
Community Support
Community Support

Hi, @walker21 

 

For example, I want to filter data for the last 3-6 days.

vzhangti_0-1672386645576.png

vzhangti_1-1672386685943.png

Hope this method helps you.

 

Best Regards,

Community Support Team _Charlotte

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

walker21
Frequent Visitor

@themistoklis 

walker21_0-1672351820657.png

I am receiving this error when using the above formula. Am I missing something?

@walker21 

 

I didnt get any errors when i tried the same formula.

 

How are you creating the table?

Do you go to Home Tab --> Modelling --> New Table

@themistoklis yes. Home - modeling - New Table.

 

Then I receive the error saying I have too few arguments for some reason.

themistoklis
Community Champion
Community Champion

@walker21 

 

Maybe you can create a custom date slicer.

See linke below:

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

 

In your case you can use the following formula

ADDCOLUMNS(
DATESBETWEEN('Date'[Date], TODAY()-60, TODAY()-30),
"Selection", "30-60"
)

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.