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 everyone, I created a measure for last year sales and plan to do the same for 2 years back. I created the following measure:
Here are my relationships. As you can see, store #s are connected to a master store list, and dates are connected to a date table
Thank you in advance!
Solved! Go to Solution.
Hi,
Since you have a date table, you should use the date of your date table and not the one from the fact table.
One more thing do not forget to mark your date table as a date table, and to link (seems done on your screencopy).
But the stange thing is that you might have forgotten something, because if your date is related to your date table or coming from the date table, you should not see the date hierarchy (Date.Year or Date.Month...).
So that's why I'm guessing your table is not marked or linked properly 😉
Let us know
Sorry, Yes I selected the Date column from the Coupon table, but even when I select the date from the date table, the values for LY = current sales
Here are the relationships
WOW thank you, I feel dumb.
No worries it happens to all of us...
and dumbness is well shared amongst all of us, with an equal distribution 😉
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 20 | |
| 12 | |
| 11 |