Forum Discussion
admin11
Memorable Member
4 years agoSales Vari % can display on table but not chart ?
Hi All
I have a Table , it can display YTD and LYTD sales and Sales Vari % :-
When itry to plot the chart it can display YTD and LYTD :-
Now i try to plot the Sales Vari % only , it does not display . Can some one advise me where go wrong ?
Paul Yeo
Hi,
In the Source, delete the Source_temp column. Revise the Sales_YTD measure to:
Sales LYTD = var _max = date(year(today())-1,month(today()),day(today())) return TOTALYTD([SALES_],dateadd('DATE'[Date],-1,year),'DATE'[Date]<=_max)
5 Replies
- admin11
Memorable Member
Hi
- Ashish_Mathur
Super User
Hi,
In the Source, delete the Source_temp column. Revise the Sales_YTD measure to:
Sales LYTD = var _max = date(year(today())-1,month(today()),day(today())) return TOTALYTD([SALES_],dateadd('DATE'[Date],-1,year),'DATE'[Date]<=_max)- admin11
Memorable Member
Thank you it work.