reporting-services

SSRS data fetch and email

喜夏-厌秋 提交于 2019-12-25 14:03:54
问题 I want to know how can we send automatically email of the 'select' query results of User database with sql server. As i have to send few reports on daily basis to HO for as per status reports. Kindly help me through.. Thanks 回答1: You should look into Subscriptions and Delivery part of SSRS. Link here - Subscriptions In delivery scenarios look for E-mail . Also if you are sending those reports to a fixed HO then normal standard subscriptions will do for you, else if your HO changes based on

Creating column heading that dynamically increases in SSRS report

蹲街弑〆低调 提交于 2019-12-25 13:15:10
问题 I have to create a report that looks like below. All the months are dynamically called through Matrix report. And i am not able to place the heading "Yearly Counts" that also dynamically varies with no of months. Could you please help me in doing this. 回答1: If I understand you correctly, you are able to get the Matrix to dynamically add 1 column per month, but you can't get the "Yearly Counts" cell to work correctly, right? If you use the following option (right-click on the box to the left

Microsoft.Build.Task missing

你说的曾经没有我的故事 提交于 2019-12-25 12:37:10
问题 I am trying to use .Net to load reports into SSRS. When I looked up example code they used the Warning class which, after futher research, seems to be in the Microsoft.Build.Task namespace. My problemis that this library doesn't show up when I try to reference it and when I try to add references it doesn't Microsoft.Build doesn't show in the list of .Net references. What am I doing wrong? The compiler does not recognize the class in the following: Warning[] warnings = Null; 回答1: If your using

Replace different values with specific text in report builder

孤人 提交于 2019-12-25 11:56:47
问题 I have a table that will return a number and i need to convert it into a text label 20 = Entered, 30 = Returned, 200 = Cancelled, 220 = Complete, 300 = Deleted I want these to show in my report as simply 'Complete' etc. Im able to use the replace function to get one value to show correctly in the report: =Replace(Fields!status.Value,"220","Complete") But i cant work out how to do this for each possible number that will show in this column 回答1: Best way would likely be modifying the query with

show/hide columns in SSRS report 2012 based on Multiselect parameter

随声附和 提交于 2019-12-25 09:43:04
问题 i have been trying to hide/show columns within my tablix based on multi value parameter , but whenever i am plugging in the expression in the column visibility properties it is not showing what i select from the parameter and hide what is not select. Here is the expression: =IIF(InStr(JOIN(Parameters!parameter.Value,", "),"value"),false,true) any help??? 回答1: If I understand correctly, you want to show the column if you select a value which contains "value". Right? So the expression should be

SSRS Date Culture Error

放肆的年华 提交于 2019-12-25 09:42:38
问题 I've got a strange error when trying to pass date parameters to SSRS. All of the dates are retrieved using a DatePicker and validated so that only real dates are allowed. However passing dates in the format dd/mm/yyyy causes SSRS to throw TypeMissmatchException if the day is 13 or higher. I'm assuming this is due to the culture of SSRS being set to EN-US, is it possible to change this? or do I need to convert all dates that I send SSRS into American format. 回答1: The easiest way is to send

SSRS 2008 R2 Check if external image exists on report server

放肆的年华 提交于 2019-12-25 09:42:24
问题 I'm working on an SSRS 2008 R2 report and I'm displaying images dynamically. I would like to hide the image box and display an icon with text that reads "Image not found" if the image doesn't exist on our report server. I've tried a few things with expressions, but I can't get them to correctly return true or false, based on if the image exists or not. The expression I'm using to display the image is: ="/BusinessIntelligence/Drilldown Reports/" + Fields!item.Value + ".jpg" To test if I could

Get the first value of result of LookupSet if not null in SSRS for Dynamic 365

时光毁灭记忆、已成空白 提交于 2019-12-25 09:40:07
问题 I'm writing a report for Microsoft Dynamics 365 Version 1612 (8.2.2.113) which uses the following expression: =IIF(LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet").Length = 0, "", LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet")(0) ) The idea is to return the code of first product with name as "Test", and return blank if there is no match. However, because IIF in SSRS does not short-circuited, even

Get the first value of result of LookupSet if not null in SSRS for Dynamic 365

岁酱吖の 提交于 2019-12-25 09:39:32
问题 I'm writing a report for Microsoft Dynamics 365 Version 1612 (8.2.2.113) which uses the following expression: =IIF(LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet").Length = 0, "", LookupSet("Test", Fields!new_product_name.Value, Fields!new_product_code.Value, "Test_DataSet")(0) ) The idea is to return the code of first product with name as "Test", and return blank if there is no match. However, because IIF in SSRS does not short-circuited, even

SSRS Export to CSV oddity

耗尽温柔 提交于 2019-12-25 09:37:51
问题 I have a report created with a row above the header and a footer. It is treating the row above the header as a seperate column as well as the footer and adding this row over and over for each row. I need one line as the first line of my CSV file (not to be repeated) and the same for the footer and all of the data inbetween those two lines. I have tried to take them out of the table and put them into seperate text boxes but this has the same result. As you can see in the CSV image it treats