Forum Discussion

Nanakwame's avatar
Nanakwame
Icon for Helper II rankHelper II
4 years ago

Time Intelligence YTD and Previous year calculation.

Hi Experts,

 

I am creating a power bi sales dashboard with KPI's showing previous year sales, year to date sales and Variance indicating positive or negative. I will like the KPI to be time intelligence to only use same period as last year. For instance if the year to date KPI is showing $50,000 then last year sales should only calculate up to October 22 of last year. 

 

Any dax function that can help with this?

 

Thank you

5 Replies