Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
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.