Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
devarasu07
Master II
Master II

report logic

Hi All,

Need to write below logic in expression, if you have any idea please advise me. thanks

a) if the article exists only in Warehouse then need to exclude from report

b) if the articles exists in both Retail and Warehouse then need to show the article and soh amount to be summed

Output.jpg

Regards,

Deva

1 Solution

Accepted Solutions
trdandamudi
Master II
Master II

May be as below: Hope this helps....

AND_Condition_In_SetAnalysis.qvw.jpg

Expression:

=Sum({<[ArticleNo] = p({<[Category] = {'WAREHOUSE'}>}) * p({<[Category] = {'RETAIL'}>}) > + <[ArticleNo]= p({<[Category] = {'RETAIL'}>})>} stock)

View solution in original post

1 Reply
trdandamudi
Master II
Master II

May be as below: Hope this helps....

AND_Condition_In_SetAnalysis.qvw.jpg

Expression:

=Sum({<[ArticleNo] = p({<[Category] = {'WAREHOUSE'}>}) * p({<[Category] = {'RETAIL'}>}) > + <[ArticleNo]= p({<[Category] = {'RETAIL'}>})>} stock)