reporting-services

Displaying page number in body of RDLC

空扰寡人 提交于 2019-12-11 06:25:24
问题 How do I get Page Number in Body Section of RDLC report. Globals!PageNumber can be used only inside either Report Header or Footer. What if I put Row number to my dataset and get the record number. Limiting the number of records per page and do the visibility calculation based on the records number is the best solution so far that I've heard of. Can anyone educate me on this logic? Or is there any other workaround for this? P.S: Other so-called solution like using Custom code is not giving

Remove all characters after first white space in SSRS 2005

限于喜欢 提交于 2019-12-11 06:24:46
问题 in an SSRS report textbox, i have this =Fields!FullName.Value which displays a customers Full name (FirstName and LastName). What i want to do is to only display their FirstName. I basically want to to remove every character that comes after the first white space E.G if the value returned is Tom Ndovu, i want to Dispaly Tom. if its Bill M Chark, i want to only display Bill. 回答1: This instruction get the string from the start to the first occurence the character " " (space) =Mid(Fields

SpagoBI OLAP report passing optional parameter

不羁的心 提交于 2019-12-11 06:05:52
问题 Helo. Today is my another fight day with OLAP raport with optional parameter. I have problem with MDX query. I wrote it like this: select NON EMPTY {{[Measures].[VALUE]}} ON COLUMNS, NON EMPTY { IIF(ISEMPTY([CUSTOMER].[${param}]) //CHECKING IF PARAMETER IS EMPTY ,{[CUSTOMER].[COUNTRY].Members}, {[CUSTOMER].[${param}]} ) }ON ROWS from [TRANSACTIONS] ${param} is my optional parameter for [CUSTOMER].[COUNTRY] . I unchecked "required" check button for my parameter, so OLAP should have all [VALUE]

SQL SSRS Report Manager site asking to login every time

风格不统一 提交于 2019-12-11 05:59:26
问题 SQL Server 2012 / SSRS. Windows 2008 R2. When trying to access the Report Manager via URL (http://servername/reports), it prompts us for a username and password. When I enter a valid user/pass it works and I can get to the Report Manager site and run reports fine. But we don't want to be prompted, we don't even need Windows Authentication, just to go strait in to the page. Any ideas why its asking for a username and password and how I can allow direct access? 回答1: You need to store the

Dynamically changing Report's Shared Data Source at Runtime

我与影子孤独终老i 提交于 2019-12-11 05:53:00
问题 I'm looking to use SSRS for multi-tenant reporting and I'd like the ability to have runtime-chosen Shared Data Sources for my reports. What do I mean by this? Well, I could be flexible but I think the two most likely possibilities are (however, I'm also open to other possibilities): The Shared Data Source is dictated by the client's authentication. In my case, the "client" is a .NET application and not the user, so if this is a viable path then I'd like to somehow have the MainDB (that's what

Why would an SSRS report produce different data when run from SQL Server Reporting Services than when run using the Preview tab?

泪湿孤枕 提交于 2019-12-11 05:39:49
问题 I've got a report running the data I want - from the Preview tab, that is, or when run using F5 in VS 2010. But when I upload the report (.rdl file) to SQL Server Reporting Services, and run the updated report from there, it still shows the old bunch of (restricted) data. Am I missing a step - does something need to be done other than uploading the .rdl file from the project? It did tell me the DataSource was wrong, but once I specified the right one, it ran without a hitch (except for the

Print SSRS Report Automatically

允我心安 提交于 2019-12-11 05:38:50
问题 I am fairly new to using SSRS and I would like to create a report that automatically prints to a specified printer when the report is generated. I found this question on SO and it mentions writing code in the Business Intelligence Development Studio that can "fire off" a print job. How might I do that? EDIT: Forgot the URL of the thread in question. Automatically print SSRS report? 回答1: As TFD commented google will get you lots of responses. From my experience there are 2 ways to

Why does it matter whether a SQL Where clause value is provided by the user or embedded in the code matter?

我的梦境 提交于 2019-12-11 05:38:24
问题 I have a legacy SSRS report that works as designed - returns a ton of data. I created a derivation of it that is targeted toward using a specific value. IOW, in the legacy report, the value is selected by the user, whereas in the derived report, it is "baked in." The derived report, after much hourglassing and hamster cage rattling, finally throws up its hands and says, "An error occurred during local report processing. The size necessary to buffer the XML content exceeded the buffer quota."

Flagging rows where a value changed from previous row

寵の児 提交于 2019-12-11 05:38:17
问题 I have a query that is tracking production. Whenever a unit is produced I capture the timestamp, part number, delta time, and what the cycle time should have been, as well as others that aren’t important to list here. In a SSRS report I count the rows and group them by hour and run efficiency calculations each hour based on the cycle times divided by the deltas. What I need is to add a column in my select statement that will flag whenever a part number changes so I can identify when a