Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all 10045 articles
Browse latest View live

AutoRefresh in SSRS 2008? (Removed From SSRS 2005??)

$
0
0

Hi All

In SSRS 2005, if I go to Report Properties, I could specify how often the report gets refreshed.

This option seems to be REMOVED from SSRS 2008.

I need my Dashboard Report (with graphs) refreshed every 5 minutes.

Could someone please advise as where this option is (if it exists)?

And if it has been removed, could the SSRS team PLEASE explain why??

 

Regards,

Shiv


VS2012 SQL Server 2012 CustomReportItem not shown on toolbox

$
0
0

Im not pretty sure posting on this forum but want to try.

I have a custom report item which works fine with VS2010 and MSSQL2012.

But, when i created new report project (Business Intelligence Wizard), im unable to add my custom report item to toolbox.

I, as usually, selected Choose Items, selected my dll, and in the grid i dont see my report item. My attributes for CustomReportItem are:

[CustomReportItem("NAME"),
     DefaultProperty("CodeText"),
     LocalizedName("PROJECT NAME"),
     Editor(typeof (CustomEditor), typeof (ComponentEditor)),
     Description("NAME Designer")]
    [ToolboxBitmap(typeof (NAMEDesigner), "NAMEDesigner.bmp")]
    [System.CLSCompliant(false)]

I just replaced some text with NAME wording.

So why my report item is absent ? Maybe need another attributes in VS2012?

Thanks

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified in SSRS

$
0
0

Hi,

Am using SQL Server 2008 R2 and my Database is MYSQL 5.5.33,I Created on System DSN for connecting Mysql Database,

See here in my local machine works everything fine on to view the reports,

When i deployed reports from DEV to Production Environment,when i check the reports will get following error,

I created System DSN in Production Server also,Any one explain me where the problem is going on?

SSRS Parameter "SELECT ALL" only picks the first choice

$
0
0

So I've got a parameter for selecting the "Group".

It is a list of specified values. A,B,C,D,E,F,G and H.

I can select each one individually and it works great. But when I select "Select All" it will only show rows associated with Group "A".

I tried this article http://msdn.microsoft.com/en-us/library/aa337292.aspx and changed my filter expression from "Field.Group = @Group" to "Field.Group In @Group" but that produces the same results.

Any ideas?

In SSRS, After Export into excel how to give Sheet name.

$
0
0

Hi All,

 

when we export a Report in excel multiple sheets will open. How we can give the sheet name according of that report.

let me know about the same.

Thanks.

'System.Permissions.SecurityPermission, mscorlib... failed

$
0
0

My VB.net 2010 project is running under .net framework 2.0. It has reportviewer control displaying rdlc report (local report).

The references of the reports included in the project are Microsoft.ReportViewer.Common.dlland Microsoft.ReportViewer.WinForms.dll. There is no proplem running the program in my computer.

When the excutable file of the project plus the  the references were save on another machine, the program runs ok except when displaying the report with the reportviewer. The exception indicates theMicrosoft.ReportViewer.ProcessingObjectModel.dll is missing.

I then copy the  file  Microsoft.ReportViewer.ProcessingObjectModel.dllto the same directory of the excutable file. When displaying the report, is still give exception. This time the exeption is differnet.
The excepiton is not shown in the excepiton window but at the reportviewer control.

The exception reads like this:

An error occured during local report processing.
Failed to load expression host assembly.
Details: Request for the permission of type 'System.Permissions.SecurityPermission, mscorlib,
Version-2.0.0.0, Culture=neutral,PublicKey Token=b77a5c561934e089' failed.

What can go wrong here? I copied the Microsoft.ReportViewer.ProcessingObjectModel.dllto the program directory. Is it the right  way to sovle the missing dll file problem?

Kindly advise.

Thank you in advance.


TS Lim

Select column without table

$
0
0

hello guys!

in query designer once you type it will give you a column with 1 data on it.

SELECT 'data' AS COLUMN1

is there a way to add more data in Column1?

thanks in advance!

join columns

$
0
0

is it possible to join static query to existing table?

SELECT        1 AS Column1
UNION ALL
SELECT        2 AS Expr1
UNION ALL
SELECT        3 AS Expr1

join to:

SELECT Column2 FROM table

to my table that have the same result? it should be match by rows

this should be the result.

Column1 | Column2

