cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors