cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
admin11
Super User
Super User

Sales Vari % can display on table but not chart ?

Hi All

I have a Table , it can display YTD and LYTD sales and Sales Vari % :-

admin11_0-1653778816680.png

When itry to plot the chart it can display YTD and LYTD :-

admin11_1-1653778875271.png

Now i try to plot the Sales Vari % only , it does not display . Can some one advise me where go wrong ?

 

Paul Yeo

 

1 ACCEPTED SOLUTION

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)

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
admin11
Super User
Super User

Hi

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)

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur 

Why I cannot tick your answer is correct ?

@Ashish_Mathur 

Thank you it work.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors