Showing posts with label drill. Show all posts
Showing posts with label drill. Show all posts

Wednesday, March 21, 2012

Formatting Drill Down Reports

Morning all,

I'm using report builder to create reports on Employee information. When the report is viewed through Report Manager you get the automatically generated drill down reports wherever there is a relation in your data model. This i'm sure everyone knows.

My question is, when navigating through these automatically created reports is there anyway to format the output, I only ask because the reports created are often created with two colomns which span the entire web page the first column is left justified and the second is right justified creating a huge gap in the middle. Couple this with the fact that there are no borders seperating the rows and the rows become very hard to match up.

Any info is much appreciated, thanksWhile creating a model, you can see entities having attributes. Select entities and open property window which will display all the available properties for entities. Now select property defaultdetailedattributes, here you can select fields to be displayed for drilldown reports.

You can set attribute size by selecting available attribute in the entity. Select attribute> properties > width for adjusting field size for drillthrough reports.

By default, model will take width of each fields same as in database schema. It may possible that some fields are long in size e.g. String data fields

I hope this will be helpful to you

Formatting drill down report with varying depths of hierarchy

Good Morning, all,
I have been tasked to design reports for our budget data.
The client wants to be able to drill down through our company
hierarchy.
Some departments are five levels deep in the hierarchy, but others are
only three levels deep.
Right now a very simplified version of my dataset looks like
LEVEL0 LEVEL1 LEVEL2 LEVEL4 BUDGET
900
500000
900
600 200000
900
400 100000
900 400
250 50000
900 400
350 50000
900 400 350
612 40000
900 400 350
611 10000
So, what i want is if i drill down to 600, I shouldn't be able to
drill down any further, because there is no lower level. But if I
drill down to 400, I should be able drill down further. Right now, I
can keep drilling down two more levels below 600 until I get to the
detail level.
Can I control this with layout properties?
any ideas, suggestions, resources, war stories, or good clean jokes
would be appreciated.
KathrynFor archival purposes, I solved this by using Analysis Services to
create a cube out of my relational data. The recursive relationship
above became a dimension named Par. I created a report in Reporting
Services using the cube as a datasource. When defining the Group for
Par, you have to use two properties, UniqueName and ParentUniqueName.
These properties are created automatically when you create your MDX
query using Query Builder.. In my case, when I edited the Par Group,
I set the Group On expression to Fields!Par.UniqueName and the Parent
group to Fields!Par.ParentUniqueName. Set Visibility to Hidden and
have the Toggle Item be the textbox itself, in my case Par (which
seems recursive, but that's what you want.)
Good luck,
Kathrynsql

Monday, March 12, 2012

Formating drill down on SubTotal Column in Matrix

Hello Experts,

I have a Matrix in my report where on each each cell i have a drill down to another report. The Matrix also has SubTotal Column getting generated.

But the Problem is the drill down report gets carried on the SubTotal column also and the user gets vage results as proper information is not passed to another report.

Is there a way through which if its a subTotal cell then i can hide the drill down. some IIF() condition is there is

I appreciate if somebody can help me address this problem.

/Soni

The jump to report EXPRESSION should be something like:

=IIF(InScope("matrix1_YourGroupName"), "Other report name", Nothing)

Formating drill down on SubTotal Column in Matrix

Hello Experts,

I have a Matrix in my report where on each each cell i have a drill down to another report. The Matrix also has SubTotal Column getting generated.

But the Problem is the drill down report gets carried on the SubTotal column also and the user gets vage results as proper information is not passed to another report.

Is there a way through which if its a subTotal cell then i can hide the drill down. some IIF() condition is there is

I appreciate if somebody can help me address this problem.

/Soni

The jump to report EXPRESSION should be something like:

=IIF(InScope("matrix1_YourGroupName"), "Other report name", Nothing)

Friday, March 9, 2012

format totals and subtotals on a matrix

i have a matrix with drill down, we have a divisional total, and a sub division total
i would like the background colour on the totals to be the same as the background colour on matrix columns ie division is blue and sub division is grey
--
Many thanks
JezThink of matrix subtotal cells as having two levels of style properties. The
first level deals with the cell that contains the default string "Total".
The second, or value cell, can be reached by clicking the green arrow in the
upper right corner of the Total cell. You will get the results you are
looking for if you set the background color of the group and the subtotal
value cell to the same color.
--
Bruce Johnson [MSFT]
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"jez_UK" <jezUK@.discussions.microsoft.com> wrote in message
news:7C6A7CD1-0E5D-4200-8ADB-71F98ACFCD1A@.microsoft.com...
> i have a matrix with drill down, we have a divisional total, and a sub
division total
> i would like the background colour on the totals to be the same as the
background colour on matrix columns ie division is blue and sub division is
grey
> --
> Many thanks
> Jez|||this worked great thanks for the help, however implementing this has stopped my expression to colour negative figures RED
=IIF(Sum( Fields!Measures_Variance.Value )< 0,"Red", "Black")
it still works on the main body of the matrix, but not the sub totals and totals
and ideas?
Many thanks
Jez
"Bruce Johnson [MSFT]" wrote:
> Think of matrix subtotal cells as having two levels of style properties. The
> first level deals with the cell that contains the default string "Total".
> The second, or value cell, can be reached by clicking the green arrow in the
> upper right corner of the Total cell. You will get the results you are
> looking for if you set the background color of the group and the subtotal
> value cell to the same color.
> --
> Bruce Johnson [MSFT]
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "jez_UK" <jezUK@.discussions.microsoft.com> wrote in message
> news:7C6A7CD1-0E5D-4200-8ADB-71F98ACFCD1A@.microsoft.com...
> > i have a matrix with drill down, we have a divisional total, and a sub
> division total
> >
> > i would like the background colour on the totals to be the same as the
> background colour on matrix columns ie division is blue and sub division is
> grey
> > --
> > Many thanks
> >
> > Jez
>
>|||this worked fine, but it has stopped my expression to format negative figures RED
=IIF(Sum( Fields!Measures_Variance.Value )< 0,"Red", "Black")
this still works in the matrix body but not the stub totals and totals
any ideas?
--
Many thanks
Jez
"Bruce Johnson [MSFT]" wrote:
> Think of matrix subtotal cells as having two levels of style properties. The
> first level deals with the cell that contains the default string "Total".
> The second, or value cell, can be reached by clicking the green arrow in the
> upper right corner of the Total cell. You will get the results you are
> looking for if you set the background color of the group and the subtotal
> value cell to the same color.
> --
> Bruce Johnson [MSFT]
> Microsoft SQL Server Reporting Services
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "jez_UK" <jezUK@.discussions.microsoft.com> wrote in message
> news:7C6A7CD1-0E5D-4200-8ADB-71F98ACFCD1A@.microsoft.com...
> > i have a matrix with drill down, we have a divisional total, and a sub
> division total
> >
> > i would like the background colour on the totals to be the same as the
> background colour on matrix columns ie division is blue and sub division is
> grey
> > --
> > Many thanks
> >
> > Jez
>
>|||In testing, I've found that formatting the subtotal data cells by clicking the green arrow gives inconsistent results. Specifically, when I use this approach to format both column subtotals as well as row subtotals, I find that rows and column subtotals conflict - giving unpredictable results.
Instead, I read that one person suggested this approach - which worked well for me. Format the matrix data cell with something like:
=iif(InScope("Quarter"), "Transparent", "DarkGray")
Where "Quarter" refers to the group name. This is the only way I found I could get the background color of my subtotal rows and columns to appear the way I wanted.
Bruce Johnson [MSFT] pointed this out as a possible solution at http://sqljunkies.com/Newsgroups/microsoft.public.sqlserver.reportingsvcs/2004/6/30/281309.aspx, adding that such formatting should be more intuitive and he will pass his observations to the development team. In the meantime, however, at least we have an effective workaround.
"jez_UK" wrote:
> this worked fine, but it has stopped my expression to format negative figures RED
> =IIF(Sum( Fields!Measures_Variance.Value )< 0,"Red", "Black")
> this still works in the matrix body but not the stub totals and totals
> any ideas?
> --
> Many thanks
> Jez
>
> "Bruce Johnson [MSFT]" wrote:
> > Think of matrix subtotal cells as having two levels of style properties. The
> > first level deals with the cell that contains the default string "Total".
> > The second, or value cell, can be reached by clicking the green arrow in the
> > upper right corner of the Total cell. You will get the results you are
> > looking for if you set the background color of the group and the subtotal
> > value cell to the same color.
> > --
> > Bruce Johnson [MSFT]
> > Microsoft SQL Server Reporting Services
> >
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "jez_UK" <jezUK@.discussions.microsoft.com> wrote in message
> > news:7C6A7CD1-0E5D-4200-8ADB-71F98ACFCD1A@.microsoft.com...
> > > i have a matrix with drill down, we have a divisional total, and a sub
> > division total
> > >
> > > i would like the background colour on the totals to be the same as the
> > background colour on matrix columns ie division is blue and sub division is
> > grey
> > > --
> > > Many thanks
> > >
> > > Jez
> >
> >
> >|||Just a few comments, which probably explain the "unpredictable" results:
* style properties explicitly defined on the Subtotal element will always
win over styles defined on the _top-level_ reportitem in a matrix cell.
* If a horizontal subtotal intersects with a vertical subtotal and both of
them have explicit styles defined for the same style property, the
horizontal subtotal style will win.
* If the top-level reportitem in a matrix cell is e.g. a rectangle (which
could contain a textbox), only the rectangle's styles are overridden by the
subtotal styles. The styles of contained reportitems are not affected.
Consequently, you might have to consider the case where you use the InScope
approach but - for a particular style property - you have specified an
explicit value on the Subtotal, and the reportitem where you use InScope
expression is the top-level reportitem in a matrix cell.
--
Robert M. Bruckner
Microsoft SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"Mike Berenson" <Mike Berenson@.discussions.microsoft.com> wrote in message
news:BCC09120-A7E2-4858-AD98-948AFD1AB1E9@.microsoft.com...
> In testing, I've found that formatting the subtotal data cells by clicking
the green arrow gives inconsistent results. Specifically, when I use this
approach to format both column subtotals as well as row subtotals, I find
that rows and column subtotals conflict - giving unpredictable results.
> Instead, I read that one person suggested this approach - which worked
well for me. Format the matrix data cell with something like:
> =iif(InScope("Quarter"), "Transparent", "DarkGray")
> Where "Quarter" refers to the group name. This is the only way I found I
could get the background color of my subtotal rows and columns to appear the
way I wanted.
> Bruce Johnson [MSFT] pointed this out as a possible solution at
http://sqljunkies.com/Newsgroups/microsoft.public.sqlserver.reportingsvcs/2004/6/30/281309.aspx,
adding that such formatting should be more intuitive and he will pass his
observations to the development team. In the meantime, however, at least we
have an effective workaround.
> "jez_UK" wrote:
> > this worked fine, but it has stopped my expression to format negative
figures RED
> >
> > =IIF(Sum( Fields!Measures_Variance.Value )< 0,"Red", "Black")
> >
> > this still works in the matrix body but not the stub totals and totals
> >
> > any ideas?
> > --
> > Many thanks
> >
> > Jez
> >
> >
> > "Bruce Johnson [MSFT]" wrote:
> >
> > > Think of matrix subtotal cells as having two levels of style
properties. The
> > > first level deals with the cell that contains the default string
"Total".
> > > The second, or value cell, can be reached by clicking the green arrow
in the
> > > upper right corner of the Total cell. You will get the results you are
> > > looking for if you set the background color of the group and the
subtotal
> > > value cell to the same color.
> > > --
> > > Bruce Johnson [MSFT]
> > > Microsoft SQL Server Reporting Services
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no
rights.
> > >
> > >
> > > "jez_UK" <jezUK@.discussions.microsoft.com> wrote in message
> > > news:7C6A7CD1-0E5D-4200-8ADB-71F98ACFCD1A@.microsoft.com...
> > > > i have a matrix with drill down, we have a divisional total, and a
sub
> > > division total
> > > >
> > > > i would like the background colour on the totals to be the same as
the
> > > background colour on matrix columns ie division is blue and sub
division is
> > > grey
> > > > --
> > > > Many thanks
> > > >
> > > > Jez
> > >
> > >
> > >