reporting services - Omitting clients from a report based on a summed value -


i working on report sums virtual bank accounts clients , displays them in list total each account right of account. @ end sum accounts specific client. users want ability omit client on report if total sums accounts equal zero. not matter sums of each account when they're summed @ end, if equals 0 omit client report.

this easier on server. i'm assuming using sql server here, make no mention of data in question.

something this...

select *     (         select              clientid, accountid, accountamount             , sum(accountamount) over(partition clientid) balance          clientaccountamounts     ) caa         balance !=0 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -