Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi everyone,
I would like to add LTM (Last Twelve Months) figures to a waterfall chart. I basically have sales data from 2018 until June 2021. What I would like to do is to show the channel evolution (B2B, B2C, E-commerce) per year. That's quite straightforward when you display data from 2018 to 2020. But when you display 2021 as well, it seems like 2021 is not performing well compared to previous years but it's just because it has 6 months in it instead of 12.
Therefore, is there a way to display 2018, 2019, 2020 and LTM21? Or that's way too complex?
Many thanks!
Solved! Go to Solution.
Hi Allison,
Thanks that sounds like a good shortcut!
@AlenKovacevic It might work ok if you do LTM for all years and put a filter on the visual to only show the last 5 years data so that the 2021 LTM is from today and not a future date.
Do you already have the LTM measure? Use DATESINPERIOD or something similar
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Hi Allison,
Thanks that sounds like a good shortcut!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |