cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ranga_88
Helper I
Helper I

YTD calculation need to change month order

Hi ,

 

I would like to find YTD sales amount my measure is 

Sales YTD  = TOTALYTD(sum(sales[salesamount),'DateTable'[Date])    it's working fine but
 
it was taken Jan to Dec (ie)  if i select December it will return Jan to Dec Cummulative sum
but i need Oct to Sep Cummulative value (in my organization FY Year is Oct to Sep)  , 
if i select Oct means i need only Oct month result (Oct is first Month )   if i select sep means i need 2020Oct to 2021Sep Cummulative result
 
Does anybody know the solution?
 
 
Thanks,
Ranga
1 ACCEPTED SOLUTION

Finally, i found the solution

 

Sales YTD  = TOTALYTD(sum(sales[salesamount),'DateTable'[Date],"09/30")

 

Thanks

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@ranga_88 You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000

Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.

https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

@Greg_Deckler   sorry i could't find my solution

 

this is my calender table 

Capture.PNG

 

i want Cummulative sum October to September any Luck?

Fisical year started at Oct to Sep

Finally, i found the solution

 

Sales YTD  = TOTALYTD(sum(sales[salesamount),'DateTable'[Date],"09/30")

 

Thanks

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors