Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Need to calculate YTD Sales and Prior YTD Sales

dcsramya
7 - Meteor

I need to calculate YTD sales and Prior YTD sales 

1 REPLY 1
ScottLewis
11 - Bolide

Grouped by Account And/Or Hanlder? Also is Prior YTD the YTD before this transaction or the Prior Year's YTD to the same point?


Generally, I would split month/year (using formula or parse), then sort on both, then use multi row formulas to calculate YTD and QTD. The priors depend on the definition of prior, a second multi row formula if it's the value before current or calculate the prior year and the join with itself if it is the Prior Year YTD.

Labels
Top Solution Authors