In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Count number of days

raj8257
7 - Meteor

I'm trying to count the number of days from the start of the range to a particular date. So for example I want to count the number of days from 01/01/2024 to 31/03/2024 (i.e. 91)

 

 

 

4 REPLIES 4
cpet13
11 - Bolide

@raj8257 check out this discussion, I think it will get you what you want. Solved: Identifying Number of Days in a Given Period for E... - Alteryx Community

binu_acs
21 - Polaris

@raj8257 Convert the date into ISO format (yyyy-mm-dd) then apply the DateTimeDiff() function

image.png

raj8257
7 - Meteor

This creates another row in the dataset. I don't want to create another row in the dataset. I simply need to count the number of days from the date in the "From" column to the an arbitrary input date which is then shown in the next column. 

binu_acs
21 - Polaris

what is your expected output? are you saying you will have only one row of records? I provided you a sample workflow, you can make use of that in your workflow

Labels
Top Solution Authors