Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask 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

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

binuacs
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