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

Set Analysis

Hi,

What is the best Set Analysis script to do a Count of Sum(Value)=0?

Rgards,

FLC

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Try below

=Count({<Value={'0'}>}ID)

Regards

ASHFAQ

View solution in original post

6 Replies
ashfaq_haseeb
Champion III
Champion III

Try below

=Count({<Value={'0'}>}ID)

Regards

ASHFAQ

Not applicable
Author

Try this

Count({<Value={'0'}>} Fieldname)

Gysbert_Wassenaar

Perhaps this: count({<ID={'=sum(Value)=0'}>} distinct ID)


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

Thanks, I already tryed that but is not working for what I need.

Let me explain better:

Fields

StoreID ProductID Qt_Sold RowCounter [=1]

How Can I count the number of products per Stores with Sum(RowCounter)=0?

Regards,

FLC

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you come up with sample data and expected o/p.

will RowCounter store 0 for not sold or what is the logic behind it?


Regards

ASHFAQ

its_anandrjs

What expression you use please provide that one.

Regards

Anand