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

dimension if statement

Hi,

I am trying to create a straight table using one dimension to show to total count. This dimension has two types of values 'Auto' and 'Manual'.

How and where can I limit this table to show me the total count of the 'Auto' value only?

Or if I should be using a straight table for one dimension what should I use for the above.

12 Replies
trdandamudi
Master II
Master II

I created a sample for you and please see the attached. Hope this helps...

Only_Type._Equal_To_Autojpg.jpg

Not applicable
Author

thanks for the reply.

I that the exact syntax required? I tried it (using my own var names) and didn't work as there was an error in the expression box. Also, is it not the textcount function rather than the count function required for the value = 'Auto'?

Anil_Babu_Samineni

T P

Would you share the Expression you have tried ver there

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

So I am trying to give a simple count of how many times the Matched column as the value 'Auto' only. I don't want to include 'Manual' at all in the result (seen in yellow and it doesn't have to be aligned like the way I made it in excel)

What's the best sheet object to use?

Not applicable
Author

this is what I have tried which Is wrong.

count({<matched={'Auto'}>})

Anil_Babu_Samineni

You may try this

Count({<matched = {'Auto'}>}matched)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
varshavig12
Specialist
Specialist

May be like this,

count({<matched={'Auto'}>}matched)

Not applicable
Author

In expresion try the below.

Count ({<matched={'Auto'}>}matched)

susovan
Partner - Specialist
Partner - Specialist

You can also try this attachment,

44.JPG

Warm Regards,
Susovan