Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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...
User | Count |
---|---|
93 | |
85 | |
76 | |
66 | |
62 |
User | Count |
---|---|
110 | |
96 | |
95 | |
64 | |
57 |