You may also face similar issue while upgrading OBIEE to a newer version or if you upgrade some of your dashboards from OBIEE 10.1.3.4 to 220.127.116.11. The issue is that, some of the calculations under certain columns in the reports were showing zeros instead of the calculated values. The requirement was to calculate a match rate % for some data based on another field that showed 'MATCH' or 'NO MATCH'.
The real-time scenario was
(SUM(CASE Table1.Column1 WHEN 'MATCH' THEN 1 ELSE 0 END)/COUNT(Table1.Column1))*100
However, this was returning 0% as the result. With the help of some blogs and questions raised on OBIEE threads I came to know that this happens when you have an integer in a calculation. The solution which I used is very simple and was successful in achieving the requirement. The very easy fix to this issue is to multiply the calculation by 1.0. The updated calculation which works is shown below and provides a meaningful result.
(don't use 1, as this will not work. Use 1.0)