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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Launch-to-date sales of products

Hi all,

 

I have made some YTD calculation that works fine, but now im looking to make a  LTD (launch-to-date) calculation.

So with the YTD i can measure from 01-01-2018 until now, but i want to specify that i will measure from 01-04-2018 until now, it has to be accumulated numbers.

 

any advice? 

 

cap4.PNGcap5.PNGcap6.PNG

1 ACCEPTED SOLUTION
rajulshah
Super User
Super User

Hello @Anonymous,

 

Please try the following measure:

YTS Rev. = TOTALYTD(SUM('Sales RAW'[Rev. Actual excl.WAS]);'CALENDAR'[Date].[Date],"31/3")

 

Hope this works.

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

its not working as expected after all, but i cant remove the "accept as solution" mark

Hello @Anonymous,

 

I also don't know that. But can you provide what's expected ?

rajulshah
Super User
Super User

Hello @Anonymous,

 

Please try the following measure:

YTS Rev. = TOTALYTD(SUM('Sales RAW'[Rev. Actual excl.WAS]);'CALENDAR'[Date].[Date],"31/3")

 

Hope this works.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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