Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Distinct Project ID

Hello all,

I can't seem to get this query to work properly.

Here is what I want to do:

Exclude certain project status

Count Distinct Project IDs within the Project Details Table

count(
{<
[Project Status]-={'Project AWARDED', 'COMPLETED', 'Project CANCELLED', 'ON HOLD'}
>}
DISTINCT
[Project Details.Project ID]

As always any help is greatly appreciated.

Regards,

Myles

1 Solution

Accepted Solutions
its_anandrjs

Hi,

Your expression is correct if you want to exclude all this 'Project AWARDED', 'COMPLETED', 'Project CANCELLED', 'ON HOLD' status

count( DISTINCT
{<
[Project Status]-={'Project AWARDED', 'COMPLETED', 'Project CANCELLED', 'ON HOLD'}
>}

[Project Details.Project ID] )

Regards

Anand

View solution in original post

3 Replies
its_anandrjs

Hi,

Your expression is correct if you want to exclude all this 'Project AWARDED', 'COMPLETED', 'Project CANCELLED', 'ON HOLD' status

count( DISTINCT
{<
[Project Status]-={'Project AWARDED', 'COMPLETED', 'Project CANCELLED', 'ON HOLD'}
>}

[Project Details.Project ID] )

Regards

Anand

Not applicable
Author

Hi Anand,

This worked great! Thank you!

Regards,

Myles

its_anandrjs

Thanks it works for you please close the thread by appropriate answer.

Regards

Anand