Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

Dimension

Hi All,

Could some one help me this Query

Is it possible to use Expression in Dimension (one interviewer asked this Question)

Thanks in Advance

Niranjan

3 Replies
Sokkorn
Master
Master

Hi Miranjan,

Yes it possible. Example

=If(Field=value,'A','B')

=Aggr(Only( {$<Product = {'AB*','BB*'}>} Seller ),Product)

Regards,

Sokkorn

Anonymous
Not applicable

Yes,

you can use aggr function to expression and it can be used as dimension.

suppose you want to use sum(sales) as  dimension and have country as dimension previously.

then new calculated dimension will be,

aggr(sum(sales),country) .

Regards

Nitin

NavinReddy
Creator II
Creator II
Author

Thank you to all