I have a formula that takes out a field from a database under a condition
if {PM Unit Info.VACANT_INDICATOR}<>"V" then
numberVar occupied_sqf :={PM Unit Info.SQUARE_FEET}
else 0
Then I use it in another formula
if {@convert sqf to number}>0 then
Sum ({@ocx qf}, {PM Property Info.PROPERTY_NUMBER})/Sum ({@convert sqf to number}, {PM Property Info.PROPERTY_NUMBER})
*100
but if I have one record of {ocx qf}=0 then the second formula returns 0.00% which is wrong.
I know I can filter out the 0.00 using the select tool but I need to show them in the report.
Please help
if {PM Unit Info.VACANT_INDICATOR}<>"V" then
numberVar occupied_sqf :={PM Unit Info.SQUARE_FEET}
else 0
Then I use it in another formula
if {@convert sqf to number}>0 then
Sum ({@ocx qf}, {PM Property Info.PROPERTY_NUMBER})/Sum ({@convert sqf to number}, {PM Property Info.PROPERTY_NUMBER})
*100
but if I have one record of {ocx qf}=0 then the second formula returns 0.00% which is wrong.
I know I can filter out the 0.00 using the select tool but I need to show them in the report.
Please help