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

How to join the values of two parameters? (Visual Studio Reports 2008)

$
0
0
Hello
I have a report in Visual Studio Reports 2008.
My report contains the data source 2, and each data source has parameter.

How to join the values of two parameters?

Example:
The values of the parameter 1, parameter values 2
Group1,Class1
Group2, Class1
Group3, Class1
Group4, Class2
Group5, Class2
Group6, Class2
Group7, Class2
Group8, Class2
Group9, Class3
Group10, Class3
Group11, Class3
Group12, Class3
Group13, Class3

I created 3 a parameter added the following function (In Parameter Properties -  Available Values - Select Specify values - added function):

=IIf(Parameters!ReportParameter1.Value = " Group1"," Group2"," Group3" THEN Parameters!ReportParameter2.Value = " Class1")
OR
IIf(Parameters!ReportParameter1.Value = " Group4"," Group5"," Group6"," Group7"," Group8" THEN Parameters!ReportParameter2.Value = " Class2")
OR
IIf(Parameters!ReportParameter1.Value = " Group9"," Group10"," Group11"," Group12"," Group13" THEN Parameters!ReportParameter2.Value = " Class3")

Subscribed reports creating several empty Excel file

$
0
0

Hello,

I'm running scheduled subscriptions on a report I've made, and send it to the end users daily. Each subscription send about 60-90 emails, in groups of 20 emails every 3 minutes. Most of the users receive the report correctly (as an attached excel file), but some receive an empty excel file. The subscription which sent those emails doesn't show any errors were made throughout sending, and in addition when I process the report for those users manually - the correct data is shown.

Why does my process send empty excel files instead of the actual data? Again - it happens to just few users, not all. 

I should also mention that there was no other active subscription sending emails on that time, so mine was the only one. The subscription send parameters to my ssrs report, which uses them within a stored procedure execution to get the data for each user.

Perhaps too much calls (20) to my report lock the stored procedure? Perhaps I should create more subscription so each one will send less emails?

Thank you

Arie

How To display Sql Mobile publisher reports on a mobile

$
0
0

in Sql Mobile publisher reports you publish the reports on the Reporting Server then?

how to display them on a mobile.. is there an app or something?

Report Viewer 2016 - 140.1.291.2731477-rc - VSLangProj80.dll / EnvDTE80.dll

$
0
0

I am using .NET 4.5.2 for a web application, created in Visual Studio 2015, and have been using Report View 2012 successfully for some time but with browser changes these no longer display properly in the newer browsers (i.e. Edge).

I have installed the Report Viewer 2016 components successfully and everything works on the development machine apart from I see this message:

"Severity Code Description Project File Line Suppression State
Warning  Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="EnvDTE" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /><bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.SqlServer.Types" culture="neutral" publicKeyToken="89845dcd8080cc91" /><bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="14.0.0.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.Build.Framework" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" /><bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="14.0.0.0" /></dependentAssembly></assemblyBinding>"

I double click to fix and it adds some redirect lines in to the web.config which then makes the message go away.

ALSO IF I CREATE A NEW BLANK ASP.NET PROJECT AND ADD REPORT VIEWER 2016 IT DOES EXACTLY THE SAME.

Secondly, when I then publish the application to our web server (IIS 7.5) it complains that VSLangProj80.dll is not a valid Win32 application and the only way to remove this error is seems to be to change my IIS Application pool to allow 32 bit applications which I do not want to do.

The files its introduced to my application Bin folder (VSLangProj.dll, VSLangProj2.dll, VSLangProj80.dll, EnvDTE.dll, EnvDTE80.dll) are old files from 2009/2010 so I am guessing this is the problem and that they should not be there/required.

Any help would really be appreciated as I would like to switch to Report Viewer 2016 as it will mean that I finally have a solution to reports not displaying correctly in the new browsers that have been forced to users for the last couple of years.

Thank you in advance.

Kind Regards

Simon

SSRS empty pdf

$
0
0

Hi,

Sometimes when exporting a report to pdf the pdf is empty. All white pages. Does't happen often but it happens and the client is complaining. What could be the reason for empty pdf?

Error message: invalid object number at file pointer

Thanks


Reporting Services Instance not found

$
0
0

Hi,
I am getting the following error - "Report Services instance could not be found".  However, from services, I am able to start and stop SQL Server Reporting Services.  I get the error when I try to connect to Reporting Services from Management Studio.  I am using Sept CTP. 

