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

SSRS - Remove a particular column from all reports on the server

$
0
0
I am nearing the end of an SSRS project and the need to remove a column from all the reports has come up.  To remove it from each report and/or stored procedure will take ages - Does anybody have any suggestions on how to do this easily, perhaps at the .rdl level?

SSRS - Stored Procedure - Parameter to show either all tables or any one of them in a ssrs report

$
0
0

i need to have a parameter that user will be able to choose which ultimately is one of several tablixes that I have created.

I am thinking I can add a column to the tablix which is the table name, then us a form of IIF - i get stuck here.

Suggestions will be appreciated!!

SSRS - Lookup inside Replace

$
0
0
Good morning,

Little problem in SSRS 2008 R2...

Actually, I have a table:

    | Name | Types   |
    |------|---------|
    | Bob  | (1+2)-4 |
    | Bill | (1+3)   |

In 'Types' column, numbers are IDs.
This DataSet (named "DataSet2") allows to find the type:

    | ID | Type |
    |----|------|
    | 1  | A    |
    | 2  | B    |
    | 3  | C    |
    | 4  | D    |

I need this result:

    | Name | Types   |
    |------|---------|
    | Bob  | (A+B)-D |
    | Bill |  (A+C)  |

I try this solution, using an espression inside my first table :

    =System.Text.RegularExpressions.Regex.Replace(Fields!Types.Value, "[0-9]+", Lookup("$0", Fields!ID.Value, Fields!Type.Value, "DataSet2"))

But I think it's impossible to use string inside Lookup function.

Can you help me ?

Thank you!


[Edit]

    =Lookup(0, Fields!ID.Value, Fields!Type.Value, "DataSet2")

Works...

    =System.Text.RegularExpressions.Regex.Replace(Fields!Types.Value, "[0-9]+", "$0")

Works...

Maybe a cast problem because $0 returns string. I try with long:

    =System.Text.RegularExpressions.Regex.Replace(Fields!Types.Value, "[0-9]+", Lookup(CLng("$0"), Fields!ID.Value, Fields!Type.Value, "DataSet2"))

Same problem.


Invoice Header By Supplier

$
0
0

Hi,

I am trying to create a supplier invoice report. I have 148 records in table at the moment. It will run end of each month. I have kept Supplier address info in header and Invoice lines in body. But Supplier Header  is not being changed by supplier. Under supplier heading in header, i have concatenated supplier name and  address in Expression, but it remains same on all pages. supplier is not being changed. Report should have 10 pages as I have 10 suppliers with multiple invoices.



Null Option shows all the available data in the report

$
0
0
Select name, date
From Table
  WHERE  Date BETWEEN @StartDate AND @EndDate

I want to make the filter in the SSRS report for date able to be null, so that if the user wants to see all the records, they can click on the null button and the report will show all the data that is available. How can I accomplish this?

"Define query parameters" popup in Dataset properties -> Refresh field, not displayed after Framework Version Update

$
0
0

Hello,

I used to be able to use the "Define query parameters" window that would pop up when "Refresh Fields" was selected in the Dataset Properties window while I was using Microsoft .NET Framework Version 4.5.51209 SP1Rel. Ever since we updated to 4.7.02053 SP1Rel, this pop up no longer appears. This makes updating datasets EXTREMELY difficult because many of our reports will take hours (if not days) to refresh when ran wide open, which is the only option available if the "Define query parameters" window does not pop up. Please advise if there is a setting or something else I can change to get the pop-up window back.

Thank you,

Mandy

How to output the "Report Title" to a CSV file along with column header

$
0
0

Hello, i have an SSRS report that is actually outputting the "ReportTitle" along with the column headers to a CSV file, but i'm unable to duplicate how i'm doing this with other reports.

For example this is how this particular CSV output file content is looking:

ReportTitle

This report shows user entry values ect......

ColA ColB ColC

a      b      c      

And every post i've looked at so far seems to indicate that i shouldn't be able to output the "ReportTitle" text, but somehow i've been able to do just that, but can't duplicate same with other new reports.

So if this isn't some kind of fluke, can you please let me know what setting I must be using that outputs the actual "ReportTitle" to the CSV output file?

thanks very much!

ssrs 2016 report services

$
0
0
I am going to be generating ssrs reports for a 2016 report server. Thus should be using SSDT 2015 or SSDT 2017?

How to show multiple child tables for same parent

$
0
0

I am trying to show work order and sales order details for every item that has data in either table. I seem to be unable to detach the link between the two tables as data in the first is required for any entries in the second table to show. The goal is to create a production demand report that will show any item that has work orders and/or sales orders related to it. There should be items that have only work orders or only sales orders linked.

