Need Help With Identifying Error on Time Series

Hi,

Good day! Would like your opinion on where I potentially have gone wrong in my model for time series to not work. My problem is that my current year and my delayed year are giving back the same results.

image

The code that I’m using is:

Policy Holders 2 =
CALCULATE(
DISTINCTCOUNT(Fact_MembersData[Serial Number]),
DATEADD(Fact_MembersData[Date].[Date],-1,YEAR))

For the delayed year

Policy Holders =
CALCULATE(
DISTINCTCOUNT(Fact_MembersData[Serial Number]))
For the original year

In terms of set up its just a simple match between the calendar table and the main data table. I have also nominated Date in the calendar table as my date table.

image

I’m really lost on why its not working.

Hi @kenyatta67 ,

It seems )maybe I am wrong) that you don’t use you Calendar date dimension for that.

One of the main prerequisite for Time Series function to work is continous date dimension

Melissa made such great explanation in serial of posts about Time intelligence + provide code for continous Date dimension :

If you have more dates /relationships to Calendar dimension you can use USERELATIONSHIP function.

Hope it helps.

Good luck.