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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
ajsjoshua
Specialist
Specialist

ERROR

hi,

i am using this expression and i am getting the answer but a error line appears.

PFA

Regards,

Joshua.

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Try,

=Count(Distinct {<[PBI STATUS]={'Completed'},PKE_ID -= {"PKE_ID****"}>}PBI_ID)


Update: Regarding the red error line.

This is a bug but you can see "Expression OK" in the expression window. I guess you are using older version and it's fixed in SR10 (Not sure).

View solution in original post

5 Replies
robert_mika
Master III
Master III

Are you using your Dimension as Criteria?

I assume that may not work.

Could you post sample of this field data?

ajsjoshua
Specialist
Specialist
Author

Hi,

PFA

Regards,

JOSHUA.

ajsjoshua
Specialist
Specialist
Author

Hi,

some PBI's have 2 PKE's and I dont want it counted then.

If PBI's hav 2 PKE's only one should be counted.

tamilarasu
Champion
Champion

Try,

=Count(Distinct {<[PBI STATUS]={'Completed'},PKE_ID -= {"PKE_ID****"}>}PBI_ID)


Update: Regarding the red error line.

This is a bug but you can see "Expression OK" in the expression window. I guess you are using older version and it's fixed in SR10 (Not sure).

MayilVahanan

Hi

Try like this

=Count(DISTINCT {<[PBI STATUS]={'Completed'},PKE_ID =-{"PKE_ID****"}>}PBI_ID)

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.