reporting-services

Calculate percentage of total columns based on total column in SSRS Matrix

坚强是说给别人听的谎言 提交于 2019-12-05 03:47:47
Looking to add a column in my SSRS Matrix which will give me the percentage from the total column in that row. I'm using the following expression, but keep getting 100% for my percentages (I'm assuming this is because the total is evaluated last, so it's just doing Total/Total? =FORMAT((Fields!ID.Value/SUM(Fields!ID.Value)), "P") The field ID is calcuted within SQL, not SSRS. For example Site | Value 1 | %1 | Value2 | %2 | Total 1 | 20 | 50% | 20 | 50% | 40 Probably this is happening because you need define the right scope for the SUM function: SUM(Fields!ID.Value,"group_name") instead of

Border formatting of SSRS row group

做~自己de王妃 提交于 2019-12-05 03:47:16
This is my report. Above row contains a parent row group and a child row group. I have done border formatting of the report . I simply right click each Text box and gives border accordingly. But, I am not able to set border for entire Group. In group properties there is no option for Border. I do not want any border between the rows of a group. How I can do that? Go inside the textboxes you want to remove the borders and remove the top and bottom border. When the group expands, you will see the bottom border of the first textbox outside the group in the top and the top border of the first

Multilanguage in SSRS

徘徊边缘 提交于 2019-12-05 03:42:36
Is there a way to display/export english SSRS report in some other languages? marc_s No, unfortunately, there's no easy way to do this :-( I've been trying to get this up and running myself, but in the end what I did was basically pass all the labels I want to have displayed on the report from the calling app (an ASP.NET app, in my case). Another approach might be to store the text fragments in a SQL Server table, and add a datasource to your report which retrieves those text labels, and then bind them to the appropriate controls. I tried something like that but haven't been able to make it

Grouping in SSRS?

心已入冬 提交于 2019-12-05 03:29:39
i am new to the SSRS and Have data as below RCnt Jobnumber NJCT JD pmt flag cnt1 cnt2 2 001008 0 PRESSURE SEAL PSI Y 0 0 2 2 001008 0 PRESSURE SEAL PSI Y 0 0 10 2 001008 0 PRESSURE SEAL PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 1 1 001009 0 Single Sheet Duplex Legal PSI Y 0 0 4 6 001010 0 Single Sheet Duplex Legal PSI Y 0 0 6 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 5 5 001011 0 Single Sheet Duplex Legal PSI Y 0 0 3 13 001012 13 Single Sheet Duplex Legal PSI Y 0 13 0 13 001012 17 Single Sheet Duplex Legal PSI Y 0 17 0 13 001012 8 Single Sheet Duplex Legal PSI Y 0 8 0 And

SSRS doesn't honor the CanGrow Property when Exporting to Excel

独自空忆成欢 提交于 2019-12-05 03:23:36
I have a Table in an SSRS report. one of the Table Cells contains the Descriptions of Parts in an order. these descriptions could vary in length and for that reson i have set the "CanGrow" Property to True. when i try to export the report to Excel im expecting that if the text length would exceed the width of the Cell then the height of the cell would grow and the whole text would be shown. Unfortunately the SSRS Excel Generator keeps the height as is and so only the part of the text which fits the width of the cell would be shown. i would appreciate any help or input to solve this problem.

SSRS Combining values within columns from multiple rows when grouped

ⅰ亾dé卋堺 提交于 2019-12-05 03:22:56
问题 I feel like this should be relatively easy to do in a SSRS report. Using VS 2010. I have a table that comes in from a basic sql query. Just dropping the columns into the a table in visual studio. I want to group the table by company first, which I do via the row group properties. I have a table that looks like this. Company Contact ContactSub SubCert Year Bank3 Joey Steven.B A 2010 Bank2 Dave James A 2010 Bank2 Dave Steve B 2010 Bank2 Dave Mark B 2010 Bank2 Dave James A 2011 Bank2 Dave Steve

Reporting Services - Group Name in Page Header

蹲街弑〆低调 提交于 2019-12-05 02:52:58
问题 I have a report with one group (Office Name) which page breaks between each group - so the data for only one Office can appear on a given page. How do I get that Office Name to appear in the page header? I tried creating a hidden textbox in the details section of the report which has the Office Name value and then referencing that in the Page Header, but I get the last Office Name value on page 1 and then it is blank on every other page. 回答1: Today, at last I found another way to do this. On

Conditional Action in SSRS

感情迁移 提交于 2019-12-05 02:42:16
I want my textbox to have an action ONLY if the condition is true, otherwise no action. This is what I have as my current action expression for going to another report: =IIf(Fields!MyTextbox.Value = "0", "Report2","") This does not produce my desired result. It gives the textbox an action regardless of the condition result. Is there a 'No Action' or 'Cancel Action' value? The null keyword in VB is Nothing : =IIf(Fields!MyTextbox.Value = "0", "Report2", Nothing) 来源: https://stackoverflow.com/questions/2463022/conditional-action-in-ssrs

Hide Column in SSRS

こ雲淡風輕ζ 提交于 2019-12-05 02:36:52
问题 I am using SSRS 2012, and Excel 2010, I want to hide a column when Exporting to Excel, after looking through some of the forums it seems the best way to do this is by going to the Column or Text box of what you are looking to hide and under the Visibility/Hidden option set the Expression to be : =IIF(Globals!RenderFormat.Name = "EXCEL",true,false) I have tried this and for some reason it doesn't work, however if I reverse the options of true and false I can get it to hide the column in SSRS

SSRS Formula or expression to change NaN to 0

ε祈祈猫儿з 提交于 2019-12-05 02:26:22
I am using the following expression to work out a percentage: =Fields!Days.Value/Sum(Fields!Days.Value, "Date_month_name") Days.Value is showing as 0 however in a few of my results instead of reading 0% in my percentage column it is actually reading NaN (Not a Number). Does anyone know the exact expression forumla i need and where I should paste it in my current expression to say "Where NaN is showing, put a '0' instead?" (See image) general exception How about =IIF(Fields!Days.Value > 0,Fields!Days.Value/Sum(Fields!Days.Value, "Date_month_name"),0) I didn't have luck with the above answers.