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

How to disable automatic report generation when report opened?

$
0
0
Hi all,

I have a report I'd like to open in 'dormant' mode initially. ie the user has to click 'view report' to generate the content.

The only way i've been able to achieve this is to add a parameter and set it to not allow nulls and set the initial value to be null.

I can live with this for now because the report has a datatime paramenter so the above hack is transparent I'd like to have the default value set to Today(). But this causes the report to fire and generate automatically when it is opened.

This is in 2005

How to Create Optional (out of 3 parameters use select value for only 1 parameter)cascading multivalue parameter in SSRS 2008R2

$
0
0

Hi,

I Have 3 multivalue cascading Parameters:

1.CustomerFN

2.CustomerLN

3.CaseID

if I want to make parameter1 and parameter2 optional means if user dont select this two and just select CaseID still user Can view report.

Can I have step by step solution how to make my parameter optional.

I dont want to handle Null or blank.

Replay soon please.

Thank You,

KKP

Sales line item report

$
0
0

I need to build a report with sales line items. The details are below


Does anyone have any ideas of how I would accomplish this?

Note: the parameters are in correlation with the top row of to and from dates. 


ipainter


search filter then report, multi layer report, when to use SSRS and when to just build a web app

$
0
0

wasn't sure of a good title for this.

I need to build a 'multi layer' report in that you start with search fields for people, then return a list of people meeting the search criteira, this alone I know how to do, but i want drill down further...

once a list of people are displayed, I want to be able to click on a person and then display a list of things tied to the person selected (will not need to select more than one person).

now with the list of things for the selected person, i want to be able to select one or more thing and then create a report, one page for each thing selected and/or just display all the things selected.

is this a big challenge in SSRS?

more generally, do some of you out there run into the decision of "is it worth trying to figure this out in SSRS or should I just build a seperate web app?"

Is it possible to group multiple datasets together with page breaks?

$
0
0

Hi,

I have three data sets within a report called 'Main', 'Sub1', and 'Sub2'

Each of these 3 datasets are MDX queries with different levels of granularity, but they all have the same number of columns. One of the column names is AccountNumber.

What I want to be able to do is to write a report that has 3 tables on one page (one for each dataset) and have a page break on AccountNumber.

So the report would have something like the following on the first page:

and then on the second page:

Is this possible? Im not that experienced with SSRS so I might need a bit of a walkthrough if anyone can help.

Thanks in advance.


Normal and stacked column chart in same report

$
0
0

Hi All,

I want to display normal and stacked column in same chart as show below. but stacked column is not allowing multiple column for category.

Can any one please help me on this?


SQL Report Builder 3.0

$
0
0

I am using SQL report builder 3 pulling data from a SQL database and have created 4 tables in SQL report build then have a main table pulling the total of each of the other 4 tables using the following expression for each table =ReportItems!Textbox8.Value. How can I sort the main table to have the highest value at the top?

Thanks

Adam

Can I dynamically hide a column in the tablix without calling the stored procedure associated with the dataset when a report parameter changes?

$
0
0

I have an SSRS report that has a parameter "RptParms" that allows multiple values to be selected by the user.  Example values are 'AAA', 'BBB', 'CCC', and 'DDD'.

When the user selects "View Report" a stored procedure is run that returns 100 rows of 10 columns each to the dataset.

After the data is returned and when the user then selects 'CCC' as one of the parameter choices I want to hide 2 of the columns without calling the stored procedure again to return the 100 rows.

The visibility expression for these 2 columns will produce code for the RDL similar to the following:

              <Visibility>
                <Hidden>=iif(Filter(Parameters!RptParms.Value,"CCC").Length&gt;0,true,false)</Hidden>
              </Visibility>

Can I dynamically hide these 2 columns in the tablix without calling the stored procedure associated with the dataset when a report parameter changes?

Thank you for your assistance.


Passing Single value and Multi value parametes to SSRS report server from asp.net

$
0
0

Hi,

  I have been struggling with this for the past 4 days. I tried all possible solutions from different forums. I do have two parameters in the reports. The first one can accept a single value and second parameter accepts multiple values. I have set the 2nd parameter as multi value parameter and its expression as Join(Parameters!Route.Value,","). For some reason I get the error message “Parameter “Route” is missing its value”.  Here is my code

