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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If condition not respected

Why my if condition it's not respect for some values.

My condition:

=Count(if(RaiserPlantID = Responsible, REA,))

I've 349 when i only should have 347.

At the moment what is selected:

RaiserPlant = 351E

Why this 2 are showed if raiserPlantID is different from Responsible as you can see in the pic

Untitled.png

1 Solution

Accepted Solutions
its_anandrjs
Champion III
Champion III

Try with


=Count(if(Trim( RaiserPlantID ) = Trim( Responsible ), REA ) )

View solution in original post

3 Replies
its_anandrjs
Champion III
Champion III

Try with


=Count(if(Trim( RaiserPlantID ) = Trim( Responsible ), REA ) )

Not applicable
Author

or try with:

count({<RaiserplantID = {$(=Trim(Only(Responsable)))}>} REA)

best regards.

Not applicable
Author

You save my day, thanks i hope some day i can retribute