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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis not equal

Hi all,

this is my formula

=Count( {$<[State]={'Closed'},[Work Item Type]={'Task'}>} [State] )

i want to get all 'Task' not equal to 'Closed' .how to do this in qv

I tried below code but its not working

=Count( {$<State=- {'Closed'},[Work Item Type]={'Task'}>} [State] )

6 Replies
PrashantSangle

=Count( {$<State-= {'Closed'},[Work Item Type]={'Task'}>} [State] )

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

Capture.PNG.png

its getting a error

PrashantSangle

Hi,

It shows your red line but it work fine.

check it.

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable
Author

using -= like that in set analysis does highlight as an error but it is actually correct and should calculate for you

ashwanin
Specialist
Specialist

=Count( {$<State-={'Closed'},[Work Item Type]={'Task'}>} [State] )


Joe is right. this expression will work, even it will reflect the red line.

rajeshvaswani77
Specialist III
Specialist III

Hi,

This will still work in spite of the red line.

thanks,

Rajesh Vaswani