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

Setting Page Break based on Number of Months in a matrix

$
0
0

Hi,

I have a matrix showing data group by month(Column group). I added this matrix inside a list control to have page break for each 12 rows. The report has Begin date and end date. There is a requirement like if the begin date starts with say Apr 2011 and end date as Aug 2014, then the first row group of list should show data from Apr 2011 to Dec 2011 and next row group should show from Janualry Month. i.e., Jan-12 to Dec-12(Second Row group), Jan13-Dec13), Third Row Group. Then Jan14 to Aug 14.

if the begin date starts with say Sep 2011 and end date as Aug 2014, then the first row group of list should show data from Sep 2011 to Dec 2011 and next row group should show from Janualry Month. i.e., Jan-12 to Dec-12(Second Row group), Jan13-Dec13), Third Row Group. Then Jan14 to Aug 14.

I tried with below approach to show variable number of rows per page.

Floor((RowNumber(nothing)+9)/12).

I need to tweak above expression some how to achive the actual requirement stated above. Can anyone help me to achive this requirement?


Reverse engineering SharePoint 2013 Report Builder reports to TFS visual studio 2012

$
0
0

We have several reports that we have built in SharePoint 2013 using report builder.  It would seem like a great idea to move those back into TFS so we could access them via visual studio and have the change tracking.    Visual studio produces a nice environment for searching for objects that all reports use.  It also has change tracking.  Just seems like a better process to maintain everything in Visual Studio over SharePoint.  Please help to answer how to accomplish this.  IN addition is there some negative reasons that you would recommend not doing this?


Ken Craig

How to setup SSRS reports to run automatically

$
0
0

Hi All,

I am completely new to SSRS.  I am currently using Visual Studio Premium 2013 version to develop my SSRS reports.

I've been reading many posts in regard to setting up SSRS reports to run automatically.

I can see on some answered posts that I can use subscription feature of SSRS by going to my report manager-->Select your report--> goto properties -->Subscription tab.

My first dumb question as a newbie to SSRS is; how and where do I locate my report manager.

Thank you all for your help.

a parameter drop down with multiple columns of info

$
0
0
Hi we run std 2008 r2.  I'm a bit familiar with SSRS dropdowns that distinguish prompts, value shown and value passed but am curious if without concatenating them to supplier names in my supplier parameter drop down list, I can show them next to the supplier names in that list as additional info?

What are the differences between ReportService2005.asmx and ReportService2010.asmx?

$
0
0

I tried comparing wsdl but there are just too many differences to figure it out.

What is the purpose of each of those web services and why are they incompatible (2010 lacking some 2005 methods for example)?

I have an application that uploads the RDL files to SSRS and if I replaced web reference to 2005 with a reference to 2010, then the following would not be found:

CatalogItem.Type

ItemTypeEnum

GetResourceContents

GetReportDefinition

CreateResource

CreateReport

If according to "Report Server Web Service Endpoints" MSDN article (I cannot post links) 2010 web service contained functionality of 2005 web service, should the above mentioned methods/classes be still available???

Could not deploy SSRS report in integrated mode

$
0
0

I have one farm with the following configuration:

Server 1: SQL Server 2012 SP1

Server 2: SharePoint Enterprise 2013 SP1

SSRS has been configured using this article  https://msdn.microsoft.com/en-us/library/jj219068.aspx

SSRS make appear running fine, look:

PS S:\> get-spserviceinstance -all |where {$_.TypeName -like "SQL Server Reporting*"} | Start-SPServiceInstance
WARNING: 'SQL Server Reporting Services Service' is already started on server

But when i try to deploy made in SSDT 2012 this error is returned:

TITLE: Microsoft SQL Server Report Designer
------------------------------

Could not connect to the report server http://server/. Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server.

------------------------------
ADDITIONAL INFORMATION:

