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

Filter for current month automatically

limats
7 - Meteor

Hi,

 

I am trying to filter data from an excel file for a certain month. I currently filter for the string data in a column with YYYYMM format manually using the filter tool. 

 

Is there a way for when I run the workflow to automatically pick up say the current month's data? E.g If I ran this in March 2021, I would only see data for 202103?

 

YearMonthDate
2021011/29/2021
2021011/29/2021
2021022/26/2021
2021022/26/2021
2021011/29/2021
2021011/29/2021
2021011/29/2021
2021011/29/2021
2021022/26/2021
2021022/26/2021
2021022/26/2021
2021022/26/2021
2021011/22/2021
2021011/22/2021
2021022/10/2021
2021011/29/2021
2021011/29/2021
2021011/29/2021
2021011/29/2021
2021022/26/2021
2021022/10/2021
2021022/26/2021
2021033/18/2021
3 REPLIES 3
mst3k
11 - Bolide

use this formula in your filter, assuming yearmonth is a string

 

yearmonth=datetimeformat(datetimenow(),'%Y%m')

 

if it's not a string, you can use tostring or tonumber functions

 

limats
7 - Meteor

Thank you for the super fast response. 

LVLEGUIZAMONH
8 - Asteroid

Hola, podrias ayudarme porfavor!

 

LVLEGUIZAMONH_0-1651252482288.png

 

Necesito que Alteryx, automaticamente reconozca el mes actual y sume los valores del mes actual.

Labels
Top Solution Authors