Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
admin11
Memorable Member
Memorable Member

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
Memorable Member
Memorable Member

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.