Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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
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
];
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.
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
Thanks all for your help...It works.
I have used Num((count({<Remark={"failur*"}>}