Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
MVP

RE:Nested If to Case

Hi all,

I  hve small issue on  if and case condition.

How can i chnge this  Nested If  condition to  Case . 

If(TYPE='A', 'A',

If(TYPE='B/C',

  If(SOURCE='D',

'D','B'), TYPE)) AS PLATFORM,

Thanks in advance 

1 Solution

Accepted Solutions
Gysbert_Wassenaar

You can't afaik. The switch-case flow control structure doesn't work in load statements.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar

You can't afaik. The switch-case flow control structure doesn't work in load statements.


talk is cheap, supply exceeds demand
Chanty4u
MVP
MVP
Author

yeah...but

we are trying to implement the above code in case expression in select statement.

how can i do this ?