Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi team,
Can any one help me to convert below sql query to qlik
case(case when id='bose' then coalesce(incident id, id) else id end) when 'AD' then 'Application Desktop'
when 'NEW' then 'SCOPE' else Id end) as condition
And also please any one tell what lag function do in sql
And what is the similar function in qlik.
Thanks in advance,
Thanks,
Chinnu.
May be this:
If(
If(id = 'bose', If(Len(Trim([incident id])) = 0, id, [incident id]), id) = 'AD', 'Application Desktop',
If(
If(id = 'bose', If(Len(Trim([incident id])) = 0, id, [incident id]), id) = 'NEW', 'SCOPE', id))) as condition
Why don'tt you use SQL in Qlik load script?
BTW. equivalent of COALESCENCE in Qlik is ALT() function - but only for numeric.
Tomasz
Lag function returns values from a previous row in the table. Equivalent in Qlikview is Above() function.
May be this:
If(
If(id = 'bose', If(Len(Trim([incident id])) = 0, id, [incident id]), id) = 'AD', 'Application Desktop',
If(
If(id = 'bose', If(Len(Trim([incident id])) = 0, id, [incident id]), id) = 'NEW', 'SCOPE', id))) as condition
Hi Sunny,
Thanks for your time on this, It's working fine
Thanks,
Chinnu.