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

How would I cut out times under a certain amount?

rmartori
8 - Asteroid

So I have documents that have a total duration in H:MM:SS and I need to remove any rows that are under 10-12 minutes(depending on the course.)

3 REPLIES 3
mceleavey
17 - Castor
17 - Castor

Hi @rmartori ,

 

You need to convert the time into minutes using a simple formula:

 

DateTimeHour([Duration]) * 60 + DateTimeMinutes([Duration])

 

This gives you the amount of time in minutes.

Then you simply filter.

 

mceleavey_0-1605226096852.png

 

 

I've attached the workflow for you.

 

M.



Bulien

mceleavey
17 - Castor
17 - Castor

...oops! It's working now.



Bulien

Qiu
21 - Polaris
21 - Polaris

@rmartori 
Add a Datetime Tool in case the comng data is a string.

1113-rmartori.PNG

Labels
Top Solution Authors