Quantcast
Channel: SCN : Discussion List - SAP Business Explorer (SAP BEx)
Viewing all articles
Browse latest Browse all 4032

BEx: cell formula Minimum of non zero and 0 returns 0

$
0
0

Hi

 

Before posting this question, I went through a lot of discussions in the similar topic but I wasn't able to benefit out of them.

 

I use cells in Bex query designer . I have products in my row structure and in column structure, I have a low price and high price for which values come from BW for each product in my row structure. I use a calculated keyfigure as 3'rd column to find Avg price = NODIM( (Low+ High)/2 )


I have a requirement to compare the prices of 2 products such that minimum of the two low rates should be seen as the LOW rate  for the 2 products and the largest of two high rates should be seen as the High rate for the 2 products. For other products the LOw and high rates are the ones coming directly from BW.


For this, I created 3 new columns called Low Rate Full range  = min(low value product 1, low value of product 2) , HIGH Rate full range = (high value of product1 , high value of product 2) and AVG Rate FULL range = (Low Rate Full range + HIGH Rate full range )/2


Out of the 2 products, I see that for one product sometimes the value from BW for low and high prices are 0 . Here High values dont have a problem even hen value from BW is 0 or blank. My new Keyfigure LOW arte Full range shows 0 . I do not want to see 0 but as per the below table it should be 57.


Defining condition on Low Rate > 0 dint seem to work for the minimum . Neither did suppress 0

Untitled.png


Viewing all articles
Browse latest Browse all 4032

Trending Articles



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