ssrs-2008

a SSRS 2008 problem:How to sum with a condition

血红的双手。 提交于 2021-02-11 15:27:08
问题 I have a SSRS report in which there is two column Current_Product and TempAnnSaving. Current_product has value current product and thier match. that means each current product have a match row or it may be more than one row.Each match row has a TempAnnSaving value in TempAnnSaving column.Now at the end of the report i have to show the total sum of TempannSaving,but there is a condition for sum--i have to sum only first match of each current product . here is image http://www.imgplace.com

a SSRS 2008 problem:How to sum with a condition

旧城冷巷雨未停 提交于 2021-02-11 15:26:54
问题 I have a SSRS report in which there is two column Current_Product and TempAnnSaving. Current_product has value current product and thier match. that means each current product have a match row or it may be more than one row.Each match row has a TempAnnSaving value in TempAnnSaving column.Now at the end of the report i have to show the total sum of TempannSaving,but there is a condition for sum--i have to sum only first match of each current product . here is image http://www.imgplace.com

a SSRS 2008 problem:How to sum with a condition

穿精又带淫゛_ 提交于 2021-02-11 15:26:43
问题 I have a SSRS report in which there is two column Current_Product and TempAnnSaving. Current_product has value current product and thier match. that means each current product have a match row or it may be more than one row.Each match row has a TempAnnSaving value in TempAnnSaving column.Now at the end of the report i have to show the total sum of TempannSaving,but there is a condition for sum--i have to sum only first match of each current product . here is image http://www.imgplace.com

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

IIF IsNothing expression example

牧云@^-^@ 提交于 2021-02-08 10:50:46
问题 I'm using SSRS 2008 and am trying to create an expression where if date field A is greater than date field B or date field A is NULL then this filter will select this record. How do I do this? I tried this expression to select NULL date fields, but it is not working. I set the datatype to "Text" for now--should I set this to boolean instead? If so, then how can I modify this expression? =iif(isnothing(Fields!A_date.Value),"yes","no") 回答1: =IIF((CDATE(Fields!A_date.Value)>CDate(Fields!B_date

How to display an image from a SQL query that gives a file path in SSRS Report?

房东的猫 提交于 2021-02-08 10:25:04
问题 I am working on a report, which I would like to display an image in my database from a query with a parameter. For example: SELECT pictureATTACHMENT FROM myDatabase.dbo.ATTACHMENT WHERE DESCRIPTION LIKE @thisCampaign + '%' My query returns a file path to the image: For example: \\DASERVER\FOLDER\FOLDER\Data\Attachment\filename.png How do I need to format the expression for the report to display the image? I have tried doing: =file:\\DASERVER\FOLDER\FOLDER\Data\Attachment\filename.png But no

SSRS - Importing data from a CSV file to use as a data source on a report server

隐身守侯 提交于 2021-02-07 08:52:46
问题 I am hoping that someone could help me with my problem. I am able to make a local connection to a csv file and import it and use the data within the report. One problem is when I put the report onto a report server. It can't access the file on the local machine. Would anyone know of a way, possibly using ODBC, to allow the report on the server to view the CSV file on the local machine? 回答1: You can use an ODBC connection to connect to a CSV file. You just need to point the ODBC connection at

SSRS - Importing data from a CSV file to use as a data source on a report server

限于喜欢 提交于 2021-02-07 08:50:36
问题 I am hoping that someone could help me with my problem. I am able to make a local connection to a csv file and import it and use the data within the report. One problem is when I put the report onto a report server. It can't access the file on the local machine. Would anyone know of a way, possibly using ODBC, to allow the report on the server to view the CSV file on the local machine? 回答1: You can use an ODBC connection to connect to a CSV file. You just need to point the ODBC connection at

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

SSRS Color Gradient

佐手、 提交于 2021-01-29 05:29:13
问题 I've been able to figure out how to make certain values the certain colors I would like. However, I'd really like to be able to create a color gradient so that it's more of a gradual change between each value. 0 = white from white to green between 1 and 15, gradient from green to yellow between 16 and 25, and gradient from yellow to red between 26 and 35, anything above 35 is red. This is the code I have in the background fill expression: =SWITCH( (Sum(Fields!Total_Transaction_Count.Value) /