Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

URGENT HELP NEEDED! COUNT FUNCTION

Count.jpg

Hi Everyone,

I have got the above Chart, all i want to do is to Count how many time IBT & Sales are Zero.

i above example we have this situation 6 times so it should return 6.

Any Help will be appreciated.

6 Replies
Anonymous
Not applicable
Author

Sorry I forgot to add PLEASE.

joshabbott
Creator III
Creator III

What formula is in the expression now?  Do you want 6 displayed for all rows?  If so, it would be something like:

=count({<IBT={0}, Sales={0}>} <TOTAL> [unique field to count])

ecolomer
Master II
Master II

This simple expresion  ....

=Sum(if(IBT=0 and Sales=0, 1, 0))

try it

Saludos,

Enrique Colomer

Anonymous
Not applicable
Author

Thanks Josh for your Help, I used your formula in the expression but its not changing according to the selection

I have used count ({<[IBT]= {0},  [SALES]={0}>} [DWH_SKU_REF_NO]). What I actually want to achieve is Among the total number of Branches which is 18 how many branches have the stock and sales which in this case will be 18-6=12

and I want to have this thing in another chart which is next TAB.

it was looking easy but looks like its getting more difficult.

If you can please help me on this I will be very thankful to you.

vardhancse
Specialist III
Specialist III

create problem expression:

we can use column(1), column(2) conditions

Anonymous
Not applicable
Author

Thanks Sasi is there way you can write any example by seeing the above CHART, Please.