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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

set analesys with distinc

hi,

i have this formula :

count

count(DISTINCT([profilenum]))

i need to count profilenum just when i have value in feild [stopkod]

how i need to write it ?

count(DISTINCT(<{[stopkod]>0}>[profilenum])) - wrong i think.

thanks'

yarin.

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: count(DISTINCT {<[stopkod]={'*'}>}[profilenum])


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

if stopkod is numeric then try this

Count({$ <stopkod={'>0'}>} distinct profilenum)

israrkhan
Specialist II
Specialist II

Hi,

Try This

Count({<ProfileNum={"Stopkod"}> Distinct ProfileNum })

Hope this help.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: count(DISTINCT {<[stopkod]={'*'}>}[profilenum])


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

thanks'

yarin.