Is there a way to change the value in an ad-hoc matrix report to be the percent of the row an not just the raw number?
unfortunatly notTuesday, March 27, 2012
Thursday, March 22, 2012
Adding totals to matrix report columns
Hi,
I'm creating a martix report that must have overall averages at the end of each row and column. I've added a list with a textbox to cater for the row totals but this doesn't work for the columns (unless there's some way of displaying the list horizontally...?) Adding a new item within the matrix doesn't work as it won't accept aggregate functions. There must be a way of doing this quite easily but I can't figure it out.
Any ideas or suggestions would be much appreciated.
Thanks,
Aidan
Turns out the solution is very simple - all you have to do is right click on the group header cell and select 'subtotal' from the pop-up menu. You can change the properties of the subtotal cell by clicking on the green triangle in the corner of the cell when viewing the properties window. It made more sense when I realised that the pivot cell must have an aggregate value - I was aggregating in my stored procedure so it took a while to figure it out...
Hope this helps someone at some point.
Aidan
|||Thanks for pointing out the "SubTotal" setting for the column totals. However my question is regarding the Row Totals.
My report format is roughly like so
Category1 Category2 Category3 ... CTotal
Day1 10 20 30 60
Day2 11 22 33 66
Day3
...
RTotal 21 42 63 X
Basically I'm querying for rows by Day and have a GROUP BY for Category for certain type of records and am displaying the COUNT() on each day (e.g. 10, 20, 30)
So theCTotal is easily accomplished using the "SubTotal" setting. The problem is I cannot get RTotal to work. I at a point where I'm thinking of doing theRTotal in my query itself using a temp table for the original data, then doing a SUM of all Category COUNTS vertically and then doing a UNION to give me the bottom row. Needless to say, this would so lame of me I will not able to show my face to anyone.
So if you can set me straight on how you managed to do the Row Totals using a List Region, I would sure appreciate it. For the life of me, I cannot get it to work.
Best.
You should be able to use the same subtotal function by right-clicking the the cell with your (Day1, Day2, Day3) Date Value (usually the second cell from the top in the leftmost column).
Tuesday, March 20, 2012
Adding Subtotal at runtime ?
in matrix, how to add or remove subtotal at runtime ?
--
Pony TsuiHello Pony,
You could not add or remove the subtotal at runtime.
So why you want to add it on run time?
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hello Wei,
Actually, i have 3 subtotals, i pass a paramater to report, if the
paramater's value is true, i want to remove the third subtotal.
thanks.
--
Pony Tsui
"Wei Lu [MSFT]" wrote:
> Hello Pony,
> You could not add or remove the subtotal at runtime.
> So why you want to add it on run time?
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>|||Hello Pony,
Well, there is no visability attribute for the subtotal. But we may use
some trick. You could use the parameter to set the font color of the
subtotal to be the same as the background color so that you will not see
the text.
Hope this helps.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hello Wei,
i know this method, but i need remove or hide the subtotal row, is there any
other way ?
Thanks
--
Pony Tsui
"Wei Lu [MSFT]" wrote:
> Hello Pony,
> Well, there is no visability attribute for the subtotal. But we may use
> some trick. You could use the parameter to set the font color of the
> subtotal to be the same as the background color so that you will not see
> the text.
> Hope this helps.
> Sincerely,
> Wei Lu
> Microsoft Online Community Support
> ==================================================> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
> ==================================================> This posting is provided "AS IS" with no warranties, and confers no rights.
>|||Hello Pony,
Well this could not done in the reporting services.
You may need to use some .net code to change the rdl file directly.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.|||Hi ,
How is everything going? Please feel free to let me know if you need any
assistance.
Sincerely,
Wei Lu
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================This posting is provided "AS IS" with no warranties, and confers no rights.sql
Adding static columns to the right side of a Matrix report
I'm trying to figure out how to add static columns to a matrix report
in reporting services 2005. i have a matrix where the columns can be
dynamic (1 to n columns) and in addition to the row columns on the far
left i also need to place columns on the right as well. So it would
look like this:
matrixcol1 matrixcol2 staticcol1, staticcoln...
row 1 # # label1 label_2_1
row 2 # # label2 label_2_2
I got the report to display the data by embedding a matrix in a list
but for each row the columns for the matrix do not line up as
matrixco1, 2.. is different for each row. -THanks!On Jun 7, 2:29 pm, dfate...@.gmail.com wrote:
> Hi all,
> I'm trying to figure out how to add static columns to a matrix report
> in reporting services 2005. i have a matrix where the columns can be
> dynamic (1 to n columns) and in addition to the row columns on the far
> left i also need to place columns on the right as well. So it would
> look like this:
> matrixcol1 matrixcol2 staticcol1, staticcoln...
> row 1 # # label1 label_2_1
> row 2 # # label2 label_2_2
> I got the report to display the data by embedding a matrix in a list
> but for each row the columns for the matrix do not line up as
> matrixco1, 2.. is different for each row. -THanks!
I normally handle this by placing an empty space in front of the
columns I want to appear first (on the left) in the matrix (i.e., (" "
+ ColumnNameToBePivoted)) and then have the columns I want at the end
(on the right) just be their regular names. That way, alphabetically,
the spaced columns will come first. Of course, you will want to do
this in the stored procedure/query that is sourcing the report. Hope
this helps.
Regards,
Enrique Martinez
Sr. Software Consultant
Monday, March 19, 2012
Adding static columns to a matrix report?
want to do.
__________|Item Code|Description | Column Group -->
Row Group| | |
---
| | |
|
|
\/
I can get it all working, except for the "Description" column. What I have
now is
__________|Item Code| Column Group -->
Row Group| |
---
| |
|
|
\/
Which works fine. I cannot, for the life of me, add another "static" column
for the Description (that does not get repeated with the column group). I
hope this is clear enough for someone to offer me a suggestion, and I hope
posting doesnt mess up the linbreaks... Thanks in advance!
Peter L.Try this ..
Right click on filed below column group. choose add row.
It will add new column on left. Then delete the cell below the column field.
which will delete added row below but coloum on left will remain as it is.
"plandry@.newsgroups.nospam" wrote:
> So I'm making a matrix report. It's driving me nuts, frankly. Here's what I
> want to do.
> __________|Item Code|Description | Column Group -->
> Row Group| | |
> ---
> | | |
> |
> |
> \/
> I can get it all working, except for the "Description" column. What I have
> now is
> __________|Item Code| Column Group -->
> Row Group| |
> ---
> | |
> |
> |
> \/
> Which works fine. I cannot, for the life of me, add another "static" column
> for the Description (that does not get repeated with the column group). I
> hope this is clear enough for someone to offer me a suggestion, and I hope
> posting doesnt mess up the linbreaks... Thanks in advance!
> Peter L.|||That only adds another row below... I think that's how I got the first Item
Code column. It just won't let me add another column, no matter how many rows
I add...
"Vinay" wrote:
> Try this ..
> Right click on filed below column group. choose add row.
> It will add new column on left. Then delete the cell below the column field.
> which will delete added row below but coloum on left will remain as it is.
>
> "plandry@.newsgroups.nospam" wrote:
> > So I'm making a matrix report. It's driving me nuts, frankly. Here's what I
> > want to do.
> >
> > __________|Item Code|Description | Column Group -->
> > Row Group| | |
> > ---
> > | | |
> >
> > |
> > |
> > \/
> >
> > I can get it all working, except for the "Description" column. What I have
> > now is
> >
> > __________|Item Code| Column Group -->
> > Row Group| |
> > ---
> > | |
> >
> > |
> > |
> > \/
> >
> > Which works fine. I cannot, for the life of me, add another "static" column
> > for the Description (that does not get repeated with the column group). I
> > hope this is clear enough for someone to offer me a suggestion, and I hope
> > posting doesnt mess up the linbreaks... Thanks in advance!
> >
> > Peter L.
Tuesday, March 6, 2012
Adding multiple textboxes to PageHeader
for (int i = 0; i < Items.Count; i++)
{
reportItems.Items = new object[] { CreateTextBox(Items
.ItemName, Items
.ItemMessage, Items
.ItemStyle) };
}
This is the line of code that I am hitting the problem. This works fine, however only inserts the last textbox in the Items Array.
If I change the code to
for (int i = 0; i < Items.Count; i++)
{
reportItems.Items
= new object[] { CreateTextBox(Items
.ItemName, Items
.ItemMessage, Items
.ItemStyle) };
}
It executes, but fails when trying to render it into XML.
Has anyone managed to get multiple textboxes programatically into the pageheader?In the first approach you are overwriting the Items array with each iteration of the for loop. And in the second approach you are setting each entry in the Items array to a new object array, so you end up with an array of arrays. Instead what you should do is just add the object to the array. Try using the following code.
// create a new array for the text boxes in the header
reportItems.Items = new object[Items.Count];
// iterate though all the Items creating a textbox, which is added to the report items object array
for (int i = 0; i < Items.Count; i++)
{
reportItems.Items
= CreateTextBox(Items
.ItemName, Items
.ItemMessage, Items
.ItemStyle);
}
Ian
Adding Measures to Report - receive error
Hello,
My report, which has a matrix and a chart work fine. Then...
I click on the Data tab, drag a measure into the results grid. At this point I haven't added the new measure to the matrix or anything in Layout.
I click the Preview tab and get the following message: "The definition of the report XXX is invalid. More than one data set, data region, or grouing in the report has the name 'YYY'. Data set, data region and grouping names must be unique within a report.
Ok, I get the point. But why and how would adding a measure give me this issue? Where can I even find where this is being duplicated?
The message refers to a name that is a parameter, and I don't see anything in there that might cause this.
Thank you for the help.
-Gumbatman
I've just got this same message myself - and am trying to figure it out. I had a report that was working fine in Preview...then I went to try to add a parameter, couldn't get it to work so deleted it. Now the report won't preview at all...keep getting this message.
I've even deleted ALL of the layout fields - but still get the error.
The DATA tab retrieves my data fine without a problem.
Help please ?
Phil
Adding Matrix affect the report print preview
multiple page when print preview. The report is a multi-page report. The
matrix is added in the 4th page. Before adding the matrix, everything is
fine. After added the matrix, the first page is splitted to 2 pages or even 3
pages when print previewing depending on the columns the matrix has. And the
matrix itself is within the same page(page width is good enough for it).
Any suggestions? I have run out of ideas. Thanks.Anyone can help?
"Jane" wrote:
> I'm sure body+margins=page width, there is no way the report is splited to
> multiple page when print preview. The report is a multi-page report. The
> matrix is added in the 4th page. Before adding the matrix, everything is
> fine. After added the matrix, the first page is splitted to 2 pages or even 3
> pages when print previewing depending on the columns the matrix has. And the
> matrix itself is within the same page(page width is good enough for it).
> Any suggestions? I have run out of ideas. Thanks.
Friday, February 24, 2012
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are ignored."
thx,
FrankHi!
I had the same problem, and i found a solution for the embedded data regions in EXCEL! Altough it is a limitation in RS :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_dc_v1_8yhy.asp
There is a solution! Have a look at the riport item "List" in design mode! It has almost the same functionality like teh "Table". You have to manually add headers over the "List" and manually place the textboxes hierarchical inside the list if you want to group fields, but it has a big advantage! Inside the "List" every embedded data regions (just like matrix, or subreport) are displayed correctly in EXCEL!
IMPORTANT: if you place embedded data regions in a "List" you have to right click on the "List" and select properties. On the first tab of the property window click "edit details group" and you must specify grouping expressions here. For examle if there are "Parent" and "Child" rows inside a "List", a good grouping expression would be the Parent row ID.
I hope this helps:)
Rolf|||Oh! And to adding matrix headers, for columns, you have to create a rectangle instead of a table. And place textbox-es inside the rectangle. And finally drag and drop the rectangle inside a merged matrix columnheader cell.
Rolf|||
I am a newbie to the RS and need much more information then given here.
Can anybody please show me an example implementation of the same.
Tanveer
|||I have found the same problem with the "List" object in Reporting Services. Renders fine in HTML and PDF but Excel displays "Data Regions within table/matrix cells are ignored". Very frustrating limitation|||Unfortunately there is no viable workaround for this particular limitation of the Excel renderer. Data regions cannot be nested in table or matrix cells. We are working to add this functinonality in the next version of Reporting Services.
Tanveer, please let us know specifically what questions you have and we'll do our best to answer.
-Chris
|||Do you have a timeline of when the next version of RS is going to be available?|||
This is exactly what brings touble down the road, One recommends RS over CR and then, when I implement a large matrix report which for very valid reasons is embedded within a table, I receive a user response that this stuff just simply doesn't work. I TRULY wish this stuff would just work as it is supposed to. I hate the fact that Microsoft's marketing machine is better and faster than it's technical arm which does absolutely nothing for our credibility!
Why include the option to export to Excel if it does not work?!
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are
ignored."
thx,
FrankI'm assuming you mean the top left cell of the matrix?
Add a rectangle outside the data region, insert a textbox for each
column heading formatting, sizing and positioning them accordingly.
Cut the rectangle and paste it into the matrix cell.
--
Regards
Chris
Frank Mestdagh wrote:
> Hi,
> how can I add headers to my matrixcolumns?
> I created a table inside the merged cell above, but this won't export
> to excel: i get the error "Data Regions within table/matrix cells are
> ignored."
> thx,
> Frank|||Thanks Chris!!! I am going to try that ... it seems hokey that we cant have
the OPTION to iniclude column headings for that area to me! I will try what
you suggested.
"Chris McGuigan" wrote:
> I'm assuming you mean the top left cell of the matrix?
> Add a rectangle outside the data region, insert a textbox for each
> column heading formatting, sizing and positioning them accordingly.
> Cut the rectangle and paste it into the matrix cell.
> --
> Regards
> Chris
>
> Frank Mestdagh wrote:
> > Hi,
> > how can I add headers to my matrixcolumns?
> > I created a table inside the merged cell above, but this won't export
> > to excel: i get the error "Data Regions within table/matrix cells are
> > ignored."
> >
> > thx,
> > Frank
>
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are ignored."
thx,
FrankHi!
I had the same problem, and i found a solution for the embedded data regions in EXCEL! Altough it is a limitation in RS :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_dc_v1_8yhy.asp
There is a solution! Have a look at the riport item "List" in design mode! It has almost the same functionality like teh "Table". You have to manually add headers over the "List" and manually place the textboxes hierarchical inside the list if you want to group fields, but it has a big advantage! Inside the "List" every embedded data regions (just like matrix, or subreport) are displayed correctly in EXCEL!
IMPORTANT: if you place embedded data regions in a "List" you have to right click on the "List" and select properties. On the first tab of the property window click "edit details group" and you must specify grouping expressions here. For examle if there are "Parent" and "Child" rows inside a "List", a good grouping expression would be the Parent row ID.
I hope this helps:)
Rolf|||Oh! And to adding matrix headers, for columns, you have to create a rectangle instead of a table. And place textbox-es inside the rectangle. And finally drag and drop the rectangle inside a merged matrix columnheader cell.
Rolf|||
I am a newbie to the RS and need much more information then given here.
Can anybody please show me an example implementation of the same.
Tanveer
|||I have found the same problem with the "List" object in Reporting Services. Renders fine in HTML and PDF but Excel displays "Data Regions within table/matrix cells are ignored". Very frustrating limitation|||Unfortunately there is no viable workaround for this particular limitation of the Excel renderer. Data regions cannot be nested in table or matrix cells. We are working to add this functinonality in the next version of Reporting Services.
Tanveer, please let us know specifically what questions you have and we'll do our best to answer.
-Chris
|||Do you have a timeline of when the next version of RS is going to be available?|||This is exactly what brings touble down the road, One recommends RS over CR and then, when I implement a large matrix report which for very valid reasons is embedded within a table, I receive a user response that this stuff just simply doesn't work. I TRULY wish this stuff would just work as it is supposed to. I hate the fact that Microsoft's marketing machine is better and faster than it's technical arm which does absolutely nothing for our credibility!
Why include the option to export to Excel if it does not work?!
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are ignored."
thx,
FrankHi!
I had the same problem, and i found a solution for the embedded data regions in EXCEL! Altough it is a limitation in RS :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_dc_v1_8yhy.asp
There is a solution! Have a look at the riport item "List" in design mode! It has almost the same functionality like teh "Table". You have to manually add headers over the "List" and manually place the textboxes hierarchical inside the list if you want to group fields, but it has a big advantage! Inside the "List" every embedded data regions (just like matrix, or subreport) are displayed correctly in EXCEL!
IMPORTANT: if you place embedded data regions in a "List" you have to right click on the "List" and select properties. On the first tab of the property window click "edit details group" and you must specify grouping expressions here. For examle if there are "Parent" and "Child" rows inside a "List", a good grouping expression would be the Parent row ID.
I hope this helps:)
Rolf|||Oh! And to adding matrix headers, for columns, you have to create a rectangle instead of a table. And place textbox-es inside the rectangle. And finally drag and drop the rectangle inside a merged matrix columnheader cell.
Rolf|||
I am a newbie to the RS and need much more information then given here.
Can anybody please show me an example implementation of the same.
Tanveer
|||I have found the same problem with the "List" object in Reporting Services. Renders fine in HTML and PDF but Excel displays "Data Regions within table/matrix cells are ignored". Very frustrating limitation|||Unfortunately there is no viable workaround for this particular limitation of the Excel renderer. Data regions cannot be nested in table or matrix cells. We are working to add this functinonality in the next version of Reporting Services.
Tanveer, please let us know specifically what questions you have and we'll do our best to answer.
-Chris
|||Do you have a timeline of when the next version of RS is going to be available?|||This is exactly what brings touble down the road, One recommends RS over CR and then, when I implement a large matrix report which for very valid reasons is embedded within a table, I receive a user response that this stuff just simply doesn't work. I TRULY wish this stuff would just work as it is supposed to. I hate the fact that Microsoft's marketing machine is better and faster than it's technical arm which does absolutely nothing for our credibility!
Why include the option to export to Excel if it does not work?!
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are ignored."
thx,
FrankHi!
I had the same problem, and i found a solution for the embedded data regions in EXCEL! Altough it is a limitation in RS :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_dc_v1_8yhy.asp
There is a solution! Have a look at the riport item "List" in design mode! It has almost the same functionality like teh "Table". You have to manually add headers over the "List" and manually place the textboxes hierarchical inside the list if you want to group fields, but it has a big advantage! Inside the "List" every embedded data regions (just like matrix, or subreport) are displayed correctly in EXCEL!
IMPORTANT: if you place embedded data regions in a "List" you have to right click on the "List" and select properties. On the first tab of the property window click "edit details group" and you must specify grouping expressions here. For examle if there are "Parent" and "Child" rows inside a "List", a good grouping expression would be the Parent row ID.
I hope this helps:)
Rolf|||Oh! And to adding matrix headers, for columns, you have to create a rectangle instead of a table. And place textbox-es inside the rectangle. And finally drag and drop the rectangle inside a merged matrix columnheader cell.
Rolf|||
I am a newbie to the RS and need much more information then given here.
Can anybody please show me an example implementation of the same.
Tanveer
|||I have found the same problem with the "List" object in Reporting Services. Renders fine in HTML and PDF but Excel displays "Data Regions within table/matrix cells are ignored". Very frustrating limitation|||Unfortunately there is no viable workaround for this particular limitation of the Excel renderer. Data regions cannot be nested in table or matrix cells. We are working to add this functinonality in the next version of Reporting Services.
Tanveer, please let us know specifically what questions you have and we'll do our best to answer.
-Chris
|||Do you have a timeline of when the next version of RS is going to be available?|||
This is exactly what brings touble down the road, One recommends RS over CR and then, when I implement a large matrix report which for very valid reasons is embedded within a table, I receive a user response that this stuff just simply doesn't work. I TRULY wish this stuff would just work as it is supposed to. I hate the fact that Microsoft's marketing machine is better and faster than it's technical arm which does absolutely nothing for our credibility!
Why include the option to export to Excel if it does not work?!
Adding headers to matrix
how can I add headers to my matrixcolumns?
I created a table inside the merged cell above, but this won't export
to excel: i get the error "Data Regions within table/matrix cells are ignored."
thx,
FrankHi!
I had the same problem, and i found a solution for the embedded data regions in EXCEL! Altough it is a limitation in RS :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/rscreate/htm/rcr_creating_dc_v1_8yhy.asp
There is a solution! Have a look at the riport item "List" in design mode! It has almost the same functionality like teh "Table". You have to manually add headers over the "List" and manually place the textboxes hierarchical inside the list if you want to group fields, but it has a big advantage! Inside the "List" every embedded data regions (just like matrix, or subreport) are displayed correctly in EXCEL!
IMPORTANT: if you place embedded data regions in a "List" you have to right click on the "List" and select properties. On the first tab of the property window click "edit details group" and you must specify grouping expressions here. For examle if there are "Parent" and "Child" rows inside a "List", a good grouping expression would be the Parent row ID.
I hope this helps:)
Rolf|||Oh! And to adding matrix headers, for columns, you have to create a rectangle instead of a table. And place textbox-es inside the rectangle. And finally drag and drop the rectangle inside a merged matrix columnheader cell.
Rolf|||
I am a newbie to the RS and need much more information then given here.
Can anybody please show me an example implementation of the same.
Tanveer
|||I have found the same problem with the "List" object in Reporting Services. Renders fine in HTML and PDF but Excel displays "Data Regions within table/matrix cells are ignored". Very frustrating limitation|||Unfortunately there is no viable workaround for this particular limitation of the Excel renderer. Data regions cannot be nested in table or matrix cells. We are working to add this functinonality in the next version of Reporting Services.
Tanveer, please let us know specifically what questions you have and we'll do our best to answer.
-Chris
|||Do you have a timeline of when the next version of RS is going to be available?|||This is exactly what brings touble down the road, One recommends RS over CR and then, when I implement a large matrix report which for very valid reasons is embedded within a table, I receive a user response that this stuff just simply doesn't work. I TRULY wish this stuff would just work as it is supposed to. I hate the fact that Microsoft's marketing machine is better and faster than it's technical arm which does absolutely nothing for our credibility!
Why include the option to export to Excel if it does not work?!
Adding Grand Total to a Column Group in a Matrix. Please Help!
Hello Guys,
I am working on a matrix report which has several row groups and 1 column group. After execution, the column group wil end up with several columns containg numeric counts. I would like to have the grand total for each "column group" column as a last row on this report.
For row groups you can just right click "Subtotal", but that is not possible for column group. Could someone please help me to find a clever way of accomplishing this, please. Thank you so much for your help!
For column groups, you can also just right click "Subtotal". Maybe you are clicking the wrong box or it isn't truly a column group or you just aren't seeing it.
Look around a bit more.
http://i55.photobucket.com/albums/g121/Farsight38/untitled-1.jpg
|||You're right, however that will just give me totals on the right side of the matrix (row totals). What I would like to have is a grand total column(s) at the bottom of the matrix (basically a grand total for all values in each of the "column grouping" columns). Is there a way to accomplish that? Thank you for your expertise.
|||I'm not sure I understand what you're asking for.
In order to get row totals on the right side of the matrix, you right click a column and select subtotal.
In order to get column totals at the bottom of the matrix, you right click a row and select subtotal.
|||You should be able to achieve this is you add a subtotal on the outermost (leftmost) row group.
The reason you sometimes cannot add a subtotal is to do with static groups which don't support subtotals. These are created when you drag more than one column (measure) from your dataset to the details portion of the matrix (rows or columns).
It would help if you put together some sample data and what you would like to achieve as output. Do this in Excel and copy paste it into a post. That way we'll be able to help more affectively.
|||Adam, you're the greatest!
Adding a subtotal to the leftmost row group did the trick. Thank you so much.
??€?§Q? , matrix wouldn't let me add the subtotal to the bottom right cell (Data), where I needed the totals to show. Adam's suggestion worked. I thought doing that would just add the total for the values of that rowgroup - but now I know better ![]()
Thank you for your help, guys.
Adding footer of matrix reporting service
then what should I do for this?On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> is it possible?
> then what should I do for this?
If you are referring to report/page footer, you can add this via:
select the Layout tab in BIDS -> select the Report drop-down tab ->
Page Footer.
If you are referring to the matrix control itself, you can right-click
the left-side of the detail row of the matrix control and select Table
Footer.
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||I got it.
thanks
"EMartinez" <emartinez.pr1@.gmail.com> wrote in message
news:1188529087.999137.104030@.q4g2000prc.googlegroups.com...
> On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
>> is it possible?
>> then what should I do for this?
>
> If you are referring to report/page footer, you can add this via:
> select the Layout tab in BIDS -> select the Report drop-down tab ->
> Page Footer.
> If you are referring to the matrix control itself, you can right-click
> the left-side of the detail row of the matrix control and select Table
> Footer.
> Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||On Aug 31, 8:57 am, "Ken" <k...@.jeromegroup.com> wrote:
> I got it.
> thanks
> "EMartinez" <emartinez...@.gmail.com> wrote in message
> news:1188529087.999137.104030@.q4g2000prc.googlegroups.com...
> > On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> >> is it possible?
> >> then what should I do for this?
> > If you are referring to report/page footer, you can add this via:
> > select the Layout tab in BIDS -> select the Report drop-down tab ->
> > Page Footer.
> > If you are referring to the matrix control itself, you can right-click
> > the left-side of the detail row of the matrix control and select Table
> > Footer.
> > Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
You're welcome. Let me know if I can be of further assistance.
Regards,
Enrique Martinez
Sr. Software Consultant|||On Aug 31, 7:58 am, EMartinez <emartinez...@.gmail.com> wrote:
> On Aug 30, 5:16 pm, "Ken" <k...@.jeromegroup.com> wrote:
> > is it possible?
> > then what should I do for this?
> If you are referring to report/page footer, you can add this via:
> select the Layout tab in BIDS -> select the Report drop-down tab ->
> Page Footer.
> If you are referring to the matrix control itself, you can right-click
> the left-side of the detail row of the matrix control and select Table
> Footer.
> Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
Plz be more specific it cant understand
Adding footer of matrix reporting service
A matrix table object cannot have a footer but if someone needs to put totals for all rows, he needs to right-click on the section of matrix table where it says "Rows" and then click "Subtotal" option. This would add a new row in the end of matrix table and bring totals automatically - no extra work needed.
I think you are talking about a simple data table object - yes that has this option.
thanks,
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.comOn Sep 6, 10:38 am, Ratan Udassi wrote:
> Hi EMartinez ,
> A matrix table object cannot have a footer but if someone needs to put totals for all rows, he needs to right-click on the section of matrix table where it says "Rows" and then click "Subtotal" option. This would add a new row in the end of matrix table and bring totals automatically - no extra work needed.
> I think you are talking about a simple data table object - yes that has this option.
> thanks,
> EggHeadCafe - .NET Developer Portal of Choicehttp://www.eggheadcafe.com
Actually, what you are referring to is the same thing that I was
explaining.
Regards,
Enrique Martinez
Sr. Software Consultant
Adding extra rows to Matrix
extra lines at the end, so the user can print and add in info as needed. Is
there any way to do this? thanks
ChrisOn Jan 18, 9:55 am, Chris <Ch...@.discussions.microsoft.com> wrote:
> Hello, I am creating a report with a matrix in it, and I need to add a couple
> extra lines at the end, so the user can print and add in info as needed. Is
> there any way to do this? thanks
> Chris
The easiest way to do this is to either add a couple textbox controls
below the matrix control -or- add a table control below the matrix
control. Make sure to not overlap the controls and place the matrix
control and textbox controls/etc inside a rectangle. Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant|||Thanks Enrique, the problem with that is the matrix is Dynamic, so I don't
know how many columns it is going to be until runtime. If I add textboxes or
a table underneath, the columns will not match up. Any other ideas? Is there
a way to tie the table columns to the columns in the matrix'
"EMartinez" wrote:
> On Jan 18, 9:55 am, Chris <Ch...@.discussions.microsoft.com> wrote:
> > Hello, I am creating a report with a matrix in it, and I need to add a couple
> > extra lines at the end, so the user can print and add in info as needed. Is
> > there any way to do this? thanks
> >
> > Chris
> The easiest way to do this is to either add a couple textbox controls
> below the matrix control -or- add a table control below the matrix
> control. Make sure to not overlap the controls and place the matrix
> control and textbox controls/etc inside a rectangle. Hope this helps.
> Regards,
> Enrique Martinez
> Sr. Software Consultant
>|||On Jan 21, 8:10 am, Chris <Ch...@.discussions.microsoft.com> wrote:
> Thanks Enrique, the problem with that is the matrix is Dynamic, so I don't
> know how many columns it is going to be until runtime. If I add textboxes or
> a table underneath, the columns will not match up. Any other ideas? Is there
> a way to tie the table columns to the columns in the matrix'
> "EMartinez" wrote:
> > On Jan 18, 9:55 am, Chris <Ch...@.discussions.microsoft.com> wrote:
> > > Hello, I am creating a report with a matrix in it, and I need to add a couple
> > > extra lines at the end, so the user can print and add in info as needed. Is
> > > there any way to do this? thanks
> > > Chris
> > The easiest way to do this is to either add a couple textbox controls
> > below the matrix control -or- add a table control below the matrix
> > control. Make sure to not overlap the controls and place the matrix
> > control and textbox controls/etc inside a rectangle. Hope this helps.
> > Regards,
> > Enrique Martinez
> > Sr. Software Consultant
You're welcome. Not unless you use a second matrix control below the
first one that is tied to the same dataset and hide the data. Hope
this helps further.
Regards,
Enrique Martinez
Sr. Software Consultant
Sunday, February 19, 2012
Adding dates to a matrix
I have a matrix showing transactions between two dates. I want to show those
dates to the users in columns. Let's say the user chose all transactions
between 1/1/03 and 30/10/03. How can I add columns to represent all months in
that period (or days, years, etc.)?
ThanksHi G,
If you don't have any data rows for a certain month/day, then it will not
show up in the matrix grouping. To ensure that certain groups/data values
are always present, you will need an outer join in your dataset query e.g.
in case of months with a simple table that just has 12 rows with one column
and values from 1 to 12.
Using parameters makes it a little bit more complex. You could either
integrate modify the outer join query to select only subsets of the table
(and achieve better performance), or you apply filters on the matrix
groupings in RS.
Details on how to use outer joins are available here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/acdata/ac_8_qd_09_0zqr.asp
http://msdn.microsoft.com/library/en-us/acdata/ac_8_qd_09_1h6b.asp
HTH,
Robert
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"G" <G@.discussions.microsoft.com> wrote in message
news:A1D100A0-E235-4EEC-B4F5-22AA80C170B4@.microsoft.com...
> Hi,
> I have a matrix showing transactions between two dates. I want to show
those
> dates to the users in columns. Let's say the user chose all transactions
> between 1/1/03 and 30/10/03. How can I add columns to represent all months
in
> that period (or days, years, etc.)?
> Thanks
Monday, February 13, 2012
Adding columns to a Matrix report that don't belong to the matrix columns groups
Can we do this?
Adding more columns in a matrix report that don’t
belong to the columns drilldown dimensions…
That is, for example, having the following report:
Product Family
Product
Country City Number of units sold
Then I
would add some ratios, that is, Units Sold/Months (sold per month) and other that
is the average for Product Family (Units Sold/Number of Product Family), for putting an example… some
columns should be precalculated prior to the report so do not get into it, the
real problem I don’t see how to solve is adding one or two columns for showing
these calculated column that doesn’t depend on the column groups but they do
for the rows groups…
Any guidance
on that?
The only
way I am seeing by now is to set it as two different reports, and that is not
what my client wants…
Many
thanks,
Jose
The way of doing this, exposed on some articles through the web is to put a higher level group that is unique and there insert the corresponding columns..
Well if anybody knows of a nicer way to do this, please say so...|||
Hi
Saw this and i dont know if this is what your looking for
but it seemes like you may be able to implement this.
Quote Robert Bruckner MSFT :
" You can use the InScope function to distinguish subtotal cells from other cells. Please check the MSDN documentation about the InScope function:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/RSCREATE/htm/rcr_creating_expressions_v1_0jmt.asp
With InScope you can determine the current scope of a matrix cell (e.g. in subtotal or not). You would use an IIF-expression to set the cell expression based on the InScope return values. Note: a matrix cell is "in scope" of column and row groupings, so you need at least two InScope function calls in the case where you have one dynamic row and one dynamic column grouping. E.g.
=iif(InScope("ColumnGroup1"), iif(InScope("RowGroup1"), "In Cell", "In Subtotal of RowGroup1"), iif(InScope("RowGroup1"), "In Subtotal of ColumnGroup1", "In Subtotal of entire matrix"))
Replace "In Cell" with =Sum(Fields!Amount.Value)
Replace "In Subtotal..." with =Avg(Fields!Amount.Value)
However, note that since the subtotal cells share the same cell definition as the group instance cells, adding two "subtotals" (one for "Total", the other for "AVG") at the same level is not supported. One way of solving this is to add a rectangle into the matrix cell and use two textboxes to show the total and the average. Then use conditional visibility on the average textbox to only have it visible for subtotals."
Sorry Robert for quoting you, I couldn't get the thread linked...
G
|||thanks!!Sorry I already tried to use InScope... I also tried to set up a higher grouping but that only does more confusion and servers for only one more value, when I need three or four... not quite desirable...
Thanks so much for your answer!
Jose