cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

YTD Variance

How would I show the variance between this year and last year according to the total sales that were dated up until today ( [year to date] rolling date ). 

2 REPLIES 2
Super User
Super User

Re: YTD Variance

@ThePowerBIQueen  not sure you would be able to as YTD is as it says its YTD and unles you can adjust the calendar to parse only the part of the year you interested in.

 

what about using SAMEPERIODLASTYEAR with DatesYTD

 

this thread might help

 

https://community.powerbi.com/t5/Desktop/How-to-display-sales-YTD-and-sales-last-YTD-over-years/td-p...


Did I answer your question? Mark my post as a solution.
Proud a to be a Datanaut!
Community Support Team
Community Support Team

Re: YTD Variance

HI @ThePowerBIQueen,

 

I agree with vanessafvg's point of view, but if you want ot use SAMEPERIODLASTYEAR/DatesYTD, you need a related calendar table and use these functions with calendar date to filter.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |