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

Prevent page breaks - where can I find the "interactive height"?

$
0
0

Hi,

I'd like my SSRS to show all the data in one page - how can it be done?.

I saw in some other threads that it can be done by changing the "interactive height"... where can I find it?.\

Thanks!.


SSRS 2015 Multi Value Parameter (Drop Down List) Not opening a second time

$
0
0

We have found an error specific to SSRS 2014 SP1 CU5 and higher.  I am current at SSRS 2014 SP2 build 12.0.5511.0 (SP2CU1)

The issue does not happen in 2014 SP1 CU4 or lower, or in SSRS 2016.

The issue seems to only happen in Internet Explorer.  I'm currently running 11.0.9600.18450.  There is no problem when running SSRS from Chrome or Firefox.

This issue happens on all multi-valued parameters in all reports:

1. When you first open a report and drop down a multi valued parameter, the sizing handles are not on the bottom right of the drop down list, so you can not resize the list.  You can, however, scroll and selected options.

2. After closing the drop down list and trying to open it a second time, the screen simply flashes (as if it's refreshing), but the drop down list will not drop down.  The only way to get it to open a second time is to do one of the following:

a) re-open the report

b) refresh the page (which loses previously selected parameters)

c) select a different parameter that causes a screen refresh, which then allows the drop down list to open once, but again not a second time.

d) run the report (if the selected parameters are sufficient to allow the report to run).  Again the drop down list will only open once.

We develop many reports for customers and can't control their version of SQL or which browser they use.  Do recommending that they upgrade to SQL 2016 or that they user a specific browser is not an option.

SSRS - Set Credentials Programmatically

$
0
0

Hi,

I need to set the datasource credentials when calling a SSRS report. I get this error:

rsCredentialsNotSpecified400One or more data source credentials required to run the report have not been specified.

Here is my code to date. What do I have to update here to pass correct credentials?

ReportService2005.ReportingService2005 rs = new ReportService2005.ReportingService2005();
ReportExecution2005.ReportExecutionService rsExec = new ReportExecution2005.ReportExecutionService();

// Authenticate to the Web service using Windows credentials
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rsExec.Credentials = System.Net.CredentialCache.DefaultCredentials;

// Assign the URL of the Web service
rs.Url = string.Format("http://{0}/ReportServer/ReportService2005.asmx", SSRSBuilder.URL);
rsExec.Url = string.Format("http://{0}/ReportServer/ReportExecution2005.asmx", SSRSBuilder.URL);

Thanks!

Report Server (MSSQLSERVER) cannot load the SQLPDW extension

$
0
0

Hi

We are getting below errors in event viewer.

Report Server (MSSQLSERVER) cannot load the SQLPDW extension

Report Server (MSSQLSERVER) cannot load the TERADATA extension

We have commented SQLPDW & TERADATA extension in rsreportserver config file as below

<!--Extension Name="SQLPDW" Type="Microsoft.ReportingServices.DataExtensions.SqlDwConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/—>

<!--Extension Name="SQLPDW" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.MSSQLADW.MSSqlAdwSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
    <Configuration>
        <EnableMathOpCasting>False</EnableMathOpCasting>
    </Configuration>
</Extension-->

<!--Extension Name="TERADATA" Type="Microsoft.ReportingServices.DataExtensions.TeradataConnectionWrapper,Microsoft.ReportingServices.DataExtensions"/—>

<!--Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlSQCommand,Microsoft.ReportingServices.SemanticQueryEngine">
    <Configuration>
        <EnableMathOpCasting>True</EnableMathOpCasting>
        <ReplaceFunctionName>oREPLACE</ReplaceFunctionName>
    </Configuration>
</Extension—>

<!--Extension Name="TERADATA" Type="Microsoft.ReportingServices.SemanticQueryEngine.Sql.Teradata.TdSqlModelGenerator,Microsoft.ReportingServices.SemanticQueryEngine"/-->

After above changes we are not able to restart SSRS services. In event viewer the below message is showing. Please suggest on this issue. 

Service cannot be started. System.Exception: Default appdomain failed to initialize.
   at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start()
   at Microsoft.ReportingServices.Library.ReportService.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

ssrs report viewer tool bar pagesetup option is not working in pdf export

$
0
0

Hi Friends,

i'm trying to create RDL in Report builder. after that i can preview the report in print layout. from that i have changed the page size and margin of the report by using the pagesetup option from the tool bar. but the given page setup values are not reflected in PDF export and other export is there any problem ? Could please look into this provide solution ASAP   

Thanks in advance.

Regards,

Vijay R

Secure authentication of Report Server from outside firewall

$
0
0

I am a SQL Server developer with some SSRS report development experience. This problem is a bit deep for me.  My first question is how I might handle the scenario below.  My second is whether I am in the ball park with my suggestions at the end.

We have a Report server that uses Windows Authentication.  We want to display reports from this server on a server outside of our firewall.  A user will log in to the web application on that outside server.  When the users requests the report, the request will pass to our server the name of the user (either direct to the Report Server or to a another web site within our firewall that has access to the Report Server).  We will use that user information to filter the rows that the user can see and may, if possible, we want to prevent users from seeing reports they shouldn't see (this may be version 2).

