Questions about exporting report to Excel - reporting-services

I'm using SSRS 2008, I have a table report which includes a Region column that all other columns are grouped by it.
I needed the report to be divided in different excel sheets when exporting it, which I have already done.
I also needed to not include the region column in the report itself, so I hide it.
But when exporting it to Excel I get Column A as a blank column that the user needs to delete.
So I have the following questions:
How can I exclude a column from a report but still keeping it as a group and breaking the report by it?
How can I get the names of each sheet to display the names of the Regions?
Thank You!

Ok, I found the answers:
I deleted the column but kept the Group when the question was prompt to me.
On tablix member properties (when clicking on the relevant group) there is "Group" > "Page Name" > expression > =Fields!Region.Value.
It works great!

Related

[SSRS][SharePoint] How to avoid display the elements when counting on a group by tablix?

New to SSRS, we asked me to create a simple report on SSRS, linked to a Sharepoint List.
The Report consists of a tablix with two columns: Client and the number of orders they passed.
The first column is only containing the sharepoint field "Client Name", and the report generate automatically a list of Clients based on the content of the Sharepoint List. The Column is also used as a group by to the Tablix, to group the results by Client Name.
My second column is an expression :
=Count(Fields!ID.Value, "Client")
The column is working nearly accordingly to my willing : the report displays the number of orders by client in the list, but... When a client has more than one order, the count is displayed the same number of times.
How can i prevent that? I tried a Running Value solution, or only count.. But if the results are not the right one, the same problem is occuring : The report tablix have as much rows than elements list.
Picture for helping, because my english is far for perfect.
Image of the multiples rows
You can set client column in group expression in Details section. Check below screen shot, It will help you.

SSRS Report grouping

I need to create a SSRS report with changes in UI. Previous my report format was like this:
This is new RDL format I created but grouping is creating issue:
I created this format in report design but data is not coming the way I want. My data is grouping by prospect and wellname.
Here is new format in excel sheet.
https://drive.google.com/file/d/1lozF8pdnsWNC-bXqR2gyNyn8O_nGPze1/view?usp=sharing
also here is snapshot of new format:
and data is coming in this format from SQL server
This is a fairly straight forward report.
Add a tablix
Add a parent group on the tablix (Prospectname)
The tablix will add a column in the far left.
Right click on this column and delete it.. it will ask you if you want to delete the column as well as the group. Delete only the column, NOT the group.
Now right click on the DETAIL row and click insert row -> OUTSIDE group. Notice the brackets on the left.. anything outside the bracket is not inside the group.
Now place your header information inside the new row and your details inside your details.
You can add another header row... merge the rows and type.. "No data found".. set the hidden properties for this row based on countrows("nameofprospectgroup").
Do the same for a blank line at end of each group.. rightclick and insert a line below the detailed row but inside the group..
You can do the same with your summary row.
Play around a bit.. you will figure it out. Good luck
After doing all the things, I tried to make report by following this post
http://www.sqlcircuit.com/2012/03/ssrs-how-to-show-tablix-inside-tablix.html
it helped and worked for me.

SSRS - SubReport

I have a subreport I am trying to link into my main report. The main report pulls back information from one database and the subreport pulls from another. I could use lookup, but I lose the ability to format so I was hoping to achieve this with a subreport.
I enter a date range via my parameters, and let's say I get 30 client/matter codes back. It page breaks at the end of each row, so the data for each client/matter ends up on its own report. The goal is for me to output a large number of reports based on date ranges. The subreport pulls in folder names, and just like the other information, the folders for only that client/matter should be on that report.
What's currently happening is on each report, it just lists ALL of the folders for ALL of the client matters on each and every report.
I've tried making the subreport an adjacent group (which you can see in the screenshot) and grouping on Client code and then matter code. I've tried making the client code and matter codes internal parameters in both reports in the hope that it help filtered. I also tried just inserting the subreport into a cell inside the matter_code group but not as a group itself.
I apologize in advance if my explanation doesn't make sense. I'm having a hard time trying to put this into words.
From your explanation I would assume that you have a subreport in a group but you are not passing anything through to it. Have you tried passing through parameters to the subreport that uniquely define the customer and the customer folders?

Naming of Excel sheets or tab in SSRS

I am making a report in SSRS that will be exported to Excel. It displays data from all departments in organization.
The first sheet of the report will have a static name for e.g. "Master Report" and it will display data of all departments in single sheet.
Other sheets will have dynamic name depending on department and will display data of that particular department.
So it will become something like as shown in picture below.
I have already made the Master Report and now I want to display those individual department reports but problem is how do I name those sheets? Both these reports will use different data set. If I set the InitialPageName property of report to "Master Report" then it sets this name for all sheets. If I use an expression for e.g. =First(Fields!Dept_Title.Value, "ALL_DEPARTMENTS") then it picks up first department name and then use it for all sheets because as I told above, there are two different data sets.
Using subreport is of no help either because it doesn't show subreports InitialPageName as Excel sheet name and always uses Main reports name.
How to solve this issue?
Ok I got the solution. Just came to know about Group PageName property. So now I have two tablix in my report. One is at top which is showing Main Report while other is below which will show department reports. I have set InitialPageName property of report to "Master Report" while in Group PageName property of tablix2, I have defined expression Fields!Dept_Title.Value and it's working.

Empty cell values in column after publishing report

I have a report in SSRS (BIDS) that shows seven different columns. First one shows name. The other shows some data in number/currency format. All data comes from same dataset. All data shows when viewing in preview. Then i publish and try so show it, all columns shows data except the first, the one with name... The columns that shows are exactly the same number as names so no problem there, it´s like the names are invisible. Has any one experienced this before?
I had to change the fields from where the dataset get it´s data. I changed my name to only "dimension path" + ".[MEMBER_UNIQUE_NAME]. Then i added a new query field with field source ending with ".[MEMBER_CAPTION], see picture. Then i used the "member_caption field to show in column.
Now it works both in BIDS and in external environment.