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

Dates between two dates within one month

MKM
7 - Meteor

Hi all, 

 

Couldn't find this answer but seems doable

 

I want to count the amount of days within one month between two dates. For example, if the start date is 8/1/2017 and the end date is 10/31/2017,  I want to return 31 because there are 31 days in August and when I run it again in September, I'd want it to return 30.

 

I tried using DATETIMEDIFF but that didn't include the part of days within a certain month. Is that doable?

 

Thanks!

10 REPLIES 10
rohanonline
10 - Fireball

Hi @syatham1

You can use the tool - "Generate Rows" to do what you are aiming for. You don't need to create a macro for this.

Labels
Top Solution Authors