|
Hello - I have this for a textbox in a SQL Server Reporting Services report. This is to take the total average
I don't want to divide by 0 because if the value for Q3Rating is -1 then it will be displayed as 0 and I want to exclude those values. It would be -1 if someone choose N/A and I am representing N/A as -1.
(comments are locked)
|
|
So, If you do not want to use values 0 or less, why not just exclude them as your first if does? Explain more about what you are after and you will get a response. You can always set it to 1. This way, you will avoid divide by zero errors and just come out with the original value.
(comments are locked)
|

