Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

How to use multiple if condition in a calculated column

$
0
0

Hi Experts,

 

Need you help here. I am trying to build a logic in BW in SAP HANA using a calculated column.

My requirement is such a way that i need to write Nested if condition.

 

if(arg1, result1, elseif( arg2, result2, if(arg3, result3, if(arg4, result4, ''))))

 

Here i have only one else if condition after else if the if condition have to continue but as i am using else if it is ending up giving result2.

But my requirement is in such a way the other if conditions needs to be executed and display the output if the condition matches.

 

Please suggest.

 

BR,

MK


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>