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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 8 | |
| 7 | |
| 7 |