I am having problems trying to do the following. I am trying to incorporate an iif statement inside a caption. This is the current line that is evaluated on the label:
=round(@ Data.rp_TATStatAtBenchmark~ / @ Data.rp_TATStatCount~ * 100) + "%"
and I have changed it to the following to handel the error when @ Data.rp_TATStatCount = 0 and @ Data.rp_TATStatAtBenchmark = 0 as well (for some reason the report shows ??? when the second value is 0 instead of showing just "0%". Anyhow, this is what I'm trying to write:
=IIf((@ Data.rp_TATStatAtBenchmark~ = "0" OR @ Data.rp_TATStatCount~ = "0"),"0%", round(@ Data.rp_TATStatAtBenchmark~ / @ Data.rp_TATStatCount~ * 100) + "%")
but it is not working. Any help would be appreciated. Thank you!