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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
vkolasani
Contributor III
Contributor III

How do we get the distinct characters in any column of a database?

Hi,

I am looking for unique distribution of characters in any column of a data base.

I am using below expression but it is giving the chrecters in every and is the reason I am getting duplicate charecters.

Advance thanks and any help on this would be appriciated.

Thanks,

Venu

Labels (1)
2 Replies
Qrishna
Master
Master

Expression in the picture are just some random symbols.can you paste the expression?

vkolasani
Contributor III
Contributor III
Author

,if(max(len(purgechar(lower([$(vFieldName)]), '0123456789abcdefghijklmnopqrstuvwxyz.""-_()/\''',))) > 0, CONCAT(DISTINCT TRIM(purgechar(lower(([$(vFieldName)])), '0123456789abcdefghijklmnopqrstuvwxyz.""-_()/\'','))),'') as [_Non AlphaNumeric11]