Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
PARK_JY
Contributor III
Contributor III

sum if distinct condition

hi,

I wrote below th use sum, if, distinct function in sheet to make a graph.

=if(Month='Dec' and Name='Jay', distinct(sum(Inf))

but, it is not working.

How should i modify the above sentence?

Labels (1)
1 Solution

Accepted Solutions
sidhiq91
Specialist II
Specialist II

@PARK_JY  You could use a set expression like below to get the desired output:

sum({<Month={'Dec'}, Name={'Jay'}>}distinct inf)

Please let me know if this resolved the issue.

View solution in original post

2 Replies
sidhiq91
Specialist II
Specialist II

@PARK_JY  You could use a set expression like below to get the desired output:

sum({<Month={'Dec'}, Name={'Jay'}>}distinct inf)

Please let me know if this resolved the issue.

PARK_JY
Contributor III
Contributor III
Author

Thank you:)!!