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

Number Formatting on Key Figure

$
0
0

Hi,

 

I have a webi report and i have calculated invoice price on it coming via BEX query (source)

I need 2 decimal places on the invoice price which i get using Format Number option by right clicking on the invoiced price column but if the price is 0 then i want to show blank cell...

I used a simple "if then else" condition to do that i.e =If[Invoiced Price] = 0 Then " " Else[Invoiced Price]  but when i use this logic my format numbers for 2 decimal places disappears, in other words the format number option gives me  invoiced price as 1.00 but after applying above "if then else" condition it goes back to 1.

 

i need to write a logic in which i can replace 0 with blank cell and at the same time all the prices become 2 decimal places (using one variable or one syntax)

 

Can someone please advise how to write that syntax in one variable so i can achieve both requirements in one variable.

 

Thanks

Ron


Viewing all articles
Browse latest Browse all 9129

Trending Articles



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