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: 
pra_kale
Creator III
Creator III

How to use wildmatch function in set analysis

Hi,

In my data i am having Remark column which contains Failure is written as Failure and failure both ways and basis of that i am giving policy count.

How I can do this in set analysis using wildmatch function.

Thanks in advance.

1 Solution

Accepted Solutions
marcus_sommer

Try it in the way maxgro has suggested:

if(channel = 'Total'),

Num((count({<Remark={"failur?"}>} Total DISTINCT Policynumber) /

count(Total DISTINCT Policynumber) * 100),00.00),

Num((count({<Remark={"failur?"}>} DISTINCT Policynumber) /

count( DISTINCT Policynumber) * 100),00.00))

- Marcus

View solution in original post

4 Replies
maxgro
MVP
MVP

you can use a ? or a *

only({$ <Remark={"failur?"}>} Remark)

replace only with your aggr function

e.g.

load * inline [

Remark

failure

Failure

OK

ok

ko

KO

fail

FAIL

FAILURE

];

1.png

pra_kale
Creator III
Creator III
Author

Thanks Maxgro for your help..

But when i am tried at my end i unable to place this into my expression. Can you please help where i should put into my expression. Below is the my expression

if(channel = 'Total'),Num((count({<Remark={'Failure'}>} Total DISTINCT Policynumber) / count(Total DISTINCT Policynumber) * 100),00.00), Num((count({<Remark={'Failure'}>} DISTINCT Policynumber) / count( DISTINCT Policynumber) * 100),00.00))

Thanks in Advance.

marcus_sommer

Try it in the way maxgro has suggested:

if(channel = 'Total'),

Num((count({<Remark={"failur?"}>} Total DISTINCT Policynumber) /

count(Total DISTINCT Policynumber) * 100),00.00),

Num((count({<Remark={"failur?"}>} DISTINCT Policynumber) /

count( DISTINCT Policynumber) * 100),00.00))

- Marcus

pra_kale
Creator III
Creator III
Author

Thanks all for your help...It works.

I have used Num((count({<Remark={"failur*"}>}