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: 
Not applicable

calculation distinct

Hi

How to count the number of ranches in which there document.2 ?

Thank you

Labels (1)
13 Replies
Not applicable
Author

HI,sasikanth_Narne

But I added + 1 branch. and now in the table should be "2"Screenshot_3.png

sasikanth
Master
Master

hi

Try this expression

= count(DISTINCT aggr(count( if(document<>'document2', branch)),branch))

removed DISTINCT inside aggr, just try it.

Pls. see attachement

Not applicable
Author

Thank you

Anonymous
Not applicable
Author

count( {<Column name={'Name'}>}Distinct Documnent2)