troubleshooting Question

How to get separate totals on an SSRS report based on values in rows?

Avatar of rwheeler23
rwheeler23Flag for United States of America asked on
SSRSMicrosoft Server OSMicrosoft SQL Server
2 Comments1 Solution167 ViewsLast Modified:
I have a SQL 2017 SSRS report that is grouped by state by month. There are two lines per state with the 12 months spread across each line. The first line is total invoice amount and the second line is total sales tax amount. I am now trying to configure the footer to show the total for all states with one being the total for the sales amount and the other being the total for the sales tax amounts. I do have a column called Type where Sales = sales amount and Tax = sales tax amount. I tried creating two groups at the bottom based on Type with filters but both lines keep giving me to total of both. Underneath this report is a SQL query with a union between the sales amounts and the sales tax amounts. How should I structure the totals to present the two separate totals?
ASKER CERTIFIED SOLUTION
Partha Mandayam
Technical Director

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros