Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8065

Re: BEx Formula - Check if field is empty/initial

$
0
0

Hi Sebastian.

 

So 0 and blank fields should be treated differently? Is that right?

 

If yes, I think it's not possible since BEx treats blank fields as 0..

 

But, is it ok if the blank fields and 0 should both be treated as blank fields? Coz if yes, we can do an alternative solution..

 

Just add another KF similar to the KF that you are using right now..Let's name then KF_ORIGINAL and KF_NEW (the newly created KF)..

Then in the transformation, just make a field routine in KF_NEW so that when the KF_ORIGINAL is 0, you will enter another value such as 111111 just to make it "unique" to to other values of your KF..

 

Then in BEx Query, just do the IF FORMULA you wanted to do using the KF_NEW..

 

So,

 

(KF_NEW = 111111) * RESULT_IF_TRUE + RESULT_IF_FALSE

 

If ever you need the 0 for your calculation, just use the KF_ORIGINAL for that computation..;-)

 

Are we on the same page?

 

Regards,

Loed


Viewing all articles
Browse latest Browse all 8065

Trending Articles



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