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
basirve
Helper III
Helper III

Relative Date Not Filtering - Based On current entire month

Dear Experts,

 

In My report i kept date is a relative date filter on report level and use to fetch last 14 months and data is not fetching for Current mpnth last date inn cureent month and when I kept  is in this month and getting only current month but I need to achive last 14 months + Current month last date.

 

BB.png

 

I would like to achive date range on relativedate fileter 10/1/2019 to 12/31/2020.

 

AA.png

Please suggest a solution on this.

Thanks & Regards,

Venkat.

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @basirve 

As a workaround  you can try to create codes as below:

Measure:

 

Begindate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),-14)
Enddate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),1)-1

 

 

(As of  now,we can't use measure  value in Page Level Filter. This feature is not supported yet. You can review this feature request and vote it)

 

So here we create  a page filter control using  calculated column rather than measure:

 

flag = 
IF ( Table1[Date] >= [Begindate] && Table1[Date] <= [Enddate], 1, 0 )

 

Then apply it to page filter pane:

60.png

 

Ps.Since we are using a calculated column, it is recommended to refresh the report manually every time you open the report to ensure that the data in the calculated column is timely.

 

Best Regards,
Community Support Team _ Eason
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

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @basirve 

As a workaround  you can try to create codes as below:

Measure:

 

Begindate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),-14)
Enddate = EDATE(DATE(YEAR(TODAY()),MONTH(TODAY()),1),1)-1

 

 

(As of  now,we can't use measure  value in Page Level Filter. This feature is not supported yet. You can review this feature request and vote it)

 

So here we create  a page filter control using  calculated column rather than measure:

 

flag = 
IF ( Table1[Date] >= [Begindate] && Table1[Date] <= [Enddate], 1, 0 )

 

Then apply it to page filter pane:

60.png

 

Ps.Since we are using a calculated column, it is recommended to refresh the report manually every time you open the report to ensure that the data in the calculated column is timely.

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@basirve , with relative dat slicer that is not possible.

 

refer this approch https://www.youtube.com/watch?v=duMSovyosXE

 

to default on end date of month follow the approch https://www.youtube.com/watch?v=hfn05preQYA

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

Top Solution Authors