ssrs-2012

Issue with border lines in a matrix report

那年仲夏 提交于 2021-02-11 14:19:43
问题 I have a requirement to display the Product name and the related Amount in a report grouped by each CategoryId (no need to show categoryId in the report, only used in grouping) as shown below. Below are the design steps. Added a matrix with 2 rows and a column grouping by CategoryId In the first row of matrix, added a tablix with 2 columns (Product and Amount) and row grouping on Product. In the second row of matrix, added a tablix with 2 rows (Subtotal and GrandTotal) and 2 columns (Product

Applying Custom Gradient to Chart Based on Count of Value

Deadly 提交于 2021-02-11 13:50:39
问题 I am taking the hours in a day (1-24) and for each hour I am counting the number of requests that are made. I have an SSRS report that I'd like to color a chart based on the count of that value. This should be dynamic so that the highest count will be darker than the rest and it will decrease the gradient down to the lowest value which would be the lightest color. Because the count is variable, can change, and has the potential for any number, I can't simply say "if count > 1 then '#ffffff',

Enable EnableExternalImages property for a subreport (SSRS)

核能气质少年 提交于 2021-02-10 14:33:38
问题 I have a main report wich includes many sub reports. In eah sub report i have an image loaded externally. My main report is loaded fine but when i try to load a subreport i get an error saying that : EnableExternalImages property is not enabled in my sub report. My question is how to enable it? i can't acess to my sub report via code behind. thanks. 回答1: When loading an image from a file location you need to specify "File:" in front of the absolute file path for the image value property. =

Enable EnableExternalImages property for a subreport (SSRS)

谁说胖子不能爱 提交于 2021-02-10 14:30:11
问题 I have a main report wich includes many sub reports. In eah sub report i have an image loaded externally. My main report is loaded fine but when i try to load a subreport i get an error saying that : EnableExternalImages property is not enabled in my sub report. My question is how to enable it? i can't acess to my sub report via code behind. thanks. 回答1: When loading an image from a file location you need to specify "File:" in front of the absolute file path for the image value property. =

Enable EnableExternalImages property for a subreport (SSRS)

﹥>﹥吖頭↗ 提交于 2021-02-10 14:29:37
问题 I have a main report wich includes many sub reports. In eah sub report i have an image loaded externally. My main report is loaded fine but when i try to load a subreport i get an error saying that : EnableExternalImages property is not enabled in my sub report. My question is how to enable it? i can't acess to my sub report via code behind. thanks. 回答1: When loading an image from a file location you need to specify "File:" in front of the absolute file path for the image value property. =

SSRS multivalue parameter to multi-row table

痞子三分冷 提交于 2021-02-10 07:25:54
问题 I want to generate a multi-row table with a multi-value parameter. The only thing i can do now is passing the specified parameter into every row like below: =Parameters!P.Value(0) =Parameters!P.Value(1) ... =Parameters!P.Value(n) Is there a way to do it dynamically? 回答1: Interesting question, the only I can think of is converting the parameter array into xml in a dataset, and then converting it into a table via xml nodes. The data set parameter (lets call it @par) then should be set in a

testing mdx query with parameters in SSAS

杀马特。学长 韩版系。学妹 提交于 2021-02-10 05:48:20
问题 I'd like to test a MDX query in SSAS. I did the following steps until now. I opened the SQL Profiler and ran the SSRS report I found the query I needed (with parameter values) and selected it sql profiler I pasted the code in ssas Since my SSRS MDX query used StrToMember and StrToSet functions, I surrounded the parameter values with quotes, e.g. “[Measures].[Return On Average Assets]”. The query SELECT { [Measures].[Broj Pristapi] ,[Measures].[Broj Nalozi] } ON 0 , Except ( StrToSet("[Dim

SSRS Show Base64 String or Byte Array From URL as Image

删除回忆录丶 提交于 2021-01-29 15:20:41
问题 I have a wevservice that returns an image as a Base64 string, or as a byte array, that I need to show as an image in SSRS. Not sure how to do that. I tried using an expression in the image properties: =System.Convert.FromBase64String("http://localhost:5460/api/Report/GetImage") but that does not work. How do I get the string or array from the URL, then display it as an image? I have also tried a Code block, but when I try Dim hwr As System.Net.HttpWebRequest hwr = System.Net.WebRequest.Create

How to set dynamic axis unit in SSRS Reports?

和自甴很熟 提交于 2021-01-29 11:12:29
问题 I have a dataset that contains data in below format: The graph you see on the right is a Line chart that is being used in SSRS report. This is the sample data you see in here below. The graph in SSRS report contains month wise data (as oppose to day wise here) I need to set the axis dynamically (Y-Axis numbers) so that when the numbers get changed the said graph is also updated without updating the Y-Axis manually. I know I can set the vertical axis property of line chart and then go to

Location of configuration file used by Report Wizard Query Builder to source default values for report formatting

我只是一个虾纸丫 提交于 2021-01-29 02:27:43
问题 When I use the Report Wizard Query Builder to create a report the report is created with a selection of default values. These default values are revealed by right clicking on the Report.RDL file in Solution Explorer and opening it with the XML (Text) Editor. Examples of the default values that are applied by the Report Wizard when creating the Report.RDL file are: Example <df:DefaultFontFamily>Segoe UI</df:DefaultFontFamily> Example <Color>#666666</Color> Example <BottomBorder> <Style>Solid<