Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

counting problem

Hi! i'm working on this project and i want to crate an object that shows me only the number of 'controllo' that have 'Numero Domanda'= 1. i try to do this with a pivot table where in the expression i inserted the following condition "count(distinct(Domanda))" it works, but i want to see the number of controllo that have 'numero domanda' =1 .How i can solve this problem??5.bmp

3 Replies
MK_QSL
MVP
MVP

COUNT(Aggr(COUNT({<Numero_Domande = {1}>}Distinct CONTROLLO),CONTROLLO))

or

Simply

COUNT({<Numero_Domande = {1}>}Distinct CONTROLLO)

sicilianif
Creator II
Creator II

Use set analysis. Something like this

count({<Numero_Domande={'1'}>} distinct Domanda)

maxgro
MVP
MVP

maybe with a calculated dimension

=if(aggr(sum(domande),controllo)>1,null(),controllo)

and check Suppress when value is null