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

How to sort report by one column in a column group

$
0
0

I have a report where I am displaying sales and by store ID and then each column is a different year: one is this year YTD and the other two are the past two years. I want to sort the table by sales for this year YTD. How would I accomplish this? Is it possible by having year as a column group or would I need to create separate measures for this year YTD and last year and the previous year?

Also, I want to create a rank column where the stores are assigned a rank(1,2,3...etc.) in order of this year YTD sales. What would be the best way to do this?


Unable to transfer reports in 2016 SSRS server

$
0
0

Hello All,

We have two 2016 servers - report server and database server that we upgraded from 2008 R2. We are trying to transfer reports to the 2016 prod server using Visual Studio and /or RSScripter and it is not working.

Note: We are able to manually upload reports by clicking the "upload" button in SSRS portal.

It is throwing the below error:

Could not connect to the report server https://servername1/ReportServer. Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server. (Microsoft SQL Server Report Designer)

The underlying connection was closed: An unexpected error occurred on a send. (System.Web.Services)

------------------------------
Program Location:

   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at ReportServiceClient2010.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.SqlServer.ReportingServices2010.ReportingService2010.ListItemTypes()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.<ListItemTypes>b__10f()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes()
   at ReportServiceClient2010.CheckAuthenticated()
   at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ICredentials credentials, String& authCookieName, Cookie& authCookie, EndpointType& endpointType)
   at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ConnectionProperties& connectionProperties)
   at Microsoft.ReportDesigner.Project.ReportClientManager.GetCredentials(String url, CancelFlag cancelFlag)
   at Microsoft.ReportDesigner.Project.ReportProjectDeployer.PrepareDeploy()

I checked lot of posts in the forums and I am not able to resolve this. The targetURL is pointing to webservices URL in the report server config file. I am able to access the https://servername1/ReportServer URL in the browser.

The most interesting thing is it is working in DEV, when I give the DEV server name, it works with no issues. We checked the certificates and everything seems to be correct.

Additionally, the secureconnectionlevel is set to 0, please see below, though we are using SSL.

<Add Key="SecureConnectionLevel" Value="0"/>

If we change to 2, we are unable to upload reports.

Also, I did check whether the right configuration environment was used in Visual Studio, and it is correct.

I don't know why we are unable to transfer reports to PROD via Visual Studio or RS Scripter.

Any help is very appreciated.




Cannot get SSRS completely configured to work with an Extranet, but setting URLRoot breaks Subscriptions

$
0
0

Hi,

I'm trying to configure an SSRS (actually PowerBI Report Server) so Users can access it through an external domain name, and I'm hitting a problem when I come to set the URLRoot value in the config file. Any help on fixing my configuration would be greatly appreciated.

The idea / plan is that a User would either be on the internal network (MPLS or VPN), or external going through WAP/ADFS, but always use the external domain name. We want to get away from the setup we have inherited where Users are expected to pick the URL depending on their current circumstances, which they find confusing. But my problem is occurring with both internal and external network access.

Everything seems to work correctly, both internally and externally, using the URL https://reports.external.co.uk/Report. The final piece was changing the report link the in the emails from the actually server name,  (i.e. http://srv/ReportServer/) to the external domain name (i.e https://reports.external.co.uk/Reportserver/). After I set the URLRoot value to be https://reports.external.co.uk/Reportserver, we can no longer access / manage the subscriptions or data sources. Rather we get the error "An Error has occurred. Something went wrong. Please try again later". No detail of the error is logged in the logfiles of Events.


The complete setup and configuration is as follows:

  • Single server installation
  • Win2019 Standard, 64-bit,
  • SQL Server 2019 Enterprise 64-bit
  • Power BI Report Server (May 2020)
  • The server is called (not really) srv.internal.local
  • There is a internal DNS entry (C record???) pointing to the same IP address in the name of reports.external.co.uk
  • There is a external DNS entry (C record???) pointing to the WAP server in the name of reports.external.co.uk
  • The SSRS service is running under a domain account, and SPNs registered (HTTP/srv01, HTTP/srv01.internal.local, HTTP/reports.external.co.uk)
  • SSRS authentication is set to <RSWindowsNegotiate />
  • WAP and ADFS are configured for both /Reports and /ReportServer. Using the SSRS through WAP / ADFS works OK so the configuration for Kerberos seems to be OK.
  • Have a wildcard SSL certificate for *.external.co.uk
  • reports.external.co.uk is not automatically trusted, rather a GPO has been used to set https://*.external.co.uk in the Trusted Zone for Users.
  • The URLRoot is set to be https://reports.external.co.uk/Reportserver
  • All testing for the issue is being done from the internal network, but NOT from the server itself.

