Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Month Year Column Names Losing Order

asmith314
8 - Asteroid

Hello Everyone,

 

Hoping someone could assist

 

I have a couple of data streams where I am pulling in counts/sums of values by dates, formatting the dates, then making  those date formats headers.

 

Workflow zip file attached with YXDB sample data sets

 

Basically the data looks like this

 

asmith314_0-1678482702652.png

 

Everything appears to be fine UNTIL I union the values

 

asmith314_1-1678482767802.png

Am I going about this the wrong way? Can I make this way work or should I got a different direction to accomplish the same goal

 

NOTES:

On my original workflow, the user will input a begin date and end date so for example: it could just be for Jun_22 to Aug_22 or Jul_23 to Sep_25 and may not include the entire year or one single year for that matter. Hope that helps clarify.

 

Thanks

 

 

 

 

 

4 REPLIES 4
asmith314
8 - Asteroid

I'm sure most probably know this but just in case, if you change the file extension to .zip instead of .yxzp it will allow you to extract it with Windows.

 

 

Luke_C
17 - Castor
17 - Castor

Hi @asmith314 

 

Might be a quirk of the union, but I swapped the #1 and #2 connections and it seems to work?

Luke_C_0-1678485027167.png

 

dsandmann
8 - Asteroid

@Luke_C - yes, I believe within the order of operations on the unions, it always takes the original schema from the #1 connection.

asmith314
8 - Asteroid

Wow crazy how simple that was, I tested this against multiple date ranges in my original data set and the connection order was the issue.

 

Thanks

 

Labels
Top Solution Authors