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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
claudio__lamonaca
Contributor
Contributor

sum e aggr

Salve a tutti,

Ho una tab. con in  dimensione un numero di negozi  e le causali dei movimenti bancari (versamento prelevamento accredisto stipendio ecc)

 

Dovrei aggregare i dati per codice operazione e per le operazioni maggiori di 100€ , per essere più chiaro per ogni negozio in un dato lasso temporale vorrei il numero di operazioni effettuate maggiori di 100€

 

la mia idea non funzionante è:

aggr(Count(DISTINCT IF(PARTITARIO.DATA_OPERAZIONE >= v_min_datasel and PARTITARIO.DATA_OPERAZIONE <= v_max_datasel and PARTITARIO.IMPORTO>100),PARTITARIO.NR_OPERAZIONE)

Labels (1)
1 Reply
Anil_Babu_Samineni
MVP
MVP

Perhaps this

Count ({<PARTITARIO.DATA_OPERAZIONE={">=$(=v_min_datasel)<=$(=v_max_datasel)"}>*< PARTITARIO.IMPORTO={'>100'}, PARTITARIO.NR_OPERAZIONE={"=Count(PARTITARIO.NR_OPERAZIONE)>100"}>} DISTINCT PARTITARIO.NR_OPERAZIONE)

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