Forum Discussion

BlueSky's avatar
BlueSky
Helper I
6 years ago
Solved

Problems with Year to date comparisons

Hi,   I'm trying to do a simple year to date vs last year to date, however running into some difficulties. My table shows year and week number.   For 2020 week 1, I expect the 'Last Year' colou...
  • MattAllington's avatar
    6 years ago

    The inbuilt time intelligence functions that you are using work on dates, not week numbers. So 3 Jan May be week 2 one year and week 1 the year after (for example). If you want to report on like for like week numbers, you need to write a custom time intelligence function.  Read my article here 

    https://exceleratorbi.com.au/dax-time-intelligence-beginners/