Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count

I have done this kind of statistics several time, but this time I don't understand what I'm doing wrong. I would like to count the number of suppliers so I'm using the formula =count([Ragione Sociale Fornitore]) that I've always used. The point is that in case the supplier is repeated, it is counted only once, while I want to be counted twice.

What I'm doing wrong???

22 Replies
mdmukramali
Specialist III
Specialist III

Dear,

can you attach the sample apps.

anandathome
Creator
Creator

You will have to remove Column2 and Column3 from your dimensions.

Then you will get the correct count.

"Numero .." and "Data ..." dimension fields are showing the details.

To make count aggregate to first field, remove the other two fields from dimension list.

gandalfgray
Specialist II
Specialist II

Hi Irene

If you are interest in the number of suppliers, I think you have got the correct result: 15.

18 is not the number of suppliers, as you can see some are duplicated.

18 may be the number of [Numero doc...], so try a count([Numero doc...])

MK_QSL
MVP
MVP

Provide sample data file....

Not applicable
Author

I've already tried the Count(num_doc) still not working...

Not applicable
Author

The chart is already opened and filtered

er_mohit
Master II
Master II

have you tried like this

aggr(nodistinct count([Ragione Sociale Fornitore]),yourdimension field)

Not applicable
Author

I've provided data sample in the answer to @Mohammed Mukram Ali

alexandros17
Partner - Champion III
Partner - Champion III

Mi spiace ma non riesco ad aprire il tuo documento ...