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
Hello,
I have a dataset that I am wanting to create the following metrics for:
Metrics:
========================
I have created measures for MTD / QTD and YTD for *this year* and it works fine. When I create it for *last year* I get a blank.
Please help as I have tried changing the format of the data, changed the data model etc.
Kind regards
Arnie.
Solved! Go to Solution.
At the very minimum you need a calendar/dates table. you cannot use your facts table for date math.
Once the dates table is in place, have a look at the "quick measures" templates in Power BI. They include MTD and more. Also check https://daxpatterns.com
Thanks for that, it works 🙂
kind regards
At the very minimum you need a calendar/dates table. you cannot use your facts table for date math.
Once the dates table is in place, have a look at the "quick measures" templates in Power BI. They include MTD and more. Also check https://daxpatterns.com
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 14 | |
| 5 | |
| 5 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 10 | |
| 10 | |
| 6 | |
| 6 |