The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

Compute in Years with Decimal

KamenRider
ボリード

Hi

 

I have these dates in date data type format wherein I am trying to compute the maturity date in years with decimal like below data. The formula I use was DATETIMEDIFF(Maturity date, Effective date, "years") however, the only problem is that i am getting a whole number as results. Can someone help me how to add decimal points in the maturity column? 

 

matdate.JPG

Hoping to hear from anyone

 

Thanks,

Kamen

2件の返信2
usmanbashir
ボリード

@KamenRider - please see attached workflow - Hope this helps!

 

 

KamenRider
ボリード

Hi @usmanbashir 

 

Nice! Thanks you so much.

 

Kamen

ラベル
トップのソリューション投稿者