Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi I am using bar graph comparing this year's sales and last year's sales.
My lastyear sales measure DAX is
Total Sales LY = Calculate(SUM(AR_InvoiceHistoryDetail[Total Sales]),SAMEPERIODLASTYEAR('Master Date'[Date]))
When my bar graph is on "year" level, it doesn't show the previous year's sales.
But when I drill down to either "quarter" level or "month" level, it shows the previous year's sales.
Could you help with why on "year" level, it doesn't show the previous year data?
Do you have a dedicated date/calendar table? If so, is it marked as a Date table?
Hi Nick,
Yes, I have a dedicated date/calendar table ('Master Date' [date] in the code).
can you post a sample file? onedrive works well
@Anonymous Do you have email address that I can send the onedrive link to?
Or you can try this: https://uofstthomasmn-my.sharepoint.com/:u:/r/personal/kang1873_stthomas_edu/Documents/sample.pbix?csf=1&e=C9Breo
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
114 | |
97 | |
95 | |
68 | |
65 |