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

Request assistance with a grouping issue

$
0
0

This is really simple problem but I can't seem to solve it. I have records of invoices. I need to group the invoices by date and customer and sum the invoice amounts BUT I still need to see the individual invoices. Here is my sample data

InvoiceDate,CustName,InvoiceAmount
20131119,Barneys,21,000
20131120,Barneys,23,000
20131121,Barneys,25,000
20131119,Tom Ford, 45,000
20131120,Tom Ford, 38,000
20131121,Tom Ford, 25,000

This is what I'm trying to get to:

InvoiceDate,CustName,InvoiceAmount
20131119,Barneys,21,000
20131120,Barneys,23,000
20131121,Barneys,25,000
Total,69,000

InvoiceDate,CustName,InvoiceAmount
20131119,Tom Ford, 45,000
20131120,Tom Ford, 38,000
20131121,Tom Ford, 25,000
Total, 108,000

Any assistance would be appreciated.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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