1|1

2|2

3|3


SSRS 2012 Report with Cascading filters in Sharepoint integrated mode.

$
0
0

Hi

I have a SSRS report in sql2012 that uses cascading filters created with MDX from a data cube.

Example: State filter provides the list for the City filter from the Geography dimension.

I have installed the report in Sharepoint 2010 in Intergrated mode which will show the SSRS filters in the right pane. This all works well and I would prefer to keep it in Integrated mode if possible but the report filters on the right side is not practical (especially the Apply button being at the bottom of the pane).

My question is are there web part filters that will provide the same functionality as my SSRS report? Is there a solution that will allow me to have the filters at the top of the page?

Accessing SubReport information using ReportItems possible?

$
0
0

I am attempting to dynamically hide a report row in reporting services if the subreport contains no data however I see no way of doing it in SQL 2005 Reporting Services (with SP2).

 

Right now I have a table that has the following attributes:

 

1. Header Column with my column titles

2. One detail row, that has the =Field!fieldname.value underneath all of my column titles

3. An additional detail row that has merged all the cells of the columns so that it is one row without breaks.  Inside this row is a single subreport that works fine.

 

My question is, I have set the NoRows property to display "No data found...", however that is wasting a lot of space on the report, therefore I would like to just hide the row alltogether when there is no data from the subreport found.

 

I can not find a way to do this.  In fact in SQL 2005 when I click on a cell and goto expressions, and enter "

=ReportItems!", I would expect to see my subreport show up in the intellisense listing, however it does not.  Why doesn't it show up so I can see what types of attributes I can examine to see if one or more rows were generated with the subreport?  This way if no rows were returned I can set the visibility of the 2nd detail row to be hidden instead of visible.

how do i achieve scroll down facility in SSRS 2008 r2?

$
0
0
Hi , i got one new requirement like 
i need to display 4 chart reports in each page , for this i need to provide scrolling facility at the left hand side .

usually if our table report is too big then automatically report will provide scroll down facility at the right hand side  to see the data from top to bottom .
but scrolling down facility is not coming for chart reports

franklinsentil

Bar Graph spanned into multiple pages got unwanted while space in chrome/FF

$
0
0

Hi,

I have a report with multiple bar graphs that spanned into multiple pages. Each region has got a bar graph. I have set the interactive page size property to 0 so that all graphs will be shown in one page in the reoprt viewer control on a web page. This is working perfectly fine in IE. But in Google chrome and Firefox, there is lot of unwanted while space showing up. Tried setting up all kinds of properties on Report, Body, Rectangle and Tablix but none of them are removing this while space. Can anybody help me fix this issue?

Thanks

Prashanth


Prashanth Podduturi

can not see custom .NET Framework data provider in Report Builder's connection type, but can see in SSRS

$
0
0

Report Builder cannot see U2 ProviderI am using SSRS 2012SSRS can see U2 Provider.

I have U2 Data Server Provider for .NET( .NET Framework data provider ).

I have followed this link to register U2 Data Server Provider for .NET( .NET Framework data provider ) .

http://technet.microsoft.com/en-us/library/bb326409.aspx

See screen shot of SSRS and Report Builder.

My question is:

How to populate U2 Data Server Provider for .NET in Report Builder's connection type?


Rajan

how to Freeze Row header in matrix report of SSRS-2012 ??

$
0
0

Hi All,

I have a matrix report where i have a row and column group.My report is of around 100 pages.

I need to freeze the header and i want it to show in every page.

Do any 1 have idea how to fix it ???

Thanks in Advance.

Regards

MsbiLearning

Passing Parameters To Report Server Custom DataSet

$
0
0

Hi There,

I have a problem with debugging a custom datasource for a report.
I need to pass report parameters to the custom datasource, and I think I am doing it right, but obviously not as the result is not the desired result.

But I have not yet found a way how to check what parameters are actually being used by the custom datasource.
I want to pass "VarParms" to "_CommandText" of the custom datasource "GetData" sub and check the content.
How can I accomplish this?

'=========================================================================
'  File:      BaanstedeCdsReader.vb
'-------------------------------------------------------------------------
'  Summary:   Provides a means of reading one or more forward-only streams 
'    of result sets obtained by executing a command at a data source, 
'    and is implemented by Baanstede Data Processing Extensions 
'    that access BaanstedeIw3-routines.

