SSRS Dynamic Pivot Format Columns - reporting-services

I have a report that uses the Matrix to create a pivot on my data. The data looks like this
The report looks like this
The pivot is on the Question column. When I export this report to excel I want the columns with Score to format as number and not as text. How can I do this?
Thanks.

If you don't need calculate in Excel, just want to show number in right of cell(text is show in left), you could use expression like below in TextAlign properties(=IIF(IsNumeric(Fields!answer.Value), "Right","Left"))
And other workaround is that you could change this in Excel (click cell to change type manually)
Zoe

do make sure to do this to each cell. Once you do it to one cell; you can go down to properties window towards the bottom right and look for 'Format' property; the actual format value should be stored there. That way you can just copy paste the format on desired cells.

Related

Is it possible to create a telephone directory/provider directory kind of pdf report using SSRS?

I don't see repeater kind of insert-able object where I can create directory kind of report in SSRS. Any input on how to achieve this kind of reporting in SSRS?
Similar to a telephone directory like shown in figure
I've taken this sample data from the Adventure works sample database customer table.
I simply added a table and aded placeholders in the first cell for each of the customer elements I wants to display and formatted them as required.
Then in the report properties, I set the columns to 3.
The design looks like this...
Note that multi column layouts only work with certain renderers such as PDF so if I view it on screen I get this
If I export the report to a PDF I get this.
There are ways to get round doing it on screen to but that's more complicated. Let me know if you need to do this on screen too.

Merged or blank columns when exporting report to excel in ssrs 2008

I have a table in ssrs 2008 like:
What my problem is, when I execute the report and export the output to the excel, I see that there is a mess for the excel columns, and somehow some of the columns are not used, they are blank. Please see the screenshot below to understand better:
I need the table start from Column A in excel, and not merge columns I-J-K. I could not find why this is happening. Any help I would appreciate. Thanks!
When you export to Excel, it tries to honor your layout and make things look the same as they were when you designed it. To get rid of the first column, make sure your table is aligned to the left of the report. In the table properties, you can check the Location measurements to make sure it is 0.
For the columns I, J, and K: that is happening because of other elements on your report such as a header textbox etc. Make sure that the edges of your other items line up with the edges of your cells in this table to avoid those extra columns. When you drag the edge of a cell you should get a blue line when it snaps to other objects. If that doesn't work, sometimes you have to resort to calculating the exact positions and set the Width values manually.

Duplicate bar chart from Excell into an SSRS report

I'm having a very rough time trying to group this SSRS chart correctly. It's easy as pie in Excel. So I'm wondering what I need to do in SSRS to duplicate it.
There are no hard errors to report other than the data is not being displayed the way I want it to be displayed.
One image shows the Chart Data I am passing into the chart, the other shows the visual appearance.
The final image is taken from Excell and shows what I am trying to do inside SSRS. The Excel chart displays it just about perfectly to what I am looking for.
The next two images are from excell. One displays just about perfectly how I am trying to get it to look on SSRS. The other one is how I am passing the data into SSRS.
Any idea how I need to group the data within the SSRS chart to display it the way I am looking for?
i don't think you can create the exact copy of that graph, but
try making the graph larger (taller) and also change vertical axis interval to 1
(right click on vertical axis go into properties>> axis options >> interval 1)
you can get something like this

MS Access: Is there a way to display an asterisk next to certain rows in my printed report?

I have a report object I export to PDF (which contains rows from a query), and I want to display an asterisk next to certain rows on the printed PDF (so they can reference a footnote I have in the footer of the report for additional context).
Is there a good way to do this? For example, I want an asterisk next to any row where SomeValue = 1.
Change your control source to
=IIf([yourColumn]=1,[yourColumn] & "*",[yourColumn])
Be sure that your textbox is not named the same as your column name. Access does this be default which is really annoying and breaks things like this. Change your textbox name to something like txtyourColumn

Reporting Services Chart - X-Axis name problem

I have created a chart using a stored procedure which lists totals by name.
However when I create the chart the names only appear for every second element. I have tested this in a table and I get each name correctly.
My first thoughts were that it was a sizing issue, so I considerably increased the size of my chart, but this doesn't make a difference.
Does anyone know what could be causing the problem?
[URL=http://img11.imageshack.us/i/rschart.jpg/][IMG]http://img11.imageshack.us/img11/7191/rschart.
That "VariableAutoInterval" did not work for me, it showed every alternate other label. However the following worked:
In the Axis Properties -> Interval, type 1 : This will show every label. If you type 2, it will show every alternate label and so on.
http://img223.imageshack.us/img223/3118/capturerk.png
Reference : msdn.microsoft.com/en-us/library/bb934393.aspx
I have found the problem. If you go to the properties of the X-Axis in your chart and go to >Interval > VariableAutoInterval and by default this is set to false. Set this to true and it now works.
However there is a problem with formatting as although the labels appear they are displayed slighter off centre of the actual bar elements... this should easily be fixed though.
Thanks for your help!
[URL=http://img230.imageshack.us/i/rschart2.jpg/][IMG]http://img230.imageshack.us/img230/3958/rsc
Ahh you have run into the notorious RS bug that most everyone doesn't notice. No solution to this, however what you can do to display ALL x axis labels is to shorten the categories (or x-axis values to 3-4 letters a piece and display a key).
What I mean about this is in your SQL table of categories add a field called Acronym or something an for a category such as :
SQL SERVER CATEGORY I
In the acronym field make it
SSCI
And in your report instead of using the category field use a much shorter value (the SSCI value). Now next to your report object just create a matrix / table object that displays categories with their acronyms. You do realize that you can use multiple objects in one report that may point to different data sets.
Doing this will display all the X-Axis values, it is all because of the lengths of the categories...
Seems to be working for me. Can you try to export the report to pdf / excel and check the results. Also I am using RS 2005, are you using 2008?