When this is in place, users will only be able to gain access to reports by logging in to our domain or by using the outside server.  No other application will be able to access our report from outside of the firewall (unless the user can log in using his/her user name and password).

The data is private and will need to be protected.

How can we do that?

Some thoughts (from the land of enough knowledge to be dangerous):

Provide a Windows User name in our domain.  When the user tries to access a report from the outside server, the code will authenticate to the Report Server using the Windows User name that we have provided (and stored in the configuration).  I think that we could connect to the report server directly using either the Report Viewer or using the SSRS web service using this method.

A second idea I had was to provision a web server within the network.  Its AppDomain would run as a window account with access in our Report Server to the reports we need or we could embed the credentials in the code that returns the report.  The code could receive a request with just the name of the report and the appropriate parameters (including the name of the user).  The code on this server would then make a web service call to the Report Server.  It would then return the results to the user.

My thought was that in this scenario, we would use a certificate.  If the called does not have a certificate that our in house server doesn't recognize, the request will be refused.  I am not sure how one implements that, I seem to recall that that was a possible authentication method.

Am I close?  Are there pitfalls to be aware of with these ideas?


Russel Loski, MCSE Data Platform/Business Intelligence Twitter: @sqlmovers; blog: www.sqlmovers.com

SSRS with IIF and DATEADD

$
0
0

Hi,

I am using this variable to convert the UTC date to AEST

The expression throws errors in SSRS

=IIF(FORMAT(Fields!submitted_datetime.Value,"yyyyMMdd") < "20161002",DATEADD("hh",10,FORMAT(Fields!submitted_datetime.Value,"dd-mm-yyyy hh:mm:ss")),DATEADD("hh",11,FORMAT(Fields!submitted_datetime.Value,"dd-mm-yyyy hh:mm:ss")))

Any help is highly appreciated!

Regards,

kccrga


-kccrga http://dbatrend.blogspot.com.au/

SSRS 2016 - Can Grow property is not working

$
0
0

In the following report the cell property "Can Grow" is set to TRUE. The report preview looks fine in Visual Studio.

However, when the report was deployed on SSRS 2016 Report Manager, the report item does not automatically increases in size to accommodate a long value. 

Please see the screenshots.



Report Timing out during creation

$
0
0

Hi ,

I have a sql that takes 5 minutes to render the data. All optimizations done and there is no room for anything. In query designer it takes 5 minutes, when i go to the next step and run the report and enter the parameters its loading and after sometime no data is rendered and get a message that the request is time out. 

If SSRS cannot handle queries that take 5 minutes then what is the point or am i doing something wrong or is there a way where i can ask the report to wait for a certain amount of time before it times out?

Thanks


SV

SSRS 2016 Report Viewer Control Compatibility

$
0
0

Hi,

We are upgrading our SSRS server from 2012 to 2016.  Our application is still using the 2012 viewer control.  When we view a report and click on the printer icon we get the error: "Printing is not available. Verify that ActiveX is enabled, or try using IE for the desktop".  We don't get that error when running the viewer control with SSRS 2012.   Is there a Compatibility issue with SSRS 2016 and Viewer control 2012?   Should I use the 2016 viewer control instead?

Thanks,

Pilar S

Encrypt/Decrypt KPI tile property values

$
0
0

How to decrypt/convert/translate the following highlighted values of KPI properties? It looks like the encrypted values is set to TRUE. 

Is there a configuration on report manager 2016?

 

<Properties>  <ValueFormat>6</ValueFormat>  <Visualization>0</Visualization>  <Value.Value>OWLm0YCpV1GUdX8igJUwwVL3uDRpikf/w326S4EfWdw=</Value.Value>  <Value.Type>1</Value.Type>  <Value.Path>/17 - Data Sets/S001</Value.Path>  <Value.Id>2f0b07a2-edfc-433a-abad-7aff62ac114a</Value.Id>  <Value.Column>GM_PERCENT</Value.Column>  <Value.Aggregation>5</Value.Aggregation>  <Value.Parameters>l2ZpTdg296ctIqLDCvOWwKAHNW1ZuniQqE0de1iiX+6hNlBfGloC7EKauOtIb4zLrGEo5HG68YiURLVgVgXhMrQROtkD92H+A6r/22bWojqk6FxyqvyHsg==</Value.Parameters>  <Status.Value>tiiRdDlrakot9CgmzElyhw==</Status.Value>  <Status.Type>0</Status.Type>  <TrendSet.Value>PKmC/w5X/fqBxE+UPnpLng==</TrendSet.Value>  <EncryptedValues>True</EncryptedValues>  <Value.LastUpdateStatus>0</Value.LastUpdateStatus></Properties>

SSRS IIF and OR in same expression

$
0
0

I'm making a report in Reportbuilder 2012 and I'm adding an expression to hide a certain field if it has no input. If I add the following expression it works perfectly

=(CountRows("WorkDataSetsFromSegReqId")=0)

