Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
D19PAL
Creator II
Creator II

Create a new dimension with lesser fields.

Hi,

Real easy one that I forgot how to do.

 

I got a dimension with values

A,

B,

C,

D

As dim1

And that's how it shows in a table.

 

I want to create dim2 and drop in table and only show

 

A,

 

B

 

Thanks

 

 

 

 

1 Reply
rubenmarin

Hi, you can crete an additionalfield on script with just those values, in the same table where dim1 is loaded you can add:

If(Match(Dim1Field,'Value1','Value2',...), Dim1Field) as Dim2Field

If you want selctions in only the Dim1field you can use a calulated dimension like: Aggr(If(Match(Dim1Field,'Value1','Value2',...), Dim1Field), Dim1Field)