I am trying to calculate the LTM and the previous periods LTM, however, i want to display them side by side. Then calculate the YOY difference, displayed for the corresponding month. I am using a Year and Month slicer. My data is upto Feb 2018. I want to display a dynamic rolling LTM line chart.
The matrix best displays my issue.
Hi @MrNoob,
What's the formula that you used? Seems you need a function SAMEPERIODLASTYEAR. Please share a sample, then we can provide more details of the solution.
Best Regards,
Dale
This is the code i am using in order of calculations.
SP = ((([PAX]/[Bookings IND PAX])-([Bookings APM]/'Bookings Meassures'[Bookings IND PAX])))*100 LTM SP = CALCULATE ( [SP], DATESBETWEEN ( 'DATE'[Date], NEXTDAY ( SAMEPERIODLASTYEAR ( LASTDATE ('DATE'[Date]) ) ), LASTDATE ('DATE'[Date] ) ) ) LY LTM SP = CALCULATE([LTM SP],SAMEPERIODLASTYEAR('Date'[Date]))
Featured Session: Drive Data Culture with Power BI- Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
469 | |
185 | |
119 | |
62 | |
52 |
User | Count |
---|---|
442 | |
170 | |
130 | |
77 | |
74 |