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

SSRS Matrix Column Subraction

$
0
0


I am in Desperate need of a solution:

I am looking to Subtract Zdissenrolled Members from Enrolled Members (By month/status).  I am doing a count of members within a program(A,B,C) that have a status(Enrolled/Dissenrolled) associated with it in a given year/month (8/2013).

I can't come up with an expression that gives me the desired result.

I have tried this ... but it sums it

=IIF(Inscope("Dataset1"),SUM(Fields!MemberiD.Value),SUM(IIF(Fields!IntakeStatus.Value="zDisenrolled",Fields!MemberiD.Value,0))
-SUM(IIF(Fields!IntakeStatus.Value="Enrolled",Fields!Profit.Value,0)))


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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