reporting-services

Dimension Security in SSAS & SSRS

坚强是说给别人听的谎言 提交于 2019-12-10 00:26:22
问题 I am stuck with a problem of implementing security at dimension level in SSAS. Here is what I did - 1. Defined a role in SSAS and applied security at dimension level (Unchecking cube dimensions that I don't want this role to access and setting Allowed & denied Sets). 2. Tested using Cube Browser, it worked fine. 3. Tested using SSRS, no change, I was still able to query the dimensions & get results that I don't want. Question - Is it possible to propagate the security I define at Cube level

OLE DB provider for linked server reported a change in schema version Error

戏子无情 提交于 2019-12-09 23:45:25
问题 I have a nightly job which is updates table by executing stored procedure but it keeps failing every 2-3 days. DECLARE @return_value int EXEC @return_value = [dbo].[sp_SRA_Analysis_Union] SELECT 'Return Value' = @return_value Below is the error message: Step Name update table Duration 00:00:30 Sql Severity 16 Sql Message ID 7359 Operator Emailed Operator Net sent Operator Paged Retries Attempted 0 Message Executed as user: NT AUTHORITY\SYSTEM. The OLE DB provider "SQLNCLI10" for linked server

Is there a way to publish rdl reports programmatically with C#?

淺唱寂寞╮ 提交于 2019-12-09 21:35:31
问题 I have a solution file in BI that contains 10 report projects. I publish these projects manually with every change. I want to know that is there a solution to deploy these projects on report server programmatically? 回答1: Yes. Use the API: ReportOperationsCollection class This is what VS uses 回答2: We use TeamBuild that comes with M$ TFS. Works like a charm, except we had to write a custom build task to transform the data sources. 来源: https://stackoverflow.com/questions/2323593/is-there-a-way

Automated deployment options for SSRS

只谈情不闲聊 提交于 2019-12-09 17:21:39
问题 I have been tasked to look into ways to automate the deployment process for our SSRS 2012 reports. Are there any good tools out there? I'm thinking of something along the lines of press a button and the report gets deployed. Thanks! 回答1: To deploy our SSRS reports, we're using this lovely powershell project: https://github.com/timabell/ssrs-powershell-deploy Usage: .\Deploy-SSRSProject.ps1 -path YourReportsProject.rptproj -configuration Release -verbose or you can use the alternate parameter

How do I write an if else statement in Reporting Services expression language?

北战南征 提交于 2019-12-09 17:07:20
问题 I would like to write a Reporting Services "Expression" that basically behaves as the following (pseudo code)... if ([Fields!StateProvinceId.Value] == 1) { return "Ontario"; } else if ([Fields!StateProvinceId.Value] == 2) { return "Quebec"; } else if ([Fields!StateProvinceId.Value] == 3) { return "Manitoba"; } // ... // more cases same pattern I don't see this type of logic do I have to nest a bunch of IIF? =IIF(Fields!StateProvinceId.Value = 1, "Ontario", IIF(Fields!StateProvinceId.Value = 2

SSRS Report stucks at loading IE 11

徘徊边缘 提交于 2019-12-09 16:32:26
问题 We are running SQL Server 2008 R2. All these reports were working fine until we upgraded IE from 10 to 11. Every time we run a report, it will just stuck at loading forever. Tried changing the document mode to other versions. 回答1: Per the OP, add the site to Compatibility View. It's also possible that the browser detection needs to be updated on the server side for .Net per this blog article. Basically, there's a hotfix for ASP.Net 4.0 and one for ASP.Net 3.5sp1 and ASP.net 2.0 that you need

SSRS Contains or Like Expression

南楼画角 提交于 2019-12-09 15:59:23
问题 I'm trying to create a calculated expression from a field in my dataset. I need to find everything that contain the word Exchange Traded from one field and in my new field have the words 'ETF 13F'. If nothing matches then it would just be blank. I have tried the Like(" Exchange Traded ") and Contains (" Exchange Traded ") functions and when running the report I get a #error in my new field. Here's what I have tried... =IIf(Fields!DESC2.Value.like("*Exchange Traded*"),"ETF_13F", false) How do

Dynamically create filename in SSRS 2008

不打扰是莪最后的温柔 提交于 2019-12-09 15:12:18
问题 I have been asked a couple times to change the file name dynamically in SSRS 2008. Example: ReportName_201101.RDL. The 201101 represents the execution date. Can this be accomplished in SSRS 2008? 回答1: If you mean the filename when you export the report and also happen to be pulling it from the ASP.NET ReportViewer, you can set the name through the DisplayName property. ReportViewerControl.ServerReport.DisplayName = "ReportName_201101"; or (if ProcessingMode is Local): ReportViewerControl

Copy and paste a table (tablix) in SSRS

不羁岁月 提交于 2019-12-09 14:02:16
问题 I have a tablix that has data for one day, and I need to have the same data at the bottom but in 3 different lines. I'd like to copy the main day table 3 times at the bottom, and then use different datasets for each one. I tried copying the tablix and pasting it into the Body beneath the tablix, but I get the following error: Report Builder was unable to paste successfully. How can I accomplish the copy and paste? Or if that isn't possible, is there another way to do what I am trying to

In VS2010 Beta 2, the Web Report Viewer does not display the content of the report

烂漫一生 提交于 2019-12-09 12:53:46
问题 In VS2010 Beta 2, the Web Report Viewer does not display the content of the report, whether I use Local or Remote mode. It only display the following "disabled" bar [image] The report I created works fine in the Report Server. Here is the code for displaying the report: ReportViewer1.ProcessingMode = ProcessingMode.Remote; ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost/reportserver"); ReportViewer1.ServerReport.ReportPath = "/MyReports/Report1"; ReportViewer1