If Not ((ddlLocation.SelectedValue = "") Or (chkMultipleRoutes.SelectedValue = "")) Then
            'Dim SelectedRoutes As New List(Of String)
            Dim myAL = New ArrayList
            Dim Routes As New List(Of String)
            myAL.Add(ddlLocation.SelectedValue)
            For i As Integer = 0 To chkMultipleRoutes.Items.Count - 1
                If chkMultipleRoutes.Items(i).Selected Then

                    'txtSelectedRoutes.Text += chkMultipleRoutes.Items(i).Text + "','"
                    myAL.Add(chkMultipleRoutes.Items(i).Text)

                    txtSelectedRoutes.Text += chkMultipleRoutes.Items(i).Text + ","
                    txtSelectedRoutes_PopupControlExtender.Cancel()

                End If
            Next



            Dim reportParameterCollection As ReportParameter() = New ReportParameter(1) {}
            reportParameterCollection(0) = New ReportParameter()
            reportParameterCollection(0).Name = "LocationID"
            reportParameterCollection(0).Values.Add(ddlLocation.SelectedValue)

            reportParameterCollection(1) = New ReportParameter("Route", CType(myAL.ToArray(GetType(String)), String()))



            ReportViewer1.Visible = "True"
            ReportViewer1.ProcessingMode = ProcessingMode.Remote
            ReportViewer1.ServerReport.ReportServerUrl = New Uri("http://test/ReportServer_RPT")
            ReportViewer1.ServerReport.ReportPath = "/ReportTest"

            ReportViewer1.ServerReport.SetParameters(reportParameterCollection)
            ReportViewer1.ServerReport.Refresh()

 

 


 I really appreciate any help this. What is that I am doing wrong here?

 

 

 

 

 

Thanks

 

ylsv


Making multivalue parameter as optional in SSRS 2012 report

$
0
0

Hi,

I have a report in which I am using a multivalue parameter. As per the requirement, this parameter should be optional. Looking at the possible workarounds, I selected all the values by default, so that if user moves ahead without touching the parameter, all values are selected and reports will display data accordingly. And if user wants a specific data, he/she can deselect all values, and select specific values and run the report.

But the issue I have is that there are records in database which have Null value for this parameter column. From the workaround above there has to be some selected value in this parameter, and as a result those records where this column value is empty are not getting displayed on report.

How do I go about this then, I need a workaround where at times all values are selected or specific values are selected or no values selected at all for this parameter. First two I have achieved, wants something for third as there are records which have this column value empty.

Thanks in Advance !! 


Thanks & Regards, Abhi

Exporting to Excel from Report Manager Problems

$
0
0

Hello Experts,

I am facing an issue with SSRS 2008 Report.

Well it running fine in VS2008 and Report Manager but when i try to export in Excel. It's giving me error message.

Well let me explain a bit. This report is a master report and there are 8 detail reports are linked from this report. I dont no is that an issue. How can i solve this problem. Any help is highly appriciated. Thanks in advance and looking forward to hearing from you people.

Description:An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="Off"/></system.web></configuration>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --><configuration><system.web><customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/></system.web></configuration>

Server Error in '/Reports' Application.

Runtime Error

 


Dasari

How to get the distinct counts from two DataSets in SSRS Reports?

$
0
0

I have two SharePoint List Name as A and B. A List has columnsCountry Name,ID and B List has Column New ID

List A

Country Name : ID

AU                       001

AU                       002

AU                       007

MY                       003

IN                        004

List B

New ID

002

003

005

006

007

I have created 2 data sets , dsA and dsB .Using these data sets how to calculate the distinct count of ID's.

I want to create a report in SSRS mentioned  below

Distinct Counts for Country Name

AU   2

MY   1

IN   0

Any workaround ? Please give your valuable suggestions


Interact with Power View report from PowerPoint Deck - Error: The user does not exist or is not unique.

$
0
0

I have Power View installed and configured (SQL 2012 SP1 CU4), and creating reports through the browser is working absolutely fine.

However, if I export to PowerPoint and then try to "Interact" with the embedded reports I get an error message:

Report Server has encountered a SharePoint error. ---> Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: Report Server has encountered a SharePoint error. ---> Microsoft.SharePoint.SPException:The user does not exist or is not unique. ---> System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors

<detail><ErrorCode xmlns="rsSharePointError</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsSharePointError</ErrorCode><HttpStatus xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="Report">http://www.microsoft.com/sql/reportingservices">Report Server has encountered a SharePoint error. ---&gt; Microsoft.ReportingServices.Diagnostics.Utilities.SharePointException: Report Server has encountered a SharePoint error. ---&gt; Microsoft.SharePoint.SPException: The user does not exist or is not unique. ---&gt; System.Exception: For more information about this error navigate to the report server on the local server machine, or enable remote errors</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsSharePointError&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3368.0</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsSharePointError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3368.0</HelpLink><ProductName xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="11.0.3368.0</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">11.0.3368.0</ProductVersion><ProductLocaleId xmlns="127</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>Microsoft.ReportingServices.SharePoint.Server</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>Microsoft.ReportingServices.SharePoint.Server</Source><Message msrs:ErrorCode="rsSharePointError" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsSharePointError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=11.0.3368.0" xmlns:msrs="Report">http://www.microsoft.com/sql/reportingservices">Report Server has encountered a SharePoint error.</Message><MoreInformation><Source>Microsoft.SharePoint</Source><Message>The user does not exist or is not unique.</Message><MoreInformation><Source /><Message>For more information about this error navigate to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>


