Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

add YTD and MTD to sales figures

$
0
0

I am trying to compare sales for two separate years on ytd and mtd basis. But the first month in my data is jul and not jan; so for YTD current year it sould add jul-dec and similarly for the previous year. For MTD it should compare whatever is the latest month for the current year.

 

I have tried using datesinperiod with firstdate and also datesytd - but its not working :

 

BI error.JPG

My data looks like this :

data screenshot.JPG

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles