Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Alternate state in set analysis

Hi,

I am facing a problem ...

I have 2 dimensions dimension 1.@_customer_Name  2.@_Item_Name  measure is #_netsales

I have created 2 alternate state groups 1.Group1  2. Group2  considering the @_Item_Name dimensions.

I want to display a straight table where I want to display "the customer wise #_netsales who didn't purchase any items from the @_item_Name listbox which is of  Alternate state - Group2"?

Can anyone please help me?

1 Solution

Accepted Solutions
Gysbert_Wassenaar

My guess would be sum({<@_item_Name=e({Group2}@_item_Name)>} #_netsales)


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
Not applicable
Author

Dimention : Customer

Expession : =Sum({Group2<@_item_Name=Null()>}#_netSales)

Gysbert_Wassenaar

My guess would be sum({<@_item_Name=e({Group2}@_item_Name)>} #_netsales)


talk is cheap, supply exceeds demand
Not applicable
Author

no.It's giving syntax error.

Not applicable
Author

Can u provide some sample data ...

Not applicable
Author

Thanks a lot for your help.Working as expected.