How do I verify that I have this installed correctly?  From the folder structure, I'm seeing MSSQL.1, MSSQL.2, and MSSQL.3, so I am pretty sure I installed all components that's on the CD.

Any help is appreciated!
-Lawrence

Can't change service account for Reporting Services

$
0
0

I'm trying to change the service account for SQL Reporting Services from the default ReportServer to Local System, but I always receive the following error: Microsoft.ReportingServices.WmiProvider.WMIProviderException: The requested operation cannot be completed. The computer must be trusted for delegation and the current user account must be configured to allow delegation.

The current user is a member of Administrators group which is enabled for delegation. The computer is a domain controller and is also marked as trusted for delegation for any service (Kerberos only) in AD.

Any suggestions? 

SSRS Report with parameters runs by clicking View Results success - Refresh issue

$
0
0

Hi,

I have used 2 Datasets in SSRS report.

One dataset is used to display parameter as NAME  in dropdown.

On selection of Name I am using another dataset to populate some amount in another drop down. 

When I click on View Results it displays correct data in my tablix.

However I want to run again that report with same parameters , but it does not refresh the report.

Also, First time when I open ssrs report then I get "Select Value" option in Name Dropdown and when I select any Name then I get "Select Value" option in Amount dropdown too. Afer View results unable to see "Select Value" opti

 I want to run report with same parameters again 2nd time , but it does not refresh the report.

Please advice .

Thanks & Regards



add SSRS SharePoint Integrated Mode to an existing SQL Server cluster

$
0
0

Hi,

I am running two node active passive SQL Server Cluster. SQL Cluster is being used for SharePoint. Now i need to install and configure Reporting Services SharePoint Integrated Mode. 

Please guide me steps to install and configured.

Thanks.


iffi

Repeat table headers on multiple page with a report that has multiple columns adds extra column on first page only

$
0
0

And yet another problem. I've tried to repeat an header on a table in a report with multiple columns, and ONLY in the first page, the rendering seems to add an extra row to the table or something like that

What is happening here?

social.msdn.microsoft.com/Forums/getfile/997242

SSRS - Issue with Page Break

$
0
0

I have an issue with page break in SSRS 2008, the scenario is:

I have a rectangle with one grid and two textbox inside, and I also have a footer with several fields that I want to show only in the first page. The rectangle with the fields inside are in the first page above the footer.

What I want to do is show the rectangle with the fields inside of it only if the grid has data, and if it has data I want to show the grid in the second page of the report. So the report will have the header and the footer in the first page, and the grid in the second page.

To acomplish that, I set the page break disable expression to only apply the page break if the grid that is inside of it has data, and I set the visibility of the grid to an expression with the same condition. but the thing is that when the grid do not has any data the rectangle and the grid do not appear, but the footer in the first page disappear also.. I tried several approaches but I could not found any solution for that. Can anybody help me with this?

Authentication method and SQL Server Reporting Services

$
0
0

Hi,

I have installed SQL Server 2016 Reporting Services and can browse successfully http://<Servername>/ReportServer_<SQL_Instance>.

This server will be used for Reporting in a SCOM 2016 environment.

I wanted to check the authentication method on this server. I cannot see any virtual directory of ReportServer in IIS. Must I create the virtual directory manually?

I used another tool to find out the used authentication method on ReportServer and this tool resulted "NTLM".