Server was unable to process request. ---> The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title><style type="text/css"><!--
body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
.config_source code{font-size:.8em;color:#000000;}
pre{margin:0;font-size:1.4em;word-wrap:break-word;}
ul,ol{margin:10px 0 10px 40px;}
ul.first,ol.first{margin-top:5px;}
fieldset{padding:0 15px 10px 15px;}
.summary-container fieldset{padding-bottom:5px;margin-top:4px;}
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
 border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;
 border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'. ---> The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>IIS 7.5 Detailed Error - 500.19 - Internal Server Error</title><style type="text/css"><!--
body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;background:#CBE1EF;}
code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
.config_source code{font-size:.8em;color:#000000;}
pre{margin:0;font-size:1.4em;word-wrap:break-word;}
ul,ol{margin:10px 0 10px 40px;}
ul.first,ol.first{margin-top:5px;}
fieldset{padding:0 15px 10px 15px;}
.summary-container fieldset{padding-bottom:5px;margin-top:4px;}
legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}
legend{color:#333333;padding:4px 15px 4px 10px;margin:4px 0 8px -12px;_margin-top:0px;
 border-top:1px solid #EDEDED;border-left:1px solid #EDEDED;border-right:1px solid #969696;
 border-bottom:1px solid #969696;background:#E7ECF0;font-weight:bold;'. ---> The remote server returned an error: (500) Internal Server Error. (Microsoft.ReportingServices.Designer)

------------------------------
BUTTONS:

OK
------------------------------

Any idea to solved this?

Regards!


Douglas Filipe http://douglasfilipe.wordpress.com

COnfigure reporing server database to be on secondary hard drive

$
0
0

Dear all,

When installing reporting services and configured the report server, the database by defaullt is created on the main drive.

Is it possible to install the report server database on a second harddrive which is not the system drive ?

if yes thanks for the steps.

regards

serge

Trimming some text in SSRS

$
0
0

Hello

I'm having some data coming through in an SSRS report as:

Mr John Smith (12, Livia Close, Anytown, 125765)

Can anyone advise on how I can remove the 'Mr John Smith' part and also the brackets around the address? I would like to just have:

12, Livia Close, Anytown, 125765

Any advice appreciated. Thanks.


SSRS Integrated Mode and SSAS delegation issue

$
0
0
We have setup SharePoint 2010 with SSRS 2008 R2 and all the Kerberos goodies to do delegation. However, we have a small issue that I believe is due to caching. We setup roles in the cube that restricts what a user can see. If we access the report in SharePoint with a user who belongs to the restricted role, everything is trimmed as expected. However, if we access the report immediately as the user who is not restricted they see the restricted data. If we wait a couple of minutes and do the same steps only switch which user goes first, unrestricted data is displayed. If we do an IIS/SSRS reset in between the two tests, everything works as expected. Where should I be looking for caching? SharePoint, SSRS, SSAS? Any ideas are welcome.

Formatting issues in SSRS

$
0
0

I am combining 2 columns into one column in report.

Now I want that while combining the forecolor of the 2nd column should be of diff color

So here T1 should be of different color.


Abhinav

Set DateTime Parameter

$
0
0

I'm using SQL Server 2014 and SSRS, and I have a query in SQL Server which works fine using a DATETIME variable for the WHERE clause. I'm not sure how to use the code as a parameter in SSRS though. I've done it fine with VARCHAR variables so I get the concept, but the issue arises when the variable is set. In SQL this works fine:

DECLARE @StartOfCurrentMonth AS DATETIME
SET @StartOfCurrentMonth = DATEADD(month,DATEDIFF(month,0,CURRENT_TIMESTAMP),0)

The WHERE clause can then be used like this:

WHERE TimeIndex >= DATEADD(month,-1,@StartOfCurrentMonth) AND TimeIndex < @StartOfCurrentMonth

How can I set the parameter @StartOfCurrentMonth using this method? I'm guessing you select specify value and set it using an expression? I'm not sure how to convert the above to an expression unfortunately. Any help on this would be appreciated.

Thanks in advance
Adam

How to Migrate and Upgrade SSRS from 2008 to 2014

$
0
0

Dear All,

I need to migrate and upgrade SQLServer 2008 SSRS reports running on Server A to SQLServer 2014 on Server B.

Please advice how to do this migration

I do have the following queries:

   1. Will a backup of SSRS databases will work or I should use conversion wizard?

   2. How can I migrate the users

   3. I dont have an existing solution, how can I export all reports and datasource so that I can create a Visual Studion solution

Thanks in advance

Is anybody successfully migrated SSRS 2005 SP2 to SSRS 2014?

$
0
0

what I was doing:  Try to migrate the ssrs 2005 sp2 in a old web server to SSRS 2014 in a new server (native mode)

1. old SSRS web server:  SSRS 2005 SP2 enterprise edition with window server 2003  (server 1)

2. New SSRS web server:  window server 2012 R2, installed sql server 2014 database engine and SSRS. (server 2)

3. backup configuration files, encryption key, we have no custom assamblies from the old SSRS web Server (server 1)

4. Backup the report server databases from the existing old database server. (server 3)  (our SSRS web server and SSRS report server databases are in different servers)

5. Created the RSExecRole and grantd all the permissions according to the documentation in the sql server 2014 database server (server 4)

6. Restore the databases to the new database server that is in sql server 2014. (server 4)

7. Go to server 2 to configure the reporting service using the configuration Manager

 I successfully pointed to new databases, but when test the url, I got the error:  The version of the report server database is either in a format that is not valid or it can not be read.  The found version is '143' and the expected version is '162'

I worked with Microsoft technician, and he said I have to upgrade my old SSRS from 2005 SP2 to 2005 SP4 first then do the migration.   But I saw some article saying that I can migrate the SSRS from 2005 SP2 to SSRS 2014.   Any help is very much appreciated.  

 




Li-hui Chen

SQL Server Reporting Services Licensing

$
0
0
What end user licensing is required for a deployed SSRS solution? Is a run time execution license required for end users, and does it vary on whether or not they can amend run time parameters?

Getting CRLF from SQL Server to SSRS

$
0
0

In the query the drives the report in question, I build several fields dynamically that are passed to the report and displayed.

I would like to be able to include something that will be interpreted by SSRS as a CRLF.

I've tried using the SQL Server character sequence to insert the CR (CHAR(13)) but when it gets over to SSRS, the report does not recognize the embedded characters.

I also know that within SSRS, if you are in an expression, you can use VBCRLF but because my values are built in SQL Server, I don't know how to "poke" that value into my field in a way that will be correctly interpreted.

I've gone so far as to embed a "normal" character sequence in the data and use the SSRS REPLACE function, but I can't seem to get it to work.

Thoughts?


Count Distinct Values in a Dataset

$
0
0

Hi! I am new to SSRS and am struggling to get started with using expressions in my reports. I have a dataset that queries a table with fields like :

Action     TimeStamp
Change   2015-04-02 10:58:13.0000000
Create    2015-04-02 10:58:13.0000000
Enable    2015-04-02 10:58:13.0000000
Disable   2015-04-02 10:58:14.0000000
Disable   2015-04-02 10:58:14.0000000
Create    2015-04-02 10:58:14.0000000
Enable    2015-04-02 10:58:14.0000000
Change   2015-04-02 10:58:14.0000000
Enable    2015-04-02 10:58:15.0000000
Change   2015-04-02 10:58:15.0000000

There are other fields but they are irrelevant at the moment. I would like to insert a table in my report with two columns that count the number of occurrences of each individual value. It should look like this:

Action      Count
Create      15
Change     4
Enable      11
Disable     1

I would also like to be able to filter this by the timestamp so that it only counts the rows for the last 24 hours. Any ideas on how I can achieve this?

I can't seem to make any sense of the expressions in SSRS. Should I make it easy on myself and just create separate datasets for each table in the report, or should I use expressions in the table columns to do this? Thanks!

SSRS report does not display when a filter is added

$
0
0

I have 3 filters currently connected to an SSRS report running in Integrated mode (SSRS 2008 R2 and SharePoint 2010 SP2).

If I add one more multi-select filter, and make a connection to the SSRS report, the SSRS report does not display at all.  Pls note that it is not that the report has no rows selected, it simply does not display.   Even if I completely delete the SSRS report at this point, the dashboard does not display an error message -- again it is as if the report is not a part of the dashboard at all, it is ignored/not displayed.

I have checked and rechecked what parameter values are being passed in, the report works as expected if run outside of the PerformancePoint dashboard.

Any thoughts/comments appreciated.  Thanks.

How to place $ symbol for the First and Last row of the SSRS Report

$
0
0

Hi All,

i have a simple SSRS Report as shown below and i want to place $ symbol for the First Row of the Report and Last Row of the Report. 

And Dollar Should Be Left Justified.

Thanks 

Bala.


bala krishna

groupby in category fields issueSSRS chart

$
0
0

Hi, I am using chart to display a simple graph. But only 2 people's displayed in the category fields which are supposed to be many.  I attached the sql, please help

select count(*)as total,[ResolvedBy]
  from Project
  group by [ResolvedBy]

Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

$
0
0

Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

===========================================================

This is a SQL Server 2012 Developer Edition of SSRS.

I am getting this error when navigating to http://servername/Reports. The reports site was working fine, until I installed a SQL 2014 Developer instance (including SSRS) on the same server.

I can still get to the http://servername/ReportServer site.

Neither of these are using Sharepoint.

Any help resolving this issue would be greatly appreciated.

Below is the stack trace.

===========================================================

[FileLoadException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166 System.Reflection.Assembly.Load(String assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190 [ConfigurationErrorsException: Could not load file or assembly 'Microsoft.ReportingServices.SharePoint.ObjectModel' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +1149 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +323 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +116 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +36 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +212 System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +174 System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +57 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +295 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +482 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +108 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +171 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +52 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +53 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +519 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()+176 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +274

===========================================================

Viewing all 10045 articles
Browse latest View live


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