How should I configure the Web Service URL and Web Portal URL to get this thing to work.
I have tried various combinations of setting but always getting an error when I set the URLRoot in the config file.

Thanks in advance.


"Something Went Wrong" - Trying to add a new Data Source (SQL Server 2016)

$
0
0

Hello all,

We have just deployed SQL Server 2016 Reporting Services, including the cumulative update to one of our UAT servers. Upon accessing the SSRS Web Portal and clickingNew > Data Source, we get the error "Something has gone wrong. Please try again later".

Is anyone able to assist me with getting to the bottom of this issue? Error log is below for reference.

Thank you in advance!

Tom.

Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: e ERROR: [ifiru6gy]: OData exception occurred: System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.resources" was correctly embedded or linked into assembly "Microsoft.ReportingServices.Portal.Services" at compile time, or that all the satellite assemblies required are loadable and fully signed.
   at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.Keys.GetString(String key)
   at Microsoft.SqlServer.ReportingServices.SoapExceptionStrings.get_MissingEndpoint()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.MissingEndpointException..ctor(Exception inner)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod()
   at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListExtensions(String extensionType)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass41.<ListExtensions>b__40()
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithCorrespondingAuthMechanism[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)
   at Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.ListExtensions(IPrincipal userPrincipal, String extensionType)
   at Microsoft.ReportingServices.Portal.Repositories.SystemService.ListExtensions(IPrincipal userPrincipal, ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.ListExtensions(ExtensionType extensionType)
   at Microsoft.ReportingServices.Portal.ODataWebApi.V1.Controllers.ReportServerInfoController.DataExtensions()
   at lambda_method(Closure , Object , Object[] )
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
   at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext().
Microsoft.ReportingServices.Portal.WebHost!reportserverwebapp!12!08/04/2016-16:25:38:: i INFO: [ifiru6gy]: 10.0.10.141: GET /api/v1.0/reportserverinfo/model.DataExtensions - Response 500 - 0:00:05.2307216

Embedding Mobile Report Dashboard to a web application.

$
0
0
Hello Everyone, 



I have created a dashboard using SSRS Mobile Reports. Now I want to embed it in my web application. I have used Iframe to do that. It initially worked well. However , I don't know what I have done , but it now indicates ''The report may be misconfigured, the data may not be available, or the server version may be unsupported.'' Whenever I run the application. Can anyone help me out?



Also , when I worked ,the loading was a bit slow. Is there anyway to optimize it and fasten it up a bit?



Thanks.



multi-company report using two tablix reports

$
0
0

I am trying to create an accounting/reconciliation report using report builder. The purpose of the report is tie amounts from the Company and the respective Affiliate (Company) residing in a GL account. When an entry is created in a Company say for example Company (Tor Inc) in GL account 10XXX for  $ -1,000.00 and the affiliate code is ABC Company. There will be an offsetting entry created in the Affiliate Company (ABC Company) for a similar amount 1,000.00 with an affiliate code (Tor Inc) which was previously the Company (Tor Inc) code. 

Our Accounting teams wants to display both entries on the same row to identify any variances, like this.

Company     Affiliate             GL Account     Company Balance   Affiliate Balance<o:p></o:p>

Tor Inc.       ABC Company      10XXX           -1,000.00              1,000.00<o:p></o:p>

In order to get the Affiliate Balance 1,000.00, I need to look up Company (ABC Company) with an Affiliate Code of (Tor Inc) in GL account 10XXX for 1,000.00



X-Axis intervals are seems inappropriate

$
0
0

Hi All,

I have a bar chart and in that we are trying to have x-axis intervals closed to the values from the data.

This is with the default horizontal axis range and interval setting.

Please note the Leavers are -1424 but still on the axis range it is -50000 which is not looks good.

In fact, what we trying is if the Leavers is -1424 then starts the range with -2000 as this is close number.

So the range would look like -2000   0    50,000     100,000    150,000 and so on until the maximum date value.

The above range starting with -50,000 looks perfect when we have 40,000 to 49,999 leavers at place.

Likewise in the lower timeframe when the counts would probably under 200. When the Closed clubs count is -3 then the range should look -5    0     50    100    150    200

I have ran into setting up the expressions but in case it work for one it goes odd for other. 

I ended up with no finding above this so if somebody has tweak doing this will be really appreciating helping me here.

Thanks in advance!


Dilip Patil..

Reporting Server Transactional Logfile size is getting larger

$
0
0

Hi,

I am using SQL Server 2017 on a separate machine server 2016. SQL server is integrated with SCCM ver. 2002. I am observing that Report Server Transactional Log file size is getting bigger than its database size. Please recommend what needs to be check at database end.

Please note i am new to SQL server so kindly guide with steps which option needs to be check to auto truncate or cleanup etc.

Regards,


Regards, Sarfraz Aslam


Sales sliced by year and ranked/sorted by selected year sales

$
0
0

I have storeID, storeName, Year and Sales. I want to create a table which displays storeID, storeName and three columns showing sales for the selected year(based on parameter selection) as well as the previous two years. There would also be a rank column ranking the stores based on sales for the selected year and only the top N (based on parameter selection) stores would be displayed.

I created a stored procedure for the year and topN parameters, but I can't seem to figure out how to group the sales measure by store and slice by year while ranking and sorting based on only the selected year. Is this possible in SSRS?

error in report when I access Text Box Properties

$
0
0

Hello,

I have one report in Microsoft Report Biulder and I defined a text box in the footer. When I want to change this text box, I left-click on them and click on Text Box Properties. But in this moment, appear the error "Index was outside the bounds of the array". I have installed Visual Studio Community 2019, Microsoft Reporting Services Projects, Microsoft .NET Framework 4.7.2 SDK, Microsoft Report Builder version 15.0.1473.0. Please help me. Thank you.

Parameter values returning error in text box

$
0
0

I am trying to create a report title in a textbox that displays "Total Store Sales Report" followed by today's date for whatever year is selected in the parameter. I tried putting this in the expression:

="Total Store Sales Report " + FORMAT(Cdate(today), "MM/dd") + "/" + Parameters!Year.Value

I keep getting an error when I add the year parameter value at the end. What is wrong with my syntax? Is there an alternate way to do this?

Cannot open Power BI Report Server in SSMS

$
0
0

Hello,

I am running SQL Server 2016 SP1 CU3 (13.0.4435.0). On Windows Server 2016 Build 14393.1715. I have also installed MS Power BI Report Server Version 2.46.4732.722. Power BI Report Server is a solution that customers deploy on their own premises for creating, publishing, and managing reports, then delivering them to the right users in different ways, whether that's viewing them in web browser, on their mobile device, or as an email in their in-box.

Power BI Report Server is configured the same way as SQL Report Server in the Report Server Configuration Manager. I have configured it and it is working and the reports are accessible from the URL.

I need to make a change to the Power BI Report Server properties. In SSMS I go to connect to Reporting Services. I browse and choose the Report Server instance: MyServer\PowerBIReportServer

I then get the message: "Cannot connect to MyServer\PowerBIReportServer. Additional information: The Reporting Services instance could not be found."

Any advice on how to resolve the issue would be appreciated. Thanks.

SSRS 2016 Report Download Name Truncation at Period

$
0
0

I have several SSRS 2016 reports, each beginning with a numeral, such as, 1. Report_A, 2. Report_B, 3. Report_C, etc.

From a functional perspective, the reports run successfully and is able to render the data correctly; however, when I download the report in any format: word, pdf, excel, et al., the report name truncates after the Period. So, the report name, say in excel, will be 1.xlsx or 2.xlsx or 3.xlsx, truncating the text after the Period.

This issue can be reproduced using both Chrome and IE and is only present in SSRS 2016. The reports were tested in SQL 2012 as well, and this issue does not exists there.

Has anyone in the SQL community experienced this issue? Is it a known issue? is there a workaround? Could this be a bug in SSRS 2016?

Any help from the community is greatly appreciated. Thank you for reading this post.

Limit no of columns in SSRS matrix report

$
0
0

I have designed the matrix report(SSRS 2008) which has dynamic column, it grows based on the no of products in the table.

Database table structure looks like below.    

Productname AssetClass Marketvalue
Product1AEQ1000
Product1IEQ2000
Product1Prop3000
Product2AEQ1000
Product2IEQ2000
Product2Prop3000
Product3AEQ1000
Product3IEQ2000
Product3Prop3000
Product4AEQ1000
Product4IEQ2000
Product4Prop3000

    

The matrix report displays like below. Column grows based on no of products in the table.   I have applied column grouping for Products and row grouping for assetclass.

 Product1Product2Product3Product4
AEQ1000100010001000
IEQ2000200020002000
Prop3000300030003000

But I want to break the matrix columns to display 2 proudcts wise like below..

 

 Product1Product2
AEQ10001000
IEQ20002000
Prop30003000
   
 Product3Product4
AEQ10001000
IEQ20002000
Prop30003000

Is it  possible to apply column break in matrix report?

Thanks,
Ramesh


A way to create CSV files of 50,000 lines each

$
0
0

Hi guys,
I've got a somehow unique request:
One of our customers needs to get CSV files up to 50,000 each.
It means that for example if 1 day the customer had 86,500 transactions, he should receive 2 files: 1 with 50,000 line (on each transaction) and 1 with 36,500 lines.
If the customer had 103,000 transactions, he should receive 2 files of 50,000 line each, and 1 with 3,000 lines.

Do you have any advice?
Is there a way to get more than 1 file in a subscription?


SSRS Difference between two hourly rows

$
0
0

I have a table that looks like this:

UniqueValueDate Time Stamp

3004605  4142499.22469279848/20/2012 3:00:06 PM
3004533  4142499.22469278548/20/2012 2:00:05 PM
3004422  4142499.22469277658/20/2012 1:00:08 PM
3004332  4142499.22469276558/20/2012 12:00:06 PM
3004261  4142499.22469275458/20/2012 11:00:07 AM
3004134  4142499.22469274448/20/2012 10:00:06 AM
3004011  4142486.89644383518/20/2012 9:00:08 AM

I am creating a report in SSRS and want to show the difference between the the current row and previous so the report would look like

DateDIfference

8/20/2012 3:00:06 PM134

8/20/2012 2:00:05 PM89

Help is appreciated....

Custom Groups Cognos equavalent in Report Builder

$
0
0

Hi There,

In Cognos, we can create Custom Groups i.e. We can call the group name as Products and hard code values in it. (Pen, Eraser, Files, Filing Cabinet etc).

Is there a similar bucket in Report Builder where I can create a group and assign item to it.

Thank you very much!

I want to create a group and then in my expression check if the item belongs to the group. If there is any other way to do that, please let me know.

Harry

DefaultValue expression for the report parameter ‘UserTokenSIDs’ contains an error

$
0
0

Excel as a Data Source

$
0
0

I have created a report using an Excel spreadsheet as the data source. I was able to pull in the data set with no issues.

However, once I created the report and saved it, I am no longer able to run the report. I get this error:

This is actually a different error than I got yesterday. The previous error stated something about not finding a data set. But the data set it mentioned wasn't one I had defined anywhere in this report. I have RB v15.6.01207.0002-1303e236. Does anyone know why this is happening? Have they removed the option of using Excel as a data source?


Sande

SSRS - Calender View

$
0
0

Hi,

I am looking to build an SSRS Report, with a calendar view. The complication added on top of this is, I am trying to add, row details to the left of the calendar view, with corresponding columns in the calendar view colored. I have the example in the image below. I am able to build the calendar view separately, and a drill  down like report for the column on the left. I am not able to combine the 2 together, to build the view below. Any help is appreciated.

Thanks!

Viewing all 10045 articles
Browse latest View live