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