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

Count something but only for one particular field

Hi there,

I need some code:

I'm counting all the rows, in my QV it's the column "dossiernummer" and from that column

I only want to select/get particular one (called "Almere").

Can you help me how to get specific data from a column?

I don't want to use a select box, should be a set chart for that particular "almere".

hope to hear you, thanks in advance,

Tim Visser

1 Solution

Accepted Solutions
tresesco
MVP
MVP

May be like:

=Count({<dossiernummer={'Almere'}>} dossiernummer)

Note: 'Almere' and 'almere' are not same; you have to mention right one.

View solution in original post

3 Replies
tresesco
MVP
MVP

May be like:

=Count({<dossiernummer={'Almere'}>} dossiernummer)

Note: 'Almere' and 'almere' are not same; you have to mention right one.

israrkhan
Specialist II
Specialist II

what do you want count, sum, avg or ???

let say dossiernummer is a field name in a table and Almere is value in the field.

use =sum({<dossiernummer={'Almere'}>} Value)

=count({<dossiernummer={'Almere'}>} Value)

Not applicable
Author

Hi,

it seems that you want to use set Analysis. See a document I wrote on the subject :

http://community.qlik.com/docs/DOC-4951

Certainly, your expression would be:

sum({<dossiernumber ={"Almere"} >} YourData)

Take care that QV is case sensitive.

Fabrice