Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sanpor1zd
Contributor II
Contributor II

Multiple conditions in set analysis for dimension

Hello,

i'm trying to display a table providing information about shoes based on some conditions. 

i tried using set analysis for my table based on the country, the type of shoes and the price but to no avail. 

for example:

Aggr(Only({<Country= 'South America', TypeOfShoe = 'Sports Shoe', Brand = 'Nike', Price < 130,>} ShoeID), ShoeID)

table.JPG

the results was shown as above. 

Please let me know what went wrong 

thank you so much

 

 

Labels (1)
1 Solution

Accepted Solutions
nikitadeshwal
Partner - Contributor III
Partner - Contributor III

Hi,

You can simply use below expression,

sum({<Country= {'India'}, Type = {'Sport'}, Brand = {'Nike'},Price ={ ">500"}>} Price)

testqlik.png

I hope this helped you...

Regards,

Nikita Deshwal

View solution in original post

1 Reply
nikitadeshwal
Partner - Contributor III
Partner - Contributor III

Hi,

You can simply use below expression,

sum({<Country= {'India'}, Type = {'Sport'}, Brand = {'Nike'},Price ={ ">500"}>} Price)

testqlik.png

I hope this helped you...

Regards,

Nikita Deshwal