Inconsistently lose space between hard coded text in a text box and formatted place holder in the text box

$
0
0

I need to find out if what I'm experiencing is a known issue?  And what can I do to fix it?  I have a client who wants to understand why this is happening and I don't know what to tell them.

My issue is that a textbox in a report inconsistently loses spaces when looking at it in print layout or saved to PDF. I've attached three images.  One has the content of the textbox in design, one has it rendered with the issue and the other has it rendered without the issue.  The bold upper case values are being pulled from a sql server database while the rest of the text is hard coded in the textbox or values pulled from the database but not otherwise formatted. 

I have played around with the space between the Common Name placeholder and the following 'in', moving the space into the placeholder expression, adding a separate expression between them with just a space, etc.  And, the placeholder with a database value at the top of the texbox that renders as "GENERIC DEFENDANT", is followed by 'on' the same way the issue value is followed by 'in' but does not have this missing space issue happen.

When the results are saved to Word, you can see the space.

I have not found results searching online for this exact issue.  Nor have I managed a successful fix when trying other fixes for similar, but not exactly the same, space issues. 

Well, I took out the images because after two hours of pulling all my images and info together and typing this up the site says it won't let me submit until it verifies my account.  I want to at least get something posted that I need help here.  Maybe once I've posted they'll let me add the images later.  I'm so frustrated right now.

road map of SSRS or learning material?

$
0
0

Hello ,

I was learning and using SSRS for a while, and for now I just used some very simple function in ssrs design.

So I was hoping to get a better knowledge of SSRS, would you who has also learned ssrs recently give me some suggestion, how could I have a full knowledge of SSRS?

I know this is a dummy and simple question but as there are two many information on the internet, I was hoping for a clear and useful guide or tutorial.

Thanks and hope for a reply. 

Reports URL

$
0
0

Hi everyone,

I installed and started configuring SQL reporting services. 

When I set Report Manager URL, it only works only for localhost. I tried adding new URL to trusted sites in IE, however, it didn't worked.

How can I set different host header?

Regards,

Yerkhan

Create SSRS reports from Azure blob storage

$
0
0

Hi Team,

It is possible to create SSRS report from Azure blob storage as source. If it is possible please help on same.


Thanks Bala Narasimha

Calculation for indicator?

$
0
0

Hi,

I want to use an indicator in a special column. The indicator depends on two other columns,Forecast and Disposed (built by an expression, sum of two other columns). The formula isDisposed / Forecast and the value for Forecast can be 0. Therefore I have to handle the "divide by zero" error and the following behavior.

1. Result < 0 --> indicator "red"
2. Result >= 0 and and < 0.01 --> indicator "yellow"
3. Result >= 0.01 --> indicator "green"

Can someone help me out with the expression I need an the properties for the indicator. I did not get it work the way I want it.

If Forecast is 0, then there should be no indicator at all.

Best regards
pgosch



ty


parameters for DevicesFlowUserSvc_54fb3

$
0
0
What are the parameters for DevicesFlowUserSvc_54fb3

ERROR "Upgrade" SSRS 2012 to 2017

$
0
0

Hi folks, I installed SSRS 2017 on a server with SSRS and SQL 2012. The migration of the reports was using the same BD ReportServer (I disabled the SSRS 2012 service) prior to the installation of 2017.

The reports can be displayed correctly but I CANNOT LOAD ANY NEW REPORTS, NEITHER UPDATE AN EXISTING.

I did this same procedure in TEST previously with the same configurations and methodology and I had no problems.

Anyone have an idea what might be happening?

The errors I detect in the logs are the following:

RSManagement:

2019-09-26 14:08:14.9922|ERROR|16|Unhandled error in the Web API. Exception: System.Net.Http.HttpRequestException: Error al copiar contenido a una secuencia. ---> System.IO.IOException ---> System.Net.HttpListenerException: La operación de E/S se anuló por una salida de subproceso o por una solicitud de aplicación

   en System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult)

   en Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.EndWrite(IAsyncResult asyncResult)

   --- Fin del seguimiento de la pila de la excepción interna ---

   en Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.EndWrite(IAsyncResult asyncResult)

   en System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)

   --- Fin del seguimiento de la pila de la excepción interna ---

   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   en System.Web.Http.Owin.HttpMessageHandlerAdapter.<SendResponseContentAsync>d__20.MoveNext()| RequestID = s_43fee223-39e8-45de-8ae6-a7bb07bfd3ab

