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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
mallikarjun_h
Partner - Creator
Partner - Creator

Set analysis expression logically same but giving different results

Hi ,

I have written 2 expression which will count ticket ID.

attaching QVW file for reference.

Can anyone let me know why & how these expressions are giving different results?

Thanks.

1 Solution

Accepted Solutions
sunny_talwar

They are two different sets <>+<> and both needs that same condition in order to become comparable to the second expression.

View solution in original post

4 Replies
sunny_talwar

Because your 1st expression missed a part:

=Count({$<Type={'Accepted Lead'},ProductId={'*'}-{5}>+<Type={'Instructed Lead'},ProductId={'*'}-{5}>}TicketId)


Capture.PNG

mallikarjun_h
Partner - Creator
Partner - Creator
Author

Hi Sunny,

Thanks for the information.

I had written ProductId={'*'}-{5} in 1st expression at the end.

Why it is not considering what I have written after coma in set modifier?

sunny_talwar

They are two different sets <>+<> and both needs that same condition in order to become comparable to the second expression.

mallikarjun_h
Partner - Creator
Partner - Creator
Author

Thanks I got it