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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Surekha_PM
Helper III
Helper III

Calculated Date Formula Error

Hello Everyone,

 

I have created a date function where I am Changing the dates based on "Last 30 Days", Last 60 days", Last 90 Days" etc. The date function is working fine; however, when I am changing the main date the calculated date function is not working and the date range is getting fixed. Example for reference is below;

Selecting the duration is changing the start date & end date:

Surekha_PM_0-1718867439593.png     

Surekha_PM_1-1718867466432.png

But when I am manually changing the start or end date the Duration filter is not working. I manually changed the date to 12 June and now even if I am changing the Duration to Last month end date is the same.

Surekha_PM_2-1718867542420.png
Is there any way to solve this?

Regards,
Surekha



2 ACCEPTED SOLUTIONS

Hello @Surekha_PM ,

 

check it out https://youtu.be/pKXIPDhRrbM?si=J0J52gUM6H1tMeTx

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




View solution in original post

when select this month, then the date is from the first day to today. However, you change the date, then the conditon conflicts with "This Month". The same as Last Month. So I think you can separate to 2 pages. One is for fixed period. The other is for mannually selection.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

7 REPLIES 7
Surekha_PM
Helper III
Helper III

Hi @Idrissshatila and @ryan_mayu ,

Thanks for your help. We aregoing to keep it as it is for now.

Regards,
Surekha Prasad

ryan_mayu
Super User
Super User

@Surekha_PM 

does that mean if you select last month, the start date and end date will be 5/1-5/31, if you select current month, the start date and end date will be 6/1 - today?

then why you mannually change the start date and end date?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Hi @ryan_mayu,

Ye correct. But here the issue is that once I change the date, either in the Start or end date, then the duration filter is not working. So if I am manually changing the date to, let's say 12 June, and then when I am selecting last month, it is not filtering the date between 1 May and 31 May. And the user might sometimes change the date manually. 

when select this month, then the date is from the first day to today. However, you change the date, then the conditon conflicts with "This Month". The same as Last Month. So I think you can separate to 2 pages. One is for fixed period. The other is for mannually selection.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Surekha_PM
Helper III
Helper III

Hi @Idrissshatila,

Thank you for your response. Could you please tell me how can I use relative date filter? I haven't used it before.



Regards,
Surekha

Hello @Surekha_PM ,

 

check it out https://youtu.be/pKXIPDhRrbM?si=J0J52gUM6H1tMeTx

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Idrissshatila
Super User
Super User

Hello @Surekha_PM ,

 

yes, the slicer won't filter the date slicer, it won't work like this.

 

you could use the relative date slicer option.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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