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

distinct sum in SSRS

$
0
0

HI Experts,

I have small issue. I want to sum the distinct values in SSRS report.

250

250

130

130

160

160

160

is that possible ?    this is my field =sum(Fields!ExpectedDurationSeconds.Value)

Note: I was creating the report by using MDX. More over these values are coming from the member not from the  measure.

Thanks in advance 



repeating data when export to excel

$
0
0

Hi,

             I have a ssrs report which is having 3 row groups in parent child group format.Child will display based on the toggling on parent.Also,

I have subtotal for each group(inside the group).The problem i am facing is,When i export that toexcel, the row group values are repeating.

Eg:  

          Region         region         |location            |Sales

           R1               | s1                    |l1                      |1000

                                subregionTotal                           | 1000

                              |s1                                               |  1000  

          RegionTotal                                                    | 1000    

          R1                                                                     |1000                         

Here u can see,R1 and s1 are repeating.

The data wont repeat, if i remove the toggle option in the row group property or if i add subtotal outside of each group.And

this problem i am facing only after exporting to Excel.

Thanks.

Thanks.      

         

Application installation did not succeed. Remote server returned on forbidden error:403

$
0
0

I configured form based sharepoint 2010 applications. Configured SSRS also fine.

In This application i created one document library and add the content content type of REPORT BUILDER REPORT.

When i try to download the report builder 3.0 applicatin by using add document in Documents folder, i did not get downloaded.

got the error

  "Application installation did not succeed.Cannot Locate Application files on the server.Contact the Application vendor or your administrator for assistance"

I checked in this location "C:\Program Files\Microsoft SQL Server\MSRS10_50.REPORTS\Reporting Services\ReportServer\ReportBuilder". ReportBuilder,ReportBuilder_3_0_0_0 and ReportBuilderLocalIntranet clickonce application there.

For other classic and claims mode web application, Report builder have successfully downloaded.

Please find the Below Error Details,

PLATFORM VERSION INFO
 Windows    : 6.1.7600.0 (Win32NT)
 Common Language Runtime  : 4.0.30319.269
 System.Deployment.dll   : 4.0.30319.1 (RTMRel.030319-0100)
 clr.dll    : 4.0.30319.269 (RTMGDR.030319-2600)
 dfdll.dll    : 4.0.30319.1 (RTMRel.030319-0100)
 dfshim.dll    : 4.0.31106.0 (Main.031106-0000)

http:localhost/_vti_bin/ReportBuilder/ReportBuilder_3_0_0_0.application ?SavaLocation

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of "localhost/_vti_bin/ReportBuilder/ReportBuilder_3_0_0_0.application ?SavaLocation resulted in exception. Following failure messages were detected:
  + Downloadinghttp: "localhost/_vti_bin/ReportBuilder/ReportBuilder_3_0_0_0.application ?SavaLocationdid not succeed.
  + The remote server returned an error: (403) Forbidden.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 * [1/5/2013 5:01:15 PM] : Activation of "localhost/_vti_bin/ReportBuilder/ReportBuilder_3_0_0_0.application ?SavaLocation has started.