'=========================================================================

'Imports System.Data.OleDb
Imports Microsoft.ReportingServices.DataProcessing
Imports Bst = BaanstedeCds.Baanstede
Imports BstSql = BaanstedeCds.BaanstedeSql
Imports BstAdo = BaanstedeCds.BaanstedeAdo
Imports System.Data.SqlClient

Public Class BaanstedeCdsReader
	Implements IDataReader

	Dim ProcId As Integer = Bst.ProcId
	Dim ParmProcId As Integer = Bst.ProcId

#Region "Variables"
	'============================================

	'The Instance Variables for the DataReader Class

	'============================================
	Private _Connection As BaanstedeCdsConnection
	Private _Command As String
	Private _CurrentRow As Integer = -1
	Private _DataTable As DataTable = New DataTable
#End Region


#Region "Constructors"
	'============================================

	'The Constructors for the DataReader Class

	'============================================
	Friend Sub New()
		'TODO: Implement the default constructor.
	End Sub

	Friend Sub New(ByVal cmdText As String)
		_Command = cmdText
	End Sub

	Friend Sub New(ByVal cmdText As String, ByVal connection As BaanstedeCdsConnection)
		_Connection = connection
		_Command = cmdText
	End Sub

#End Region

#Region "IDataReader Members"

	'==============================================

	'The Implementation of IDataReader Members

	'==============================================

	'Returns the total number of columns. Gets the number of fields in the data reader.
	Public ReadOnly Property FieldCount() As Integer Implements IDataReader.FieldCount
		Get
			Return _DataTable.Columns.Count
		End Get
	End Property

	'Gets the Type information corresponding to the type of object that is returned from GetValue.
	'Returns the Datatype of the current column.
	Public Function GetFieldType(ByVal fieldIndex As Integer) As System.Type Implements IDataReader.GetFieldType
		Return (_DataTable.Columns(fieldIndex).DataType)
	End Function

	'Gets the name of the field to find.
	Public Function GetName(ByVal fieldIndex As Integer) As String Implements IDataReader.GetName
		Return (_DataTable.Columns(fieldIndex).ColumnName)
	End Function

	'Return the index of the named field.
	Public Function GetOrdinal(ByVal fieldName As String) As Integer Implements IDataReader.GetOrdinal
		Return _DataTable.Columns(fieldName).Ordinal
	End Function

	'Return the value of the specified field.
	Public Function GetValue(ByVal fieldIndex As Integer) As Object Implements IDataReader.GetValue
		Return (_DataTable.Rows(_CurrentRow)(fieldIndex))
	End Function

	'Reads one row after the other. Advances the IDataReader to the next record.
	'The DataReader object enables a client to retrieve a read-only, forward-only stream of data 
	'from a data source. Results are returned as the query executes and are stored in the network buffer 
	'on the client until you request them using the Read method of the DataReader class
	Public Function Read() As Boolean Implements IDataReader.Read
		_CurrentRow = _CurrentRow + 1
		If (_CurrentRow >= _DataTable.Rows.Count) Then
			Return (False)
		Else
			Return (True)
		End If

	End Function

#End Region


