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.

Dynamic Variable Value Assignment

EnglishManBob
5 - Atom

I think this cam be done with Dynamic Replace; however I am unsure of how to do so:

 

I have a table of yearly quarters.  If all of the quarters have values I would like the full calendar to have a value (calculated elsewhere).  If any of the quarters associated with that calendar year are NULL I would like the calendar year cell to be NULL.  The intended output should create ongoing values over time.

 

That is if the full quarterly data for 2021, 2022, 2023...  etc. is not available (in other words NULL) CY2021, CY2022, CY2023 should be NULL.  If data from all quarters for 2021, 2022, 2023 are available the values for CY2021, CY2022, CY2023 should be available.

 

Example 2021 (partial data available)

 

2021 Q12021 Q22021 Q32021 Q42021 CY
57NULLNULLNULL

 

Example 2021 (partial data available)

 

2021 Q12021 Q22021 Q32021 Q42021 CY
571NULLNULL

 

Example 2022 (full data available)

 

2021 Q12021 Q22021 Q32021 Q42021 CY
571316
1 REPLY 1
Qiu
21 - Polaris
21 - Polaris

@EnglishManBob 
I feel i am a bit over doing it. just want to be dynamic.
And I have hard time of picturing your input data format.

0315-EnglishManBob.PNG

Labels
Top Solution Authors