reporting-services

Stored Procedure with multi value parameter behaving strangely

穿精又带淫゛_ 提交于 2021-02-17 05:10:12
问题 I created a stored procedure in sql server to feed SSRS to allow it to accept Multiple values. I have created it and when I used it in my report or execute it in sql server I have the following error message. Is there anything i am missing? Thanks Msg 207, Level 16, State 1, Line 35 Invalid column name 'London'. This is my sample data. feel free to create table with it DECLARE @MyTables AS TABLE (ID INT, City VARCHAR(100)) INSERT INTO @MyTables VALUES (1,'London'), (2,'Chester'), (3,'Luton'),

How to show webforms page .aspx in VIEW MVC3 Razor

℡╲_俬逩灬. 提交于 2021-02-16 06:49:08
问题 My project developed in MVC3 Razor Tech. My master page and content page are developed with Razor MVC3. I want to show a SSRS report builder on my project. I searched in blogs and come to know that we can't show the SSRS reports in MVC3 Razor. Since We can used 'webform' in MVC3 we can show the report. Problems: In my project both master and content page are all developed with Razor .cshtml Since accessing .aspx is difficult.Correct me if I'm wrong. Requirement: Please help me to show the

SQL variable to hold list of integers

无人久伴 提交于 2021-02-15 08:12:16
问题 I'm trying to debug someone else's SQL reports and have placed the underlying reports query into a query windows of SQL 2012. One of the parameters the report asks for is a list of integers. This is achieved on the report through a multi-select drop down box. The report's underlying query uses this integer list in the where clause e.g. select * from TabA where TabA.ID in (@listOfIDs) I don't want to modify the query I'm debugging but I can't figure out how to create a variable on the SQL

SQL variable to hold list of integers

一个人想着一个人 提交于 2021-02-15 08:03:25
问题 I'm trying to debug someone else's SQL reports and have placed the underlying reports query into a query windows of SQL 2012. One of the parameters the report asks for is a list of integers. This is achieved on the report through a multi-select drop down box. The report's underlying query uses this integer list in the where clause e.g. select * from TabA where TabA.ID in (@listOfIDs) I don't want to modify the query I'm debugging but I can't figure out how to create a variable on the SQL

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',

Passing Parameter from SSRS dataset to Snowflake

拟墨画扇 提交于 2021-02-10 14:06:03
问题 Is there a way to pass parameters from SSRS dataset to Snowflake.Previously I am connecting SSRS to SqlServer DB and passing parameter as @client_id.I want to move queries to run on snowflake.But i don't know how to pass parameter to query. When I use standard parameters against Snowflake I get syntax error @client_id is unexpected 来源: https://stackoverflow.com/questions/59295902/passing-parameter-from-ssrs-dataset-to-snowflake

SSRS Summing Group Variables outside of the group

前提是你 提交于 2021-02-10 11:46:23
问题 I have succeeded in building a number of group variables within an SSRS report, however what I want to do now is to use that variable outside of the group. eg - I have a variable that calculates a payment within one dataset, and another one that calculates a payment within another dataset. The first would be =Variables!QualityPayment.Value , the second would be =Variables!RevenuePayment.Value . Revenue and Quality are displayed in different SSRS tables. I want to add the Quality Payment and

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

How do you set up a Report Server instance?

北战南征 提交于 2021-02-08 19:40:49
问题 I'm trying to set up Microsoft SQL Server Reporting Services. I open the Reporting Services Configuration Manager, and it asks for a Server name. Thing is, I don't know the server name, because as far as I know haven't set a report server up yet. So, how do you set one up for Microsoft SQL Server 2008 R2? There seems to be plenty of documentation out there how to configure one, but not how to install a new instance. 回答1: Server name is the name of the database server. You first have to