Skip to main content
Announcements
New: No-code data prep in Qlik Cloud Analytics™ TAKE A TOUR
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

From columns in diffrent tabels to one column in one tabel

Hi!

I have 4 tabels, one main with a columnn X that I want to populate from 3 diffrent tabels depending on if other columns have values in them and the tabels have diffrent priorities.

First i X populated from Hight_Car, Hight matching columt A in main, next vaules from Textures are added and after that Colors and because Colors have higher priorites the row 2 column X changes to MB .

So the main tabel looks like this.


Ex


Main tabel

AColorTextureHightEFX
1BlueLowVolvo
2GrayHardMB
3GreenHighPorsche
4RedSoftMB


Color_Car Prio 1

A

B

BlueVolvo
GrayMB
GreenPorsche

Texture_Car Prio 2

ABC
SoftMB

Hight_Car Prio 3

AB
HighSaab

Is this posible to do in Qlikview?

Regards

Otto

1 Reply
Not applicable
Author

Hi Otto,

two steps to get the result

a) fetch the data into three fields called Prio1, Prio2, Prio3

b) melt these three into one field called X, depending on the values of Prio1 to Prio3

See attached qvw for details.

Roland