SSRS Tab Labels in Excel - ssrs-2012

Good AFternoon,
I am using a Matrix in SSRS and have it grouped by Regions. I have set my page names equal to Region Value and have page Breaks at the start of each group.
For some reason when I export to Excel it seems as if the first group is skipped in the naming.
For example:
Sheet 1 Contains the data for Northeast Region
Sheet 2 Contains data for Southeast Region
Sheet 3 Contains data for Midwest Region
When Exporting the Excel the tab names are:
Sheet 1: Southeast
Sheet 2: Southeast(2)
Sheet 3: Midwest
Any suggestions would be greatly appreciated.
Thank you,

Related

Can I make a circle/table graphic in SSRS and divide it by a passed number

I was asked to create a report (in SSRS visual studio 2019).
The report has the following table number, numeric. How many people per table (generally 4-12), names, etc and the order in which the people will sit. From this I'm being asked to create is a graphic visualization of a circle (broken out evenly by number of guests per table) in the order of which they are seated.
For example here is my data set:
I need to create a seprate page with the lists below so it would like like this
Page 1 would have this:
Table 1 - 8 Guests
Page 2 would have this:
Table 2 - 4 Guests
we can also use embedded images -- the team has an image for each table size but we still have to obtain the locations of each spot (which means we'd have to know how to divide a circle)
You can do this easily.
Add a list or single column table and the set Dataset property to your dataset name.
Change the row group (probably called "details") by adding a group that groups by table.
Now insert a pie chart into the table cell. We should now get 1 pie chart per table.
Click the pie chart and add a value entry, set the value expression to =1/countrows(), this bit will just split the chart up evenly based on the number of guests.
Set the category group to the guest field.
Right-click the chart and "Show data labels", then right-click the label and set the value to this expression =Fields!id.Value & " - " & Fields!guest.Value. Set the data label position property to "outside".
Finally click the chart and expand the "custom attributes" section, set the PieStartAngle property to 270, this will make sure the first person is immediately after the 12 o'clock position.
Oh,. and set the chart title to something like `="Table " & Fields!table.Value"
The final output looks like this...

Is there a way to hide the formula in a Google sheet cell?

I want to block certain users/groups from viewing formulas in certain cells in Google sheet, but they'll have permission to edit other cells values. All they will be able to see is the result.
explanation: it's an advanced calculator. let's say that I want to give the user the ability to put values in cells A1 and B1, and in C1 the formula is =A1+B1.
I want to hide the formula in C1, so the user will only the the result.
There's a few ways to do it depending on how/who is working on the sheet. If people aren't familiar with sheets you can actually hide the formula in a row at the top by using array formulas so in the header:
={" header title" ; arrayformula(a2:a+b2:b)}
The formula would be hidden in the cell that shows the header, all the cells below would just be the calculation. If you hide the row that has the arrayformula and protect it no one will be able to see it. The only thing is you have to also protect the column otherwise if someone hardcodes a value in the column the formula will stop working.
The second option (easier but can run into more issues is the have a 'mirror' copy of the sheet they are interacting with in the same file as a hidden sheet. Basically a duplicate of the tab with all the cells a direct reference of the first tab. So:
Sheet1 = tab they interact with
Sheet2 = 'mirror' tab with every cell being ='Sheet1'!a1, but for the corresponding cell value.
As they edit Sheet the values entered in Sheet1 will show up in Sheet2, then the calculations can happen on that sheet, and then Sheet1, can just be a direct reference to that column in Sheet2. So the calculations in Sheet1 will only appear ='Sheet2'!C2. If you protect Sheet2 and hide it no one will be able to see the formulas. Sheet1 could even reference Sheet2 with an index formula like: index(column sheet2,,) which would return the entire column from sheet2.

How do I repeat a rectangle as a header on every page in SSRS

I have the following RDL setup: a single rectangle that contains 3 elements (an image, and 2 textboxes). Underneath the rectangle, I have multple tablixes, lets say 3 for now, but this number will increase or decrease dynamically as I am constructing the RDL markup with XML within my .net app. Each tablix will have it's own unique dataset (data and columns differs between the tablixes).
In order to render each tablix on a new page, I went ahead and added a PageBreak:End on each tablix, except the last one. Now, I need the rectangle to be repeated on each page, but how do I do this? I thought that maybe the RepeatWith property could be used, but this only allows a single selected data region. So, the rectangle rendered on page 1 and page 3 (not on page 2).
Any help would be greatly appreciated thanks
You could place the rectangle in the report header to repeat on each page:
https://blogs.msdn.microsoft.com/selvar/2010/12/27/report-headers-and-footers-with-microsoft-sql-server-reporting-services/

data report text box bold at runtime v.b 6.0

My Question is
i am using a table "marks" which have fields like roll_no,name,marks and i wanted to create report which should show name list in bold letters who ever scored more that 80 and underline whoever scored below 40 and all others in regular font.
problem is how to make data report text box bold or underline or regular for certain records based on the marks and where to give coding for the condition criteria.
Kindly answer
Thanks
With Regards.
K.Giridhar Rao"
To make different graphics styles into the same data report line my solution is:
1) define any graphic element into the line
2) map any element as a field of record of data report associated recordset
3) by your code, create a record for each row of report, assign a value for each field to be rendered

ReportViewer excel export set sheet names

I'm using the WebForms variant of the ReportViewer.
Let's say my report have records separated by two logical parts - CommonData and PersonData (they all have common field, say personId).
I've created the report to display one record on two pages - one with CommonData and one with PersonData.
When I click the export to Excel, the excel files contains one Sheet for eage page from the report. This result, in have one sheet for CommonData and the next sheet is for PersonData. The default labeling of the sheets is "ReporPerson1", "ReportPerson2". I want to change this naming with the following convention - "<> Common data" and the next one to be "<> Person data"
How can I do that? I found solutions setting the PageName property of the report, but this will set all sheets with this name!
I have found the solution in this thread
http://blogs.msdn.com/b/robertbruckner/archive/2010/05/16/report-design-naming-excel-worksheets.aspx

Resources