Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I ahve downloaded this file, which is excellent. Made a few changes which givem me the financial year periods I require, etc.
What I want though is no end date on the report. No matter what I try this seems to fail to work.
The current formula is this:
= Date.EndOfYear(DateTime.Date(DateTime.FixedLocalNow()))
What formula should I use to run the end date to, say 2100?? or no end date at all?
Thx !
Hi, @Jbeaman85 ;
Usually, every Calendar table has at least two parameters: 'Start Date' and 'End Date'.
Although we know that there's no a real "end" date, we need this in order to make the Power Query stop creating new rows and to be able to move forward.
So, a good way to solve your situation is to put the original formula into a Date.AddYears():
Date.AddYears(Date.EndOfYear(DateTime.Date(DateTime.FixedLocalNow())), 10)
Did I answer your question? Mark my post as a solution! Appreciate your Kudos! 😀
Regards!
Replace current formula with if you want to go till 31-Dec-2100
=#date(2100,12,31)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.