I have simple report with simple linkage and not much of the data in the db. I noticed that my report running extremely slow. I start to nail the problem down by cutting off amount of formulas in the report. I have 13 formulas and logic in it identical except for the field name. Logic is:
if {tab1.field} = [ "Compliance","Non-Compliance","Not Applicable","Part. Compliance"] then 1 else 0
So basically I collect 1 and 0 and total them in 14th formula like:
({@Check 1} +{@Check 2}+{@Check 3}+{@Check 4}+{@Check 5}+{@Check 6}
+{@Check 7}+{@Check 8}+{@Check 9}+{@Check 10}+{@Check 11}+{@Check 12}+{@Check 13}) /13 * 100
if I take any two formulas out of equation then report runs fast. Adding any of them back and report slows down dramatically.
I can’t find anything wrong with the report.
Any suggestions?
if {tab1.field} = [ "Compliance","Non-Compliance","Not Applicable","Part. Compliance"] then 1 else 0
So basically I collect 1 and 0 and total them in 14th formula like:
({@Check 1} +{@Check 2}+{@Check 3}+{@Check 4}+{@Check 5}+{@Check 6}
+{@Check 7}+{@Check 8}+{@Check 9}+{@Check 10}+{@Check 11}+{@Check 12}+{@Check 13}) /13 * 100
if I take any two formulas out of equation then report runs fast. Adding any of them back and report slows down dramatically.
I can’t find anything wrong with the report.
Any suggestions?