Hi folks - I am trying to figure out how to set up the visibility
(expand/collapse) for my grouped matrix. So for example:
A
A1 10
A2 15
Total A 25
B
B1 35
B2 30
Total B 70
I want the user to be able to click and collapse to just see this:
A 25
B 70
Is this possible? I get the table, but am confused on how the matrix
handles grouping and visibility...
-RyanIn a matrix, you would have two row groupings. One for A, B, etc. and an
inner grouping for A1, A2, B1, etc.
1. For the inner row grouping, edit the grouping expression and go to the
Visibility tab of the grouping and sorting dialog. Set initial visibility to
"Hidden". Then, select "Visibility can be toggled by another reportitem" and
select the textbox of the outer row grouping heading.
2. For the inner row grouping, go to its heading textbox properties and set
the "initial appearance of the toggle" to Collapsed.
I also recommend to look at the sample reports that come with RS 2000 / RS
2005. Specifically, check the "Company Sales" sample report - it should
provide what you are looking for.
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"Ryan M" <ryan.marples@.bluetidemanagement.com> wrote in message
news:1128026677.096400.11570@.f14g2000cwb.googlegroups.com...
> Hi folks - I am trying to figure out how to set up the visibility
> (expand/collapse) for my grouped matrix. So for example:
> A
> A1 10
> A2 15
> Total A 25
> B
> B1 35
> B2 30
> Total B 70
> I want the user to be able to click and collapse to just see this:
> A 25
> B 70
> Is this possible? I get the table, but am confused on how the matrix
> handles grouping and visibility...
> -Ryan
>|||Thanks for the pointer Robert. It turned out what I was doing wrong is
... applying the visibility properties to the textbox that represented
the group, not the group itself. Now I get it, thanks!
Now if I could just figure out how to get column heading for my row
groups...
-Ryan
Showing posts with label figure. Show all posts
Showing posts with label figure. Show all posts
Wednesday, March 7, 2012
Sunday, February 19, 2012
Execution plan, I/O, CPU cost?
Hey there ...
I'm trying to figure out what these numbers can tell me.
Running this one -
select proptrans.proptranstext as groupname
from propval
inner join proptrans
on propval.propvalguid = proptrans.propvalguid
where propval.propownerrefguid = '12121'
and propval.propguid = 'name'
Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
propval, and proptrans.
What does these numbers tell me? Is it slow, fast etc?
I doubt, therefore I might be.
What is propval and proptrans?
Simon Worth
Kim Noer wrote:
> Hey there ...
> I'm trying to figure out what these numbers can tell me.
> Running this one -
> select proptrans.proptranstext as groupname
> from propval
> inner join proptrans
> on propval.propvalguid = proptrans.propvalguid
> where propval.propownerrefguid = '12121'
> and propval.propguid = 'name'
> Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
> propval, and proptrans.
> What does these numbers tell me? Is it slow, fast etc?
>
|||Kim Noer wrote:
> Hey there ...
> I'm trying to figure out what these numbers can tell me.
> Running this one -
> select proptrans.proptranstext as groupname
> from propval
> inner join proptrans
> on propval.propvalguid = proptrans.propvalguid
> where propval.propownerrefguid = '12121'
> and propval.propguid = 'name'
> Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
> propval, and proptrans.
> What does these numbers tell me? Is it slow, fast etc?
The important thing is that you are seeing a clustered index seek, which
is good. I wouldn't worry about the numbers themselves. The cost only
helps, in my opinion, when you run more than one version of a query in
the same batch. Query Analyzer shows you are cost differential between
the queries.
David Gugick
Imceda Software
www.imceda.com
|||"David Gugick" <davidg-nospam@.imceda.com> wrote in message
news:%233P9mGELFHA.1284@.TK2MSFTNGP14.phx.gbl
> The important thing is that you are seeing a clustered index seek,
> which is good. I wouldn't worry about the numbers themselves. The
> cost only helps, in my opinion, when you run more than one version of
> a query in the same batch. Query Analyzer shows you are cost
> differential between the queries.
I don't worry about the cost numbers, but it's slightly annoying to me, that
they are there, and there isn't really any explaination on them at all.
More and one version, with that you mean the operation being done, but in
different ways (like joins vs. select in etc etc)?
I doubt, therefore I might be.
I'm trying to figure out what these numbers can tell me.
Running this one -
select proptrans.proptranstext as groupname
from propval
inner join proptrans
on propval.propvalguid = proptrans.propvalguid
where propval.propownerrefguid = '12121'
and propval.propguid = 'name'
Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
propval, and proptrans.
What does these numbers tell me? Is it slow, fast etc?
I doubt, therefore I might be.
What is propval and proptrans?
Simon Worth
Kim Noer wrote:
> Hey there ...
> I'm trying to figure out what these numbers can tell me.
> Running this one -
> select proptrans.proptranstext as groupname
> from propval
> inner join proptrans
> on propval.propvalguid = proptrans.propvalguid
> where propval.propownerrefguid = '12121'
> and propval.propguid = 'name'
> Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
> propval, and proptrans.
> What does these numbers tell me? Is it slow, fast etc?
>
|||Kim Noer wrote:
> Hey there ...
> I'm trying to figure out what these numbers can tell me.
> Running this one -
> select proptrans.proptranstext as groupname
> from propval
> inner join proptrans
> on propval.propvalguid = proptrans.propvalguid
> where propval.propownerrefguid = '12121'
> and propval.propguid = 'name'
> Gives me 6 in I/O, 7 in CPU cost, in a clustered index seek, on both
> propval, and proptrans.
> What does these numbers tell me? Is it slow, fast etc?
The important thing is that you are seeing a clustered index seek, which
is good. I wouldn't worry about the numbers themselves. The cost only
helps, in my opinion, when you run more than one version of a query in
the same batch. Query Analyzer shows you are cost differential between
the queries.
David Gugick
Imceda Software
www.imceda.com
|||"David Gugick" <davidg-nospam@.imceda.com> wrote in message
news:%233P9mGELFHA.1284@.TK2MSFTNGP14.phx.gbl
> The important thing is that you are seeing a clustered index seek,
> which is good. I wouldn't worry about the numbers themselves. The
> cost only helps, in my opinion, when you run more than one version of
> a query in the same batch. Query Analyzer shows you are cost
> differential between the queries.
I don't worry about the cost numbers, but it's slightly annoying to me, that
they are there, and there isn't really any explaination on them at all.
More and one version, with that you mean the operation being done, but in
different ways (like joins vs. select in etc etc)?
I doubt, therefore I might be.
Subscribe to:
Posts (Atom)