ERROR DETAILS
 Following errors were detected during this operation.
 * [1/5/2013 5:01:15 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
  - Downloading "http:localhost/_vti_bin/ReportBuilder/ReportBuilder_3_0_0_0.application? savelocation" did not succeed.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
   at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
   at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
   at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
   at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
   at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
  --- Inner Exception ---
  System.Net.WebException
  - The remote server returned an error: (403) Forbidden.
  - Source: System
  - Stack trace:
   at System.Net.HttpWebRequest.GetResponse()
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

How to flag a Parameter in BIDS as a Report Part, and other concepts

$
0
0

I am using SQL Server 2008 R2 and am just getting started with Report Builder and Report Parts. In BIDS, under the Project Properties of a Report Server project, there is one called "TargetReportPartFolder" with a default value of "Report Parts". That, coupled with documentation that says I can publish a Parameter as a Report Part, leads me to believe that I can take an object in my report (I'm working in BIDS now, NOT Report Builder) and publish it to the sever as a Report Part. For the properties of an image item, there are properties for ComponentDescription, ComponentID, HideUpdateNotification, SourcePath, and SyncDate. But only two of these 5 are open for editing. I don't see that the image got published to the server's Report Parts folder when I published the report.

So the question is this: How do I take elements (Data Sets, Parameters, etc) from a report in BIDS and deploy them as Report Parts. I do realize that once deployed that I cannot then consume those Report Parts in BIDS, that they can only be consumed in Report Builder, but I'm OK with that.

I did find this post: http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e273d62c-eace-4174-ba70-b3fc13e3f5d7 and this MDSN entry:http://technet.microsoft.com/en-us/library/ee633670.aspx and it had some links, but there was nothing SPECIFIC about HOW to actually accomplish this. I didn't see any specifics in BOL either.

Other questions:

Is it even possible to do what I am trying, or am I FORCED to publish only from Report Builder?
What is the purpose of the properties under the Published Report Part section that is available for some report elements like charts and tables?

Thanks in advance.


Todd C - MSCTS SQL Server 2005, MCITP BI Dev 2008 Please mark posts as answered where appropriate.

Report Builder Datasource Issues

$
0
0

Are the embedded datasource(stored creditentials) reside at Reporting Server?

else

May i know where is it?

The situation is the Embedded datasource not able to polish when running the report,

it prompt the dialogs for inputting it, even tought i save it.

Would it be better to use shared datasource?

Thanks all guys.

andrew

SSRS 2008 R2 - Is there a way to customize the error message returned

$
0
0

Hi 

Currently, we are trying to find a way to have more use-friendly error message rather thanjust "The 'parameterName' parameter is missing a value"


After some research, I have some questions - 

1. at which phase the Custom Code part and Referenced Assemblies get executed? Can I think it as in ASP page world - pre load, pre render etc.?

2. Is there way to trap the Error message returned by the Reporting Server, and modify it?

3. I learned that there is only one event can be override in Customer Code part - OnInit, is there any other events currently available at this time?

Ultimately, is it possible to tweak the error message programmatically in either Custom Code part or Assembly? 

Thanks in advance.

SSRS reporting server config SSL to use different domain name

$
0
0

I am trying to config SSRS reporting server to use SSL cert from the manager. But it seems I don't have an option to put the correct SSL cert with header domain .

I have  a cert SSL with name srv1.mydomain.com and the report server is srv2.mydomain.com and when I try to select an SSL cert for the SSRS Reporting Services Configuration Manager (SQL 2008 r2 ) it only select the server that has name of the SSL Cert.

Is there a manaul way to edit it? or how do I select an SSL Cert with different server name. (the Cert of course includes several domains including the SSRS one). thanks

SQL 2012 Power View report based PowerPivot Model

$
0
0

Hi,

I've created PowerPivot Model having 2 tables coming from SQL 2012 database. One of this table is a dimension and the other one is a fact having measures.

I exported this workbook having PowerPovit model into Share Point 2010. When I go to create Power View report I am missing the option "Add to table as Sum" for numeric columns (measures). Not sure why is this? When I create a linked table based on data sitting in the worksheet and this option shows for numeric columns in PowerView report.

Anyhelp would be much appreciated.

Thanks


soori


multiple datasources in reportviewer

$
0
0

How to assign multipe datasource to reportviewer in C# windows application and render the same to a pdf file programitically ?

Please guide with an example ..

Regards..

Dynamic report based on the Table Chosen

$
0
0

Hi All,

I need to create a report which consists of three drop downs out of which, the first drop down being the tables list. Based on the table I choose the other two drop downs should get distinct values from the table respectively. The number of columns displayed for each table in the report varies and the column names are also not same. Can some one guide how this can be done or direct me to the link if this kind of req is already posted somewhere.

thanks,


VSP

Data driven subscription and 'select all' option with multiple value parameter

$
0
0

Hello,

I'm having some issues with a data driven subscription in SSRS 2012.

I have made a salesreport that can be run manually, but should also be run automatically via a data driven subscription. 

When run manually, the user usually wants to get specific customer data and uses a parameter to select one. When run via DDS, the user should get all customers. 

I would like to use just one report, for maintenance purposes, as the report itself is the same (DDS - manual)

It uses a multi value parameter that get's is values from a query. 

This query, in return, uses some other parameter (f.e. week, year)

Report data:

So something like:

Parameter 1 = @year

Parameter 2 = @week

Parameter 3 = @customer

The first dataset defines the available customers from an salesordertable:

SELECT customer,name FROM salestable WHERE year(date) = @year AND week(date) = @week GROUP BY customer,name 


The actual dataset for the report uses a third parameter:

SELECT * FROM salestable WHERE year(date) = @year AND week(date) = @week AND customer IN (@customer)

Where @customer is populated by the first dataset, but based on the same two parameters @year and @week, so you don't get all the customers that have placed a salesorder, but only relevant customers.

Now this works fine when manually running the report, but in data driven subscription the third parameter gives me some problems.

Subscription data

I'm using a simple query to get data for the data driven subscription.

Something like:

SELECT year(getdate() AS year, week(getdate()) AS Week, which would return 2012,51

This I'm passing as the 'database' values for the first two parameters. 

But the third parameter (@customer) is not 'working'. 

Question and attempts:

Since it should select all customers available when run via DDS, I tried making a default value based on the first dataset (this worked when run manually, it automatically selected all customers) 

I did check the 'default' option in the DDS - manage page for the third parameter, but it gives me the error:

This report requires a default or user-defined value for the report parameter 'customer'. To run or subscribe to this report, you must provide a parameter value. (rsReportParameterValueNotSet)

I did see some solutions here pointing to a manual fill of the available values for that parameter, but that does not suit my needs. 

Is there any solution for this, or do I have to use two reports (or a different approach, like allowing a NULL value?)

Any help would be appreciated. 

Thanks in advance,

Peter

configure ssrs 2008 r2 in winodws 8

$
0
0

Hi,

I've sql server 2008 r2 installed in my system with operating system: Windows 8.

I have successfully deployed reports using BIDS into the following url: http:localhost:8080/Reportserver_server2
but when I access the reports using the above url it prompts to enter domainuser and password for multiple times.

Note: the user is already Administrator

can anyone tell me how to access the deployed reports in sql server 2008 r2?

 

Thanks & regards,

Anand


Thanks & Regards, Anand

Alternate Fill Color

$
0
0

I would like to be able to alternate the fill color between white and gray as the data changes in COLUMN1.

The data in this column can be duplicated

For example

COLUMN1  COLUMN2

A 1 >>this should white
A 2 >>white
A 3 >>white
B 1 >> gray
C 1 >> white
C 2 >> white
D 1 >> gray
E 1 >> white
E 2 >> white
E 3 >> white
E 4 >> white
F 1 >> gray
F 2 >> gray

this is the detail of a tablix control

using ssrs 2008

thanks

How to customize the x-axis labels when data is date format

$
0
0

Hi All,

I need to customize x-axis label for a line chart.
From database i am getting a minimum value of feb-91 & max value of sep-12.
And appling the same values to x-axis with an interval of 6-months.
And i need to start my graph x-axis value from sep-90 and end value will be sep-12 with an interval of 6months,

The Properties for X-axis i Used are
 
 Horizontal axis --> Axis options--> axis type--> Scaler(numbers/date)
 minimum value
 Expression i am using for stting a min value in x axis are:
=Cdate(cstr(last(Fields!Month_Num.Value))+"-01-"+cstr(Min(Fields!Year.Value)-1))
Maximum value:
Expression i am using for stting a max value in x axis are:
=Cdate(cstr(last(Fields!Month_Num.Value))+"-01-"+cstr(Max(Fields!Year.Value)))
Interval 6
Interval type -->Months
Horizontal axis  --> Number --> custom--> custom format ("MMM-yy")

BY using the Above Min Value Expression x axis of the graph will start from "sep-90" but minimum value in x axis starts from Jan -91

Could any body help me with this issue how can we set the X-axis starts from Minimum Value .

Thanks,

Gowri.J

Setting up a maximum printing quota in report viewer

$
0
0


I have a web application using:
- Asp.net 4.0
- Report Viewer visual studio 2010
- SSRS 2012

Aspx file load report viewer, and then the report viewer connect to ssrs 2012 remotely.


Can I set the maximum clicking of print button to the number what I want?
For the example, click `print button` 3 times then user can not click it after that.
My goal is to set maximal quota for printing.

Thanks in advance


passing multivalue parameter using mysql in ssrs report

$
0
0

Hi,

I am trying to pass multiple values to single parameter.I am using this query in dataset but i am not getting any result it returns blank what should I do where to write this query?????

"SELECT <column> FROM <table> WHERE <column> in ('" & Join(Parameters!Location.Value, "', '") &"')"

I have read the block of Jinchun Chen ,he has given the answer 

"The query should be:
="SELECT a, b, c, CName 
FROM Table1
Where CName IN ('"+Join(Parameters!Parameter1.Value, "','") + "')"

With the "=", the First" " ", and then last " " " 

what does this line mean in the answer

With the "=", the First" " ", and then last " " " 

Thanks


Groups the Row groups in which correct values falls into it

$
0
0

i have a table(matrix) in my ssrs,in my row groups i have student data  in which 3 values falls into it.a)John, Sam and Mary
im my datasets i have 2 data , Teachers and Surpervisor as column.this display the total number of students,
So in my student row i want to match only those values to both Teachers and Supervisor.
eg

here is what my table look like when i run it

---------------------------------
         Teacher    Supervisor

--------------------------------------

john ---  56            0
---------------------------------
Sam       0           112

Mary

---------------------------------

the value 50 and 112  should be a constant value and also since Student is in row group how can i group john to separate
from Sam and Marry.

ExecutionLogStorage not showing Username

$
0
0

Ive been looking at the ExecutionLogStorage table in the ReportServer database and under the Username Field I am getting a load of numbers rather than windows logins for the vast majority of records.

This does not appear on any other report server. 

Can anyone tell me what this means?

Thanks

Zoe

How to change from tabular report to matrix report type from the design pane of SSRS

$
0
0

I have a report that I created as a tabular report. How can I convert it into matrix report? How to go back to the group,details page once I created a report?

Thanks

Dharmendra.


Dharmendra

need suggestion for setting up reporting database

$
0
0

HI ALL

Transaction Data comes :MYSQL

Reporting :SSRS

Cube :SSAS

Integration :SSIS

Actually i need to do Reporting in SSRS based on cube where data comes from MYSQL .

but i face collation issue and many more with this .

So what we decide that we synch our MYSQL table in SQLSERVER on daily basis during OFF hours.

I need your valuable suggestion for this that we are going in right direction ?

I build an SSIS Packages to import related table that is needed in Reporting.?

what issue can we face doing this ?

and what benefit we achieve?

Is there any other suggestion from your end .. kindly help..

Regards

BI_GROUP

Viewing all 28687 articles
Browse latest View live


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