Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help with set analysis

Hi,

I am trying to do something like the following:

COUNT(DISTINCT{$< (amount-pay-prep)={">0"}>} P_ID)

how can i handle with the condition (amount-pay-prep), it shows error and i need to compare the result of these values. I tried to use RANGESUM, ,dont know if it is in the proper pplace or not but also it does not work.


appreciate any help.

Thanks

3 Replies
PrashantSangle

Hi,

Try like

COUNT({<amount-pay-prep={">0"}>}Distinct P_ID)

or Count(if(amount-pay-prep>0,Distinct P_ID))

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 🙂
prajapatiamar38
Creator II
Creator II

Hi,

Try this

=COUNT({< (amount-pay-prep)={">0"} >}DISTINCT P_ID)


Thanks

Kushal_Chawda

try like this

count(DISTINCT {<[amount-pay-prep]={">0"}>}P_ID)