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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

COUNT with multiple conditions

Hello,

I have the following expression:

COUNT ({$<[Progress]={'Started','On hold','Completed'} , [Current Phase]={'Plan','Execute','Close'}, [Global]={'On Track'} > } [Project NAME])

The COUNT returns  0 instead of 25.

Actually on my table I have multiple rows with:

- only the value 'Started' for  'Progress'

- only the value  'Execute' for 'Current phase'

I think this is the reason.

Capture.PNG

The first Expression is :

COUNT ({$< [Global]={'On Track'} > } [Project NAME])

Its returning 11.

Thanks in advance for your help.

16 Replies
Anonymous
Not applicable
Author

Maybe your Current Phase is not a text field, u can try this test?

Count({$<[Progress]={'Started','On hold','Completed'} , [Global]={'On Track'} > }[Project NAME])

Anonymous
Not applicable
Author

Yes no problem in Database and data is well loaded in Qlikview

stabben23
Partner - Master
Partner - Master

Ok, then Uncheck "Enable" checkbox and try With only this Expression.

Anonymous
Not applicable
Author

Sem título.jpg

sunny_talwar

I am seeing 5

Capture.PNG

Anonymous
Not applicable
Author

Now It is working.

I deleted Current Phase column in my Excel file, and created it from scratch!

Anonymous
Not applicable
Author

Now It is working.

I deleted Current Phase column in my Excel file, and created it from scratch!