Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

sum a column data based on another column data

$
0
0
I am trying to sum a column total bases on an invoiced number column in tsql or ssrs.if I SUM(final) OVER(PARTITION BY InvoiceNmbr) it works fine on all the columns.But once I start to drill down or filter it by office or a user, I only get the total by each user on the invoice and not the cumulative total by the invoice.I want the cumulative total by invoice regardless of which filter I select.any help will be appreciated.

Viewing all articles
Browse latest Browse all 2791

Trending Articles