Hi,
I want to create a date filter for my Alteryx Practice.
I have a row named AsOfDate which contains a random date (filled by me of year 2023) in yyyymmdd in string format
my question is
Condition1: if AsOfDate column's field is blank then i want Alteryx to select the date itself and fetch data from current date quarter wise- for example:
if blank the convert year to today's year
convert month to "1" if month is between 1-3 (Q3)
convert month to "4" if month is between 4-6 (Q4)
convert month to "7" if month is between 7-9 (Q1)
convert month to "10" if month is between 10-12 (Q2)
and convert day to always "01" of above converted month.
Condition 2: if AsOfDate date is not blank then:
calculate AsofYear, AsofMonth and AsofDay from AsOfDate column fields and convert/parse it into Date in YYYMMDD format.
Please guide me on this, i know its a long question but I have tried my best to explain it. Even slight help would really help me a lot.
thanks
RB