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.
SOLVED

Spend Allocation over # of Years based on Start Date

bebrown
5 - Atom

Hello -

 

I'm trying to allocate spend based on the start date, number of months and how much spend hits each year. To make matters worse I'd ideally like to use my fiscal calendar. Columns Est Fiscal Spend by Year is what I'm looking to create as calculated fields. Is there a formula I can make in Alteryx to quickly calculate this for me like there is in Excel cause I'm stuck at the moment. 

 

 

Screenshot 2024-09-27 143501.png

2 REPLIES 2
AlteryxTrev
10 - Fireball

You can probably make it work with a variation of this formula: DateTimeDiff(dt1,dt2,u)

 

dt1 and dt2 are the start and end dates such as the last day of a given year and your effective date.

u is the unit type that you are trying to count between these days. For this instance, you would likely want to use "days" in this spot.

 

Good luck!

OTrieger
14 - Magnetar

@bebrown 
Replicating Excel formulas might be very challenging thing. Some of the excel formulas have a very complex calculations running in the background and to be able to replicate it you will know what is the exact calculation., and some are very simple, such as average, sum which are more trivial.

Alteryx tried to find solution to it with Summarize Tool you have there some special formulas however you do not have all the formulas that you have in excel.

So as long as you know how to calculate what you want then you can create it with formula tool.

Labels
Top Solution Authors