regards
Martin Hatch
MCPD & MCITP SharePoint 2010
MCTS WSS 3.0 | MOSS 2007
www.martinhatch.com

Report Designer in Visual Studio 2008 - Grid Lines?

$
0
0
Can anyone tell me what the story is with the report designer in Visual Studio 2008? (or the SQL Business Intelligence Development Studio)

I have a reports project that I have upgraded from SSRS 2005 , however the report designer in Studio 2008 appears to be missing grid lines and snap to grid functionality.

I can't see Grid lines in the 2008 designer at all! Where have they gone? In Visual Studio 2005 you could turn them on and off , set snap to grid etc through the report properties dialog box however that functionality isn't there in Visual Studio 2008 (I'm using the developer edition)

Is this just the version of Studio I'm using or have they been removed? Without grid lines the reports we have are going to be very difficult and fiddly to edit and would probably stop us upgrading.

thanks

CONDITIONAL TOGGLING

$
0
0

Hello,

I am using adventureworks2008 r2 database.Tables are Sales order header and sales order detail.

My requirement is that the toggle option on person id will display the detail of the sales , if the total sale is greater than 5000 otherwise will nt display the detail of the sale.

Regards

Thanks in advance.plz reply itz urgent.



How to open Pop Up Window in SSRS Reports in 2008 R2?

$
0
0

Hi,

I am running SQL Server 2008 R2 Reporting Services . I am trying to set the action (navigation) for a text box open a URL in POPUP window like same window.

What my requirement is,

When i click Text box ,will open another report through POP UP Window in same page

please explain step by step, am new to SSRS

Can anyone explain briefly How can i achieve this? its urgent?



#Error in SSRS Expression

$
0
0

Hi In Total I am having formula like this

=IIF(IsNothing(Fields!TotalCharges.Value) or Fields!TotalCharges.Value <=0 , 0,Sum(Fields!Payments.Value) / Sum(Fields!TotalCharges.Value))

But still it is giving me error.Can you help me for the same.

SSRS control values or limits to a column chart

$
0
0

Hi,

I'm building a column chart in SSRS that has a category group and a series group. I need to add some control values or limits to some of the categories.

Here's an example picture of the desired result:

I tried adding a scatter chart to handle the limits but it doesn't work properly because of the series group which wants to draw a dot for each series and also create a legend for each series (or I didn't know how to configure it properly). Is there any way to accomplish this? If it isn't possible to use a dot to indicate the limits other options are welcome.


Internet Explorer Script Error when Select Data Source Item on SharePoint 2010

$
0
0

I have SQL Server 2008 SSRS with SharePoint 2010 Integrated mode.

I can see all reports succesfully on Report Viewer, but problems occurs when manually selecting data source items. Why this occurs?

SharePoint Library->Report.rdl->Manage Data Source->Select Item->Click Folder DataSource

Internet Explorer Script Error
Line 329
Char 1
Object doesn't support his property or method.
Code 0
URL: http://portal.com/Name/ReportServer/RSItemPicker.aspx?Fallback=http%3a%2f%2portal.com%2fReportingLibrary
Do you want to continue running scripts on this page?


Kenny_I

Get count depending on criteria using an expression.

$
0
0

Hi all,

I have a dataset that includes information on the compliance of users machines when being patched and am in the process of creating a report.
I need to be able to check this dataset for machines with 100% compliance rate but am having trouble doing this. (Effectively get the count of the rows that meet the criteria of =100)

I am hoping to display these figures using a chart so it must be done using an expression.

I've checked a lot of links on the internet and haven't found anything specific enough for me, can anyone offer any guidance on how to get the count when taking a criteria(=100) into account.

=Count(IIf(Fields!Percentage_Compliant.Value = 100, 1, 0)) - this just appears blank, does anyone know why?...

=Count(Fields!Percentage_Compliant.Value) returns 80 which is correct

Thanks a lot, I look forward to your replies!


ps. this is using report builder 3.0 and using standard expression wizard rather than using SQL


Viewing all 10045 articles
Browse latest View live


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