Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 28687

Divide two columns based on another column expression ssrs

$
0
0

I am trying to sum two columns and divide them based on values from another column in an expression. No matter how I write it I get an error. I have to do it on the front-end and not the back-end.

Example:

If FieldA > 0

Then

SUM(FieldA) / Sum(FieldB)

else

do nothing

end


Viewing all articles
Browse latest Browse all 28687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>