I am trying to set up a rollup for SSRS and am running into a bit of a problem. I have two hierarchies that I would like to display, but I can only figure out how to display 1.
Hierarchy 1
Division
Region
Territory
Hierarchy 2
Sum for all products
ProductA/ProductB/ProductC
Right now I have a report that lets me start with everything rolled up to Division and when I click on it it goes down to Region, etc just fine. The issue is that I want to be able to have another level of drilling down on the product hierarchy at every level of the other hierarchy.
For instance, when you are at a division level, say you wanted to see specifically how prodcut A was doing, so you would be able to click on an expand button and instead of getting the sum for all 3 products you would see that value broke out by each Product. You would also be able to do this when you are at a region level and a territory level.
What I am able to do right now is to add the product expansion into the other hierarchy, like:
Division
Region
Territory
product
Or
Division
product
Region
Territory
So when you get to the territory level, you can click again and expand to the 3 products, but that does not allow me to view a product break out at the region or division level.
Does anyone know if this is possible? Thanks for you help SO!
I am curious if this is what you mean, "So when you get to the territory level, you can click again and expand to the 3 products, but that does not allow me to view a product break out at the region or division level." Do you mean collapse all the way down but not expand all at once? I am taking you to mean 'can I expand on a dependency on the former'?
You can set this up if you are asking what I think you are asking. I have done this in 2008 and 2012 but I am rusty if this works on 2005. By putting a grouping dependency on the parent with it's visibility. This lets SSRS know that ONLY that parent you are expanding should you expand on. A simple example may help. Say I have a simple data set:
declare @Table Table ( personID int identity, person varchar(8), orders int, level1 int, level2 int);
insert into @Table values ('Brett',10, 1,1),('John',20,1,1),('Peter',15,2,1),('Jessica',25, 2,1),('Eddie', 7, 3,1),('Jimi',50, 3,1),('Robert',5, 1,2)
select *
from @Table
You can follow the instructions again for as many levels as you need. You can do this with columns with a matrix as well. The real power of these reports is in the visibility options and knowing what to show and what not to and how to organize data efficiently and present it in a way that an end user can get what they want when they need it.