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.
how do i modify below dax formula to give me correct result for fiscal calendar which starts from Feb and ends in JAN
last month sales = Calculate(sum(sales),DATEADD(Date['fisc_month'],-1,MONTH)
Above formula when used gives me last month sales for FY23 Feb = sales for FY23 Jan which is wrong
@Jane689 Most DAX Time "Intelligence" functions are brain dead regarding fiscal calendars. There are multiple ways of accomplishing this but generally the best approach is a good fiscal calendar table. Something with offsets like what Melissa de Korte has put together. Extended Date Table (Power Query M function) - Power Query / M Code Showcase - Enterprise DNA Forum
Also, maybe some of this will help: You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
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.
User | Count |
---|---|
103 | |
103 | |
87 | |
73 | |
67 |
User | Count |
---|---|
119 | |
111 | |
95 | |
79 | |
72 |