RSPortal:

“RSPortal!reportserverwebapp!RSPortal.exe!58!09/26/2019-14:08:09:: e ERROR: OData exception occurred: System.Net.WebException: El servidor ha cometido una infracción de protocolo. Section=ResponseStatusLine

   en Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol()

   en Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol)

   en Microsoft.SqlServer.ReportingServices2010.RSConnection2010.CreateCatalogItem(String itemType, String name, String parent, Boolean overwrite, Byte[] definition, Property[] properties, Warning[]& warnings)

   en Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapRS2010Proxy.<>c__DisplayClass1.<CreateCatalogItem>b__0()

   en Microsoft.ReportingServices.Portal.Services.SoapProxy.SoapAuthenticationHelper.ExecuteWithWindowsAuth[TReturn](SoapHttpClientProtocol soapClient, IPrincipal userPrincipal, Func`1 func)

   en Microsoft.ReportingServices.Portal.Repositories.CatalogItemRepository.CreateReport(RSService rsService, IPrincipal userPrincipal, String reportName, String parentFolder, Boolean overwrite, Byte[] definition, Property[] properties)

   en Microsoft.ReportingServices.Portal.Repositories.CatalogItemRepository.CreateItem(IPrincipal userPrincipal, CatalogItem catalogItem, CatalogItem& createdItem)

  en Microsoft.ReportingServices.Portal.ODataWebApi.V2.Controllers.CatalogItemsController.AddEntity(CatalogItem entity, CatalogItem& createdEntity)

   en Microsoft.ReportingServices.Portal.ODataWebApi.Controllers.Reflection.EntitySetReflectionODataController`1.Post(ODataPath oDataPath, T value)

   en lambda_method(Closure , Object , Object[] )

   en System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)

   en System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)

--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---

   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   en System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()

--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---

   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   en System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()

--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---

   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   en System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext(). | RequestID = s_12ccd143-a7c4-4e2c-a35b-c6927c177b71”

SSRS tablix Hiding while exporting in CSV

$
0
0

I have 2 tablix and based on output type parameter i.e. either Excel or CSV one or the other tablix should get hidden.

When I choose Excel as report type and run the report, CSV tablix is hidden and its working as expected. But when I choose CSV it shows me both tablix: First the CSV one and then excel one. I don't want to make 2 copies of the reports to achieve this and was thinking of conditional variable to work but its not working.

Any help or suggestions!!!


Don't want Page Breaks for a Report that will be emailed as PDF.

$
0
0
I Don't want Page Breaks for a Report that will be emailed as PDF, just for viewing, will not be printed. so I set the height to zero, when I open the PDF attachment in the email, I get this message: "The dimensions of this Page are out-of-range. Page content might be truncated"

Ranga

Service starts and 2 seconds later it crashes

$
0
0

updated to the latest version SQLServerReportingServices-14.0.600.1274 on Windows 2016 and latest windows updates.  

now my service wont start.

Faulting application name: RSHostingService.exe, version: 14.0.600.1274, time stamp: 0x5d13f0b9
Faulting module name: KERNELBASE.dll, version: 10.0.14393.3085, time stamp: 0x5d1d7c66
Exception code: 0xe0434352
Fault offset: 0x0000000000034c48
Faulting process id: 0x17a0
Faulting application start time: 0x01d574ade778ea25
Faulting application path: C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\RSHostingService\RSHostingService.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: a145f85e-2d27-408c-ae1c-e5fb862db044
Faulting package full name: 
Faulting package-relative application ID: 

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

Application: RSHostingService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Microsoft.BIServer.Configuration.Exceptions.ConfigException+InvalidSettingValue
   at Microsoft.BIServer.Configuration.ConfigReader.TryGetInt(System.String, Int32, Int32, System.String)
   at Microsoft.BIServer.Configuration.ConfigReader.<Init>b__e()
   at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].CreateValue()
   at System.Lazy`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].LazyInitValue()
   at Microsoft.BIServer.BIService.BIService.UpdateManagedProcessConfigs(Microsoft.BIServer.BIService.ServiceConfig, Microsoft.BIServer.HostingEnvironment.HostingInfo.ManagementState)
   at Microsoft.BIServer.BIService.BIService+<ReloadHostingState>d__12.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.BIServer.BIService.BIService+<Reconfigure>d__f.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
   at Microsoft.BIServer.BIService.BIService+<OnStart>d__0.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

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

I have run the SSRS repair and it didnt fix the issues

Viewing all 20764 articles
Browse latest View live


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