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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
sfloberg
Partner - Contributor III
Partner - Contributor III

Eliminate values

I have a KPI object but it gives me too many projects. I noticed that there are several projects without any year connected

to it when I put the expression in a straight table. I want to eliminate the project that don't have a year.

How can I write an expression like Count(distinct Projectnumber) and eliminate those without year in a KPI object?

5 Replies
migueldelval
Specialist
Specialist

Hi Stephanie,

Maybe you can check-out "Zero Values" or use Count(Distintc {<Ar={"*"}>}Projeknummer)

Regards

Miguel del Valle

sfloberg
Partner - Contributor III
Partner - Contributor III
Author

I can't check out null values because I have values.

I tried your expression but it didn't give me the correct answer.

migueldelval
Specialist
Specialist

Hi Stephanie,

Could you attach an data example?

I don´t understand you so well,

Regards

Miguel del Valle

sfloberg
Partner - Contributor III
Partner - Contributor III
Author

I get 2 435 in the KPI object when using your expression. I should be getting 4 117.

Year2.png

Anonymous
Not applicable

Can you use calculated dimension something like

if (getpossiblecount(year>0,Project)