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: 
mkiran_18
Contributor III
Contributor III

Converting Expression value to Dimension in Straight table

Hi All,

This is my expression in straight table:

=Only({<[Product Code] = P({$} [Product Code] )>*State_1<[Product Category]={'Sports'}>} [Product Group]

How to convert the same as dimension instead of expression?

Thanks in Advance.

1 Solution

Accepted Solutions
vishsaggi
Champion III
Champion III

Try this in your calculated dimension:

= Aggr(Only({<[Product Code] = P({$} [Product Code] )>*State_1<[Product Category]={'Sports'}>} [Product Group]),[Product Group])

View solution in original post

2 Replies
vishsaggi
Champion III
Champion III

Try this in your calculated dimension:

= Aggr(Only({<[Product Code] = P({$} [Product Code] )>*State_1<[Product Category]={'Sports'}>} [Product Group]),[Product Group])

mkiran_18
Contributor III
Contributor III
Author

Hi Vishwarath,

Thanks, its working.