But Microsoft tells "By default, the Report Server and Report Manager virtual directories are configured for Kerberos authentication." (https://technet.microsoft.com/en-us/library/ee355094(v=ax.50).aspx)

Is the ADSUTIL only tool from Microsoft to find out authentication method?

Must we set also SPN (Service Principal Name) on this server?

Best Regards

Birdal

Different parameter for different column in a matrix report in SSRS

$
0
0

Hello All,

I have a requirement of a matrix report in SSRS on top of a SSAS tabular model in which the user wants to have a parameter for fiscal year and month name. Now the challenge is.

- When a user select a fiscal year, so data for that particular fiscal year could be seen only, in case of multi selection columns for different fiscal years could be seen.

- They want to have three parameters for fiscal year like fiscal year 1 , FY2 and FY3 and three parameters for month name as well.

- Now suppose they select FY14-15, Jan, so the first column of that matrix should have FY14-15, Jan data , if they select FY15-16, March data so the next column should have FY15-16, March data and same for FY16-17 as well.

Please let me know if anyone have faced such situation.

Thanks,

Report returns data on Server but on network clients not

$
0
0

Hello gents,

   I would like to ask you for your help regarding one report which I have developer for customer. For me on Server it is absulutelly functionally but user said that it runs 1 minute (after input parameters) and it is frozen. I have cloned Query and report (1 version over web interface and 1 version over Visual Studio). Customer saids that he tested it on more machines without success. Other reports work for them. Name of report is SL_Summary (some keyword? ). It was fuctionally earlier. I am not sure if customer installed on his network some hotfixes or if I have added there new group. In one clone I have only 2 simple columns, no grouping and three parameters (time from, to  and  treshold). Do you have any idea where could by some problém please?

    Thank you for your supoort

        Zbynek

how to add multiple columns to drop down list

$
0
0
I have more than 10 columns I want to select one of the columns in dropdownlist and so on for different columns how to solve this problem I tried but only one column is binding to dropsownlist new to ssrs plz show any examples

Data Preview Error in SSRS 2016

$
0
0

I have created a shared Dataset that has a very simple query that pulls a list of 12 branches from a SQL server database.   The query runs fine in Report Builder.  I get the following error when trying to preview the Dataset in SSRS portal.  

An error has occurred.

The data set could not be processed.

There was a problem getting data from the Report Server Web Service.

I also get an error in Mobile Report Publisher when trying to add data from server.  I can browse to the shared dataset on the server but when I select it I get the following error;

Could not add data

There was a problem getting data from the Report Server Web Service:  The operation you are attempting on the item 'Datasets/Test' is not allowed for this item type. -->Microsoft.ReportingServices.Diagnostics.Utilities.WrongItemTypeException:  The operation you are attempting on the item 'Datasets/Test' is not allowed for this item type.

I can create a report with this Dataset and the report will run just fine.  I just can't seem to preview the data or add the dataset to a Mobile Report.  

This is also happening with more complex Datasets.

Any ideas would be appreciated.

Re Attemted to divide by zero error in SSRS Expression

$
0
0

Hi

I have below Expression which I am using in my report:

=IIF((Sum(Fields!Starts.Value)-Sum(Fields!Withdrawn.Value)=0, Nothing,(Sum(Fields!Starts.Value)
-Sum(Fields!Withdrawn.Value))/(Max(Fields!Year1Starts.Value)))

I tried these but getting same error:

=IIF((Sum(Fields!Starts.Value) - Sum(Fields!Withdrawn.Value)) = 0, Nothing, (Sum(Fields!Starts.Value) - Sum(Fields!Withdrawn.Value))/ IIF(Max(Fields!Year1Starts.Value)=0,1,Max(Fields!Year1Starts‌​.Value)))

=IIF((Max(Fields!Year1Starts.Value))=0,0,(Sum(Fields!Starts.Value) - Sum(Fields!Withdrawn.Value))/Max(Fields!Year1Starts.Value))

Can someone please help

Thanks

Aruna



Convert Crystal Report Expression to SQL Query Code

$
0
0

How can I change the below Crystal Report Expression to SQL Server Query Case Statement   ? Any help appreciated.

If {@EnoughWeightsSum} < {@FreqForCalcs} then 
    (AvgLbsPerWeek := AvgLbsPerWeek +0;
       0;)  
else If {@EnoughWeightsSum} >= {@FreqForCalcs} then
    (AvgLbsPerWeek := AvgLbsPerWeek +{@AvgByDaySum}/{@EnoughWeightsSum}*{@FreqForCalcs};
       {@AvgByDaySum}/{@EnoughWeightsSum}*{@FreqForCalcs};)


Can we use REST web service as Data source in SSRS? !!!!NOT SOAP!!!!

$
0
0

Hello,

We have requirement to use the REST web service as the Data source of SSRS.  Tried with XML as Data Source, but unfortunately I could not succeed because the query expects SOAPAction which is not available in REST Service.

Do we have any option to use REST Service, if so please provide some basic example, so that I can try out some options.

If not, do we have any alternate solutions to handle these situations?

Thanks!

Vinay

SSRS Parameter to show business days only (from Monday to Friday)

$
0
0

Hello,

please advise how to make the report in showing BUSINESS DAYS only.

In my case, I am using a calendar from the sharepoint as the source
and the dates show the entries that had been made ...

Ideally, I like the report to always start from the MONDAY of the particular week and last day to be Friday.
Meaning show 5 days per / each week and then the corresponding entry to those days/dates.


Also noticed that I cannot see any other entries after the 3rd of Jan 2017 although there are more entries after Jan 17.

Please advise

Viewing all 28687 articles
Browse latest View live


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