We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Need to build check basis quarter

SamSurya
8 - Asteroid

I have the below data for which I need to check Flag for 1 if have received data for complete Quarter else 0. for eg. in the below mentioned table, I have received data till May which is Q2 and I'm still expecting data for 1 month in Q2 so my flag will be 1 for Q1 only and in July when i get Jun data complete Q2 will be flagged as 1. Please help

 

Status  May

FlagMonthMonth_NoQtr
1Jan1Q1
1Feb2Q1
1Mar3Q1
0Apr4Q2
0May5Q2
0Jun6Q2
0Jul7Q3
0Aug8Q3
0Sep9Q3
0Oct10Q4
0Nov11Q4
0Dec12Q4

 

 

Status in Jun

FlagMonthMonth_NoQtr
1Jan1Q1
1Feb2Q1
1Mar3Q1
1Apr4Q2
1May5Q2
1Jun6Q2
0Jul7Q3
0Aug8Q3
0Sep9Q3
0Oct10Q4
0Nov11Q4
0Dec12Q4

 

4 REPLIES 4
Thableaus
17 - Castor
17 - Castor

Hi @SamSurya 

 

How do you know you have received data from a specific month? Is this based on current date? Like, by July 1st, will you have received data from June already?

 

Cheers,

SamSurya
8 - Asteroid

yes, I have a field which has current feed date. so in my case its 05/31/2020 so have recievd data till may

Thableaus
17 - Castor
17 - Castor

@SamSurya 


Would something like this work?

 

Thableaus_0-1592580915983.png

 

Cheers,

SamSurya
8 - Asteroid

wonderful!!!.. this works for me... 

 

cheers,

Sam

Labels
Top Solution Authors