#Region "GetData Method"

	'We are executing the command using the connection string that connects to the Active Directory.
	'Hard coding of the connection string is because it is the same for all the ADs.
	'Once we read the data using a DataReader, we place the same in a DataTable so that can be used for
	'Other processings.
	'Public Sub GetData(ByVal _CommandText As String)

	Public Sub GetData(ByVal _CommandText As String)
		'--------------------------------
		'	Ophalen Data in _DataTable	'
		'--------------------------------
		Dim ParmName As String = ""
		Dim ParmValue As String = ""
		Try
			'	ViewData= in _CommandText?
			ParmName = "ViewData"
			If Not BstSql.GetParmValue(ProcId, _CommandText, ParmName, ParmValue) Then
				GoTo End_Sub
			End If
			If ParmValue <> "" Then
				'	Haal ViewData adv ViewData=<ParmValue>
				If Not GetView(_CommandText, ParmValue) Then
					GoTo End_Sub
				End If
				GoTo End_Sub
			End If
			'	Project= in _CommandText?
			ParmName = "Project"
			If Not BstSql.GetParmValue(ProcId, _CommandText, ParmName, ParmValue) Then
				GoTo End_Sub
			End If
			If ParmValue <> "" Then
				'	Haal MutatieData adv Project=<ParmValue>
				If Not GetAdoTrnData(_CommandText) Then
					GoTo End_Sub
				End If
				GoTo End_Sub
			End If
			'	PrjId= in _CommandText?
			ParmName = "PrjId"
			If Not BstSql.GetParmValue(ProcId, _CommandText, ParmName, ParmValue) Then
				GoTo End_Sub
			End If
			If ParmValue <> "" Then
				If Not Bst.IsDigits(ParmValue) Then
					Bst.FoutMsg(ProcId, "PrjId is niet numeriek: " & Bst.EdVal(ParmValue) & " uit: " & Bst.EdVal(_CommandText))
					GoTo End_Sub
				End If
				'	Haal MutatieData adv PrjId=<ParmValue>
				If Not GetAdoTrnData(_CommandText) Then
					GoTo End_Sub
				End If
				GoTo End_Sub
			End If
			'	Default Data
			Dim Dc As DataColumn = Nothing
			Dim Rw As DataRow = Nothing
			Dc = New DataColumn("PrsId", Type.GetType("Sys


I'll be back


How can I pass multi valued parameter to a subreport

$
0
0

Hi I have a main report having a report parameter @offices.

This parameter is populated from separate dataset and contains list of multiple offices.

Now I need to pass this multi valued parameter to a sub report contained in the main report. I have tried using below approaches while passing parameter value in Subreport properties->Parameters-

1. Join(Parameters!Offices.Value, ",") 

2. Split(Join(Parameters!Offices.Value, ",") , ",")

But nothing worked. Every time the first value of the ofiices list is passed to the subreport.

Please suggest.

Thanks.

SSRS 2008: Different Stored Procedure based on value of Parameter Drop Dopw

$
0
0
Hello,

I'm new at SSRS and I'm trying to use a Data Source using a Stored Procedure. But the stored procedure to call is different depending on the value selected in one of the parameters (which is a drop down list).
The drop down list values look like "user name|user role". So if the user role is for example "Doctor" I want to call StoredProcA, otherwise call StoredProcB.

So when I set up the Dataset, instead of choosing a specific stored procedure, I click on the fx button to come up with a formula to figure out what Stored Proc to call:

=

IIF(Split(Parameters!User.Value,"|")(1)="Doctor", StoredProcA, StoredProcB)

When I click the OK button I get an error with the following: SqlCommand.ComandText property value is an invalid multipart name, incorrect usage of quotes.

Can someone help me out please?

Comparing row columns to identify max and min across the entire dataset

$
0
0

Hi All,

I have a task that requires me to sum the total of all the columns for each row in a data set. I then take this information and I store it against a Max and Min Field, as well as storing the actual count for that row. I need to apply the lowest and highest values by keeping the Max and Min total to compare to the rest of the data and at any time the Max and Min will go up or down. I need to show this... (i hope I've made sense)

If my values are:

10, 25, 15 then Actual=50, Max=50, Min=50

22, 30, 15 then Actual=67, Max=67, Min=50

25, 35, 30 then Actual=90, Max=90,Min=50

20, 20, 20 then Actual=60, Max=90,Min=50

5, 5, 3       then Actual=13, Max=90,Min=13

I need to know the max or min increases or drops per line. If it doesn't, then the current Max and Min will remain and as things change then the max may go up or the min may go down.

Any advice on how to do this using an expression? Here is my attempt....

MIN

=iif(Previous(Fields!Total.Value) < (Fields!Total.Value),Previous(Fields!Total.Value),Fields!Total.Value)

MAX

=iif(Previous(Fields!Total.Value) > (Fields!Total.Value),Previous(Fields!Total.Value),Fields!Total.Value)

SSRS 2012 Charts Not Rendering

$
0
0

Hi,

Report chart is not rendering.

Where should I look?I found no errors on application section of event viewer.

Resizing all columns at once in Visual Studio 2010

$
0
0

Hi

I previously worked with Visual Studio 2005 and if, for example, I changed the font size of the detail row to be smaller and wanted to make all columns narrower, I could select all columns in the table and resize one so that all other columns resized by the same degree. I cannot seem to do this in the newer version. Does anyone know if this is still possible?

Thanks

Jack

Viewing all 10045 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>