Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Count Of Field

Hi All

Need Help with this please.

Count(Distinct({<Field = {[0]}>}%Acct))

i want to Count %Acct but the field is [0]

Thanks Again!

29 Replies
Chanty4u
MVP
MVP

try this


SUM({<[field]=[0]>} %ACT))

Anonymous
Not applicable
Author

Please see the New upload

And check expression, this is what i needed.

sunny_talwar

I still don't understand Count(Distinct(%Acct) for 0 will be equal to Count(Distinct %Acct)

What is the number that you are expecting to see here?

Capture.PNG

Chanty4u
MVP
MVP

chk dis

Anonymous
Not applicable
Author

I want to see how many accounts made up for month 0 and how many made up for month 1

In my data there is different data per month and month goes upto 72...HAHA

sunny_talwar

I have no idea what you are trying to do. Can you show some screenshots of your real data?

Anonymous
Not applicable
Author

How can i make this static so it does not change please

=sum(aggr(count(distinct %OurRef),[0]))

so i guess  i have to add a 1 somewhere?

Thanks

sunny_talwar

For that you can do this:

=Sum({1}Aggr(Count({1}distinct %OurRef),[0]))

Anonymous
Not applicable
Author

Thanks All for the Help

Chanty4u
MVP
MVP

cool.. u got the solution