Alteryx Designer Desktop Discussions

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

[Off topic] Good data structure

df
8 - Asteroid

Hello guys,

 

this question is not Alteryx related. Hope its okay :)

 

I have a problem with my data output.

 

It looks like this (only with more columns) - All this Rows just differ in two columns here "Value" and "Value Describer"

KeyValueValueDescriberDimension1Dimension2Dimension3Dimension4
cx_0155aQWERABCDFGFGH
cx_0123bQWERABCDFGFGH
cx_0121cQWERABCDFGFGH
bn_216aASDFTGBRFVIKL
bn_2112bASDFTGBRFVIKL
bn_214cASDFTGBRFVIKL

 

Would it be better to have it like this?:

KeyValue_aValue_bValue_c
cx_01552321
bn_216124

 

What would you say how a good structerd output table should look like?

(PS: The Output is used for Tableau)

1 REPLY 1
CiaranA
10 - Fireball

It depends on what your data is being used for, and what you wish to display in Tableau:

 

You might concatenate Key into one field using columns 1,2,3, but this is only if your dimension data varies.

If it doesn't then delete the dimensions columns and pivot as you say - but only if each key has 3 unique values and describers.

 Capture.PNG

Labels