Alteryx Designer Desktop Discussions

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

Corresponding Month Value to column

Neffri
8 - Asteroid

Hi all,

 

Corresponding Date points to a month from As of Date, from which I would take the Denominator (As of Date= Corresponding Date) and put it in the column Corresponding Denominator.

Example here:

Neffri_1-1600979416999.png

I wrote calculation to find correct Corresponding Date but i have problem with assigning the correct value to Corresponding Denominator.

Below sample what I would like to get:

table.PNG
Is it possible to do?

I will be grateful for your help.

 

 

 

15 REPLIES 15
atcodedog05
22 - Nova
22 - Nova

Hi @Neffri ,

 

Just want to clarify

 

Corresponding Denominator = As of Date- Corresponding Date

 

Is this the calculation. Your numbers are not matching the calculation.

 

Can you explain how you are getting 14 for first row so that we can help you further

Neffri
8 - Asteroid

Blue row has As of date = '8/31/2020' and Corresponding date = '6/30/2020' that mean I should take the value for Corresponding Denominator from row, where As of date = '6/30/2020'. All the rest columns needs to match the following (department ='A'; Tech Asset Abbreviation = 'Apps'; Tech Asset Prioritization = 'New to Production'; Metric Segment L1 = 'Complete'.

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi @atcodedog05 ,

 

I think it would be a join to itself using Corresponding date = As of date and all other fields matching.

 

Cheers,

 

Jean-Baptiste

atcodedog05
22 - Nova
22 - Nova

Hi @Neffri ,

 

After your explanation

Now i have clear understanding here is a workflow

atcodedog05_0-1601036994950.png

atcodedog05_1-1601037040964.png

Hope this helps : ) Please check and let me know

 

If this helps please mark my post as solution.

atcodedog05
22 - Nova
22 - Nova

Yup thats right @Jean-Balteryx  : )

Neffri
8 - Asteroid

I've tried this self join before and it doesn't work.

I should receive the same number for denominator when i filter by as of date ='6/30/2020' and corresponding denominator when I filter by as of date '8/31/2020'.  

atcodedog05
22 - Nova
22 - Nova

Hi @Neffri ,

 

I checked the workflow again. And i seem to be getting the correct output.

 

Can you check again. Here is the troubleshooting.

atcodedog05_0-1601039317247.png

Outputs

atcodedog05_1-1601039386960.pngatcodedog05_2-1601039419571.png

 

 

Please check and let me know. Please provide the the error output scenario.

Neffri
8 - Asteroid

Thank you for helping me

Please check the error scenario.

I'm wondering if it's possible to create such column...

atcodedog05
22 - Nova
22 - Nova

Hi @Neffri ,

 

The output is correct.

 

If you see below there are few records which has Corresponding date as "2020-06-30" and not "2020-08-31"

atcodedog05_0-1601049850377.png

atcodedog05_1-1601049870239.png

Hence you will not get it in row count of As IF "2020-08-31"

 

Hope this clarifies things

If not please let me know. Happy to help : )

Labels