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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.