Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
MikeJones
Creator
Creator

Count not Counting

Hi, I have table in Qlik Sense with a measure count([Qlik_NMTKPI3.Jobid]), Jobid and other dimension variables.

Below is a snapshot of my output.  The count is only showing as 1, when it should be 4.

count([Qlik_NMTKPI3.Jobid]) Jobid
1 136748655
1 136748655
1 136748655
1 136748655

 

 

Labels (4)
2 Solutions

Accepted Solutions
Aditya_Chitale
Specialist
Specialist

I agree with @Or ,

but if you still want to show the count ignoring other columns, try:

Aggr(nodistinct count([Qlik_NMTKPI3.Jobid]), [Qlik_NMTKPI3.Jobid])

Regards,

Aditya

View solution in original post

MikeJones
Creator
Creator
Author

Hi Or and Aditya, thanks for replying to my question.

I have used Aditya's proposal and it works.

View solution in original post

5 Replies
Or
MVP
MVP

"Other dimension variables"? You may want to elaborate...

JandreKillianRIC
Partner Ambassador
Partner Ambassador

Hi @MikeJones 

Also in agreement with @Or . 

What are the other dimensions and variables. If you do a count([Qlik_NMTKPI3.Jobid]) as measure and Jobid as Dimension this should give you 4. 

Regards Jandre

Mark the solution as accepted that solved your problem and if you found it useful, press the like button! Check out my YouTube Channel | Follow me on LinkedIn

Aditya_Chitale
Specialist
Specialist

I agree with @Or ,

but if you still want to show the count ignoring other columns, try:

Aggr(nodistinct count([Qlik_NMTKPI3.Jobid]), [Qlik_NMTKPI3.Jobid])

Regards,

Aditya

MikeJones
Creator
Creator
Author

Hi Or and Aditya, thanks for replying to my question.

I have used Aditya's proposal and it works.

Aditya_Chitale
Specialist
Specialist

If the solution worked for you, kindly mark it as accepted.

Regards,

Aditya