Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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???
ho provato a riattacarlo...prova un po' di nuovo...
You are using a pivottable. The pivot on column "Codie Do..." is represented once. Try using a straight table.
Purtroppo non riesco ancora, fai così comunque:
carica in una tabella piatta i dati e verifica quante ragioni sociali hai, se sono 15 allora il risultato è corretto, altrimenti count(num_doc) dovrebbe funzionare, che risultato i da?
addirittura 59...
I must use a pivot chart though...cannot change it...
Prova così:
Count(Aggr(num_doc, codice_doc))
Fammi sapere ...
niente...no dà alcun risultato...
Devi aggregare (prova altre combinazioni) il conteggio del numero di documenti per la chiave della tabella in cui si trovano ...
My solution to this type of problem is to add a field in the script:
Suppliers:
LOAD
1 as CountSupplier
...
I can then use this in the expression Sum(CountSupplier) and the pivot summation works for all levels.
Regards.
I might think that this expression could it be the solutions
=AGGR(NODISTINCT SUM({[Ragione Sociale Fornitore]}),<[Numero Documento],[Data Documento]>)
but there is an errore as a fact that I'm not getting any result...does anyone know where and which is the mistake??