Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 😉
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
25 | |
21 | |
19 | |
14 | |
11 |
User | Count |
---|---|
43 | |
35 | |
25 | |
22 | |
22 |