Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
davyqliks
Specialist
Specialist

Linking data from 2 fields in the same table

Hi All,

In my data model i have a table with the following:

davyqliks_0-1648567230443.png

in the load please can someone try to explain how i can make a link so that

wys01 data is related to Upper 1 weight Ratio data

wys02 data is related to Upper 2 weight Ratio data

I will then hope to have all wsy01 - wsy06 loaded as "Fibre" and the Weight Ratios loaded as "Ratio" and achieve a table like below where

davyqliks_1-1648567574367.png

But

Cork Leather                     = 40

Plastic Recycled (PET) = 20

Wool (RWS)                       = 20

Leather Recycled            = 20

I tried like this:

If(Len(wys01) >0, [Upper 1 weight Ratio]) as Ratio

but this is not working as i would hope.

Thank you for any suggestions

 

Daniel

 

Labels (3)
1 Solution

Accepted Solutions
Chanty4u
MVP
MVP

try this

If(Len(wys01) >0, [Upper 1 weight Ratio],[Upper 1 weight Ratio]) as Ratio

View solution in original post

1 Reply
Chanty4u
MVP
MVP

try this

If(Len(wys01) >0, [Upper 1 weight Ratio],[Upper 1 weight Ratio]) as Ratio