But now I want it to be hidden when it has no input or when it's a certain Report Type, 'Register Date' in this case. I enter the following expression and now it suddenly starts showing up even if it has no input.

=(CountRows("WorkDataSetsFromSegReqId")=0)Or(Fields!WDS_ReportType.Value = Parameters!ReportType_RegisterDate.Value)

I've also tried it with an IIF statement but this gives me the same problem

=IIF(((CountRows("WorkDataSetsFromSegReqId")=0)Or(Fields!WDS_ReportType.Value = Parameters!ReportType_RegisterDate.Value)),True,False)

What is wrong with my expression?

Multiple Pie charts grouping

$
0
0

Hello All,

I have a requirement where user want to see all of his project amounts on a Pie chart on its own page and multiple pie charts for subgroup i.e. Finance structure belongs to that project under the project pie chart ..there could be any number of structures in a Project.

Please find screen print below . The projects (Bigger Pie charts ) are going on their own page but the finance structures under that project also going on new page.. how can I avoid it.

I want to see a bigger Pie chart for Project  and under that pie chart I want to see smaller pie charts in same box  for finance structures in that project...

please suggest if that is possible. 

Best Regards,

Pragati




SSRS 2016 - Datasource Dependent Items - Incomplete

$
0
0

The report manager 2016 does not show all the dependent items related to a datasource. The scroll down feature is missing from the view. Hence, not providing the full/complete list of all dependent items.



String expression to add space between strings

$
0
0

I have a string which is like this 23(50)  or in some cases like this  100(200) with varying numbers .

I am trying to add a space between before the ( in the above string when I get the data .

Hence just wanted to know what would be the best way to handle this ?

I was searching on net and  found something like this -

=System.Text.RegularExpressions.Regex.Replace(myfield, "(?<=[a-z])([A-Z])"," $1")





Power Point Export

$
0
0

I'm having a terrible time trying to get Report Builder 2016 to export to power point with a rational page size.  Every time I export, I end with a custom page size in power point of 13.33 inches by 7.5 inches.  I can change the page size in power point, but it then re-proportions all the content in the page.

I've researched everything I can find online about the new ppt export.  It is supposed to be a hard page-break renderer, and thus use the Page Size (v Interactive) properties of the report.  However, playing around with this doesn't seem to do me any good.  After failing repeatedly with the report I am trying to build, I made a report that was just a single text box and made sure the page size was plenty small (3x3 inch).  I export that to powerpoint and it is still putting it on a 13.33 x 7.5 inch page.

I also noticed that the powerpoint file indicates that it is using the "Reporting Services Default Theme" so I thought maybe I can fix that somewhere.  However, I don't see a corresponding .thmx file on my computer anywhere, and am at a loss as to where else to go to modify that default.

We've been planning this conversion for a massive client report for a while, and I am in the middle of that work, so I really need to find a solution for this. I have to imagine that this is not an immutable default, right?

SSRS 2016 - Mobile Reports Publisher - Unable to rename datasets

$
0
0

When clicked on "Add Data" and selected a shared dataset (e.g. S001), the publisher auto-incremented the names and there's no way to rename the datasets.





SSRS 2016: Can I change the text on the "View Report" button?

$
0
0
Hello, 
I'm using the new SSRS 2016 and I need to change the text "View Report" on the report viewer page to a different text
(For example "Render Report"). 
I'm not talking about changing the style with the CSS template, but actually changing the label's content.

Thanks, 
Alex 

SSRS sum values based on condition

$
0
0

Working on a ssr report adding up time, it is adding correct in minutes.

1) example the sum is giving a value of 62 which is correct.

=Sum(IIF(Fields!LaborType.Value = "I", Fields!totaltime.Value, Nothing))

What I need help on is converting the sum answer to show 1:02, how do I convert that number to hour minute format within the expression?

2) example

The below expression does work when sum up all values and it does convert to hr:mm

But I would like to add the above to specify a certain value.

=FLOOR(Sum(Fields!totaltime.Value) / 60) & ":" & RIGHT("0" & (Sum(Fields!totaltime.Value) MOD 60), 2)

So does anyone know how to combine the two?


Canot connect SSRS Mobile Timeline Navigator to Dataset from SSAS Tabular model?

$
0
0

I am completely dumfounded by the limitations I've discovered in the Microsoft SSRS Mobile reports publisher today.  I started building my first real report that connects to a tabular model in SSAS.  Firstly, I found you cannot store the data source or dataset in the report.  You have to store it as a separate object on the SSRS dashboard that users are able to see.  I'm sure I could hide them with user permissions but that is added administration overhead.

Secondly, when I tried to connect to the tabular model, the mobile report publisher can't do it because the model has parameters which have no default value..... (seriously MS??? - more overhead)

This next part I just can't believe.  I rebuild the cube without parameters and was able to connect the dataset to the report....however, when I tried to link the timeline navigator to the dataset, it's not an available choice in the dropdown box.

No error messages, no suggestions, just, not listed.  So how/why is it not listed, the dataset contains year & quarter names with 2 different measure columns.  I should be able to use this dataset on a time line.

Viewing all 10045 articles
Browse latest View live


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