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

Report Expressions: SWITCH, InStr and LCase

$
0
0

I have InStr function that seems not to match when numbers are at the beginning of the search string.

=Switch(InStr(LCase(Fields!Frequency.Value), "3 times a day") >= 1, "TID",
InStr(LCase(Fields!Frequency.Value), "4 times a day") >= 1, "QID")

If I remove either the 3 or 4 from "3 times a day" or "4 times a day" respectively, the InStr function works.  How do I search for a string that begins with numbers?

Thanks.


SSRS 2016 Reporting services

$
0
0

Good Evening 

I install the SSRS 2016 reporting tool in my visual studio 2015 community edition it is opening in visual studio when i create the design it showing the preview

 and when i am going to run at browser it showing the error i.e., connection is not opening and the sql server reporting service URl also not opening the connection in browser.

How i can change the URL of the reporting service and how i can interface the ssrs 2016 reporting service with my web application 

thank you 

report with more users

$
0
0

Hi Gurus,

I have ssrs report and report access by 3000 users same time frame. I am trying to improve report access performance .could you please let me know is there any way to improve the report access  performance.

I have one sql table with 2000 k+ data.. I am trying pull the data with stored procedure.

SSRS installation on existing default instance: SQL Server 2008R2

$
0
0


Hi,

I'm trying my best to install SSRS on the default instance but its just not working out for me.

I wanted to add this ssrs on a already existing instance instead of creating a new.

Steps followed > control panel > SQL Server 2008 R2 > ADD > picked up the SQL server .exe > followed the steps to add SSRS on existing instance.

Error message: SQL Server 2008R2 specified instance name is already in use by an existing sql server instance.... screenshot below...

When I try to remove SSRS using control panel > remove / Repair feature > I don't get SSRS over there... so not sure what's happening.

To Change Chart Position

$
0
0

Hi Guys,

Is there any Options to Change the Position of charts. For example. I have three Charts(Chart1, Chart2 and Char3 in order).

I need to change the positions based on Parameters or internal varibales. Which means charts should be like this  (Char3 Chart1, Chart2).

I found only Dynamic Height and width. But it will be more useful if we change the postioin of Left, top or Bottom of charts dynamically. which means based on expression. 

Please provide any solution to do this task. its an emergency work for me.


SharePoint 2016 Claims - How do I use a SharePoint List as a Datasource?

$
0
0

I have a 3 tier farm - 1 Database server, 1 App server (includes Search + ReportServer), and 1 WFE (includes Distributed Cache).

I installed SharePoint first, then SSRS in SharePoint integrated mode.

I used SQL Server 2016 to install the SharePoint Report Server and the SharePoint Report Server Add-in on my App server.

I used SQL Server 2016 to install the SharePoint Report Server Add-in on my WFE.

I ran the powershell commands Install-SPRSService and Install-SPRSServiceProxy on both my App Server and my WFE.

I have made sure that the SQL Reporting Service is running on my App server.

I have a great deal of reports that reference a SharePoint List as a data source. These are no longer working. I use the http:// <servername> / <listname> as the Connection String.  I have attempted to use all of the available options (Windows Auth (integrated) or SharePoint user, Prompt for creds, Stored creds, Creds not required) and I receive errors on all of them.

I navigate in SharePoint to my Shared Datasource > Edit Datasource > Click Test Connection

1) If I have Windows authentication (integrated) or SharePoint user selected, I receive the error "The connection string is not valid. --> Microsoft.ReportingServices.DataExtensions.SharePointList.SPDPException: The connection string is not valid".

2) If I have Credentials are not required checked, I receive the error "The data extension cannot use Windows credentials because SharePoint does not use Windows authentication"

3) If I have the Stored Credentials checked, I receive the error "The current action cannot be completed. The user data source credentials do not meet the requirements to run this report or shared dataset. Only Windows user credentials support 'Stored' or 'Prompt' options for a data extension that implements ITokenDataExtension for a report server configured in SharePoint Integrated Mode. Specify Windows credentials or configure the data source to use different options".

4) If I have the Stored Credentials checked AND I check the Use as Windows Credentials option (directly beneath the stored credentials option), I receive the error "The data extension cannot use Windows credentials because SharePoint does not use Windows authentication".

5) If I have the Stored Credentials checked AND I check the Impersonate the authenticated user after a connection has been made, I receive the same error as #3 above.

6) If I have the Stored Credentials checked AND I check both the Use as Windows Credentials and the Impersonate the authenticated user options, I receive the error that "The data extension supports Windows Integrated Security only".

This sounds to me, like I am unable to use a SharePoint List as a data source because SharePoint 2016 only allows NTLM or Kerberos (Mine is using NTLM), it does not allow classic windows authentication anymore. AND YET it sounds as though the SharePoint List data source will ONLY accepting classic Windows authentication!

I am really hoping someone can tell me that my above conclusion is wrong and can point me in the correct direction with what I need to do to make my SharePoint/SSRS environment capable of using SharePoint Lists as data sources.

Thank you immensely to anyone who can help me on this. Also, if this is the wrong forum, please provide me a link to the correct forum.

PNG image loss transparent background when I export SSRS report to PowerPoint

$
0
0

Hello, I am creating a report on SSRS 2015. I have a .png image which has transparent background and while lines in my report. (My report background is black and the lines in my image is white).

After I export the report to PowerPoint, the background becomes white rather than transparent.

Anyone knows what's the reason and how can I keep the transparent background ?? Thank you very much!



Error message on implementing CTE in SSRS

$
0
0

Hello All,

My Greetings for the day!!!

I have developed a SSRS report in which I have used CTE in the dataset.

The report is working fine and giving expected output. However, my concern is about the error message that I am getting when I click on Query designer on the dataset.

Please check the screen shot attached.

When I click on OK. It further loads the query designer window of the SSRS. When I execute the CTE I get the following error.

Please check the same below.

I would like to know about the behavior of SSRS where it gives errors while using CTE's and works well on the other hand for displaying output. 

Is there any solution to overcome this error.

Please revert with your valuable suggestions.

Kindly find the screen shot of the CTE'code I have used in my report Dataset.

Regards,


Hiren Parikh


Reporting service connection through ASP.Net application

$
0
0

I have MS Reporting Server connecting to MS SQL server 2016 and it works fine locally, remotely within LAN and from internet. It's all set to use port 80.

However, when trying to call the same URL from ASP.NET code it shows me it tries to connect using port 443, I thought the issue is code, but when turning off the server I got the error telling me it can not reach server on port 80.

The errors when SSRS up and running:

  • Unable to connect to the remote server
  • No connection could be made because the target machine actively refused it 197.50.102.166:443

    The errors when SSRS server down:

  • Unable to connect to the remote server
  • A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 197.50.102.166:80

    N.B.

    The firewall rules are set probably

  • Address Format in Powerview Maps

    $
    0
    0

    Hello All,

    My Greetings for the day!!!

    I am trying to develop power view Maps. Can some1 please suggest the suitable format for the address to be passed.

    When I pass Street Address, Pincode, City / Town and Country. Some times it is unable to plot in the map and report goes bad.

    Please revert with best practices.

    Thanks in advance.

    Regards,



    Hiren Parikh

    How do I allow Enter key to act like the “view report” button in SSRS 2016 portal?

    $
    0
    0

    My end users would like the to hit the "Enter" key rather than clicking the "View Report Button".  We have just upgraded to SQL 2016 using the new Portal rather than Report Manager and I don't see an option for this anymore.

    Thank you

    Limit to Decimal Places for User input parameter

    $
    0
    0

    Hello All,

    I have a NPV report where user need to input the discount rates to calculate NPV values.

    They only want the value to accept till 4 decimal points..I have kept it as float ..but it always rounds to 2 decimal places...

    when we place the rdl in our application it doesn't round the values but it did accept more than 4 DP ..is there a way to limit it?

    Best Regards,

    Pragati

    Switch Statement Syntax SRSS 2008 Report Builder 3.0 Dataset scope error

    $
    0
    0

    I am trying to add an expression within a text box to evaluate a variable (Q1, Q2, Q3, Q4) and add a text description based on the value (e.g. First Quarter - 2016  for Q1)   IIF statements can get hairy with multiple conditions so I thought I'd try Switch

    =Switch(Fields!Period.Value = "2016 Q1", "First Quarter - 2016",Fields!Period.Value = "2016 Q2","Second Quarter - 2016","VariableSetup")

    my dataset name is "Variable Setup"

    I receive the following error:

    The Value expression for the text box ‘Textbox2’ refers directly to the field ‘Period’ without specifying a dataset aggregate.  When the report contains multiple datasets, field references outside of a data region must be contained within aggregate functions which specify a dataset scope.

    Is this just syntax with the Dataset name, or am I way off base here using Switch in the first place.

    Thank you for your advice.

    SSRS 2016 consuming all available RAM

    $
    0
    0

    Hi all,

    I have a new install of SQL Server 2016 (db engine, SSRS native, SSAS, SSIS, etc) and have restored dbs, security, linked servers and many other things from a different 2008 R2 instance.  The purpose - to upgrade an environment from 08 R2 to 2016, in parallel.

    It has all gone very well, a few gotchas but they are now documented, but the focus here is SSRS.  Resotring the database, having the subscriptions appear as SQL Agent jobs - all good.  Works great.  However, no matter what I try, having SSRS running consumes all available RAM on the box.  Now, I am aware of modifying the rsreportserver.config file - as MSDN says you should do - in order to configure a min and max setting for memory.  Done that, but it still eats it ALL up.

    64Gb RAM on this dev box.  16 processors.  SQL limited to 40Gb RAM.  SSAS behaving nicely, limited RAM.  Here is the rsreportserver config elements in question:

    <MemorySafetyMargin>80</MemorySafetyMargin>
    <MemoryThreshold>90</MemoryThreshold>
    <WorkingSetMaximum>2046000</WorkingSetMaximum>
    <WorkingSetMinimum>1024000</WorkingSetMinimum>
    <RecycleTime>120</RecycleTime>

    As you can see, I have even tried setting a recycle time to a small number, to see if it at least will release RAM at SOME point.  But no.  I just stopped SSRS (by the SQL Server Config Manager) when I saw it had consumed more than 17Gb.

    Does anyone have any tips for me?  I believe setting SSRS to a limit of 2Gb here should do the trick, right?  I would love to be enlightened to what I am missing here...

    Thanks,

    Scott.

    SSRS datasource does not accept SSL wcf service.

    $
    0
    0

    Hi,

    In SSRS, we are trying to add SSL wcf service in the datasource. When this datasource is being used in the report, we get the following error:

    " An error has occurred during report processing. (rsProcessingAborted)
    The execution failed for the shared data set 'XXXDS'. (rsDataSetExecutionError)
    Query execution failed for dataset ''. (rsErrorExecutingCommand)
    Failed to execute web request for the specified URL. Cannot process the message because the content type 'text/xml' was not the expected type 'application/soap+msbin1'.: The remote server returned an error: (415) Cannot process the message because the content type 'text/xml' was not the expected type 'application/soap+msbin1'.. (rsXmlDataProviderError)"

    Can someone suggest me how to resolve this issue. Also the report works fine with non SSL wcf service.

    Thanks and Regards,

    Suneetha Vemula.


    SSRS WITH EXCEL FORMULAS

    $
    0
    0

    Hi,

    I have an excel sheet with lots of formulas in it and also Q&A embed. I want to replace the excel with SSRS. Can I insert excel values in the SSRS excel sheet somehow. 

    Once I get the raw data through SSRS how can I embed certain excel formulas and references on the SSRS excel sheet export?

    Thank you

    SSRS 2016 setting parameters for Oracle OLE DB

    $
    0
    0

    Hello

    I first developed the SSRS report in Visual Studio 2013 and had no issues with parameter they mapped automatically.

    I have now moved the SSRS report to Visual Studio 2015, and I'm having a problem with mapping parameters automatically.

    So I have a dataset1 that has a SQL script with two parameters, these are linked in the Parameter setting of the Dataset.

    However when I try to Preview the SSRS I get the following error.

    "Query execution failed for dataset 'DataSet1'. Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

    I know how to fix it I have to create a Parameter Link to each Parameter in the SQL Script.

    So for example I have a Parameter that is called :Year and is in my SQL Script three times, and I need to go to the parameter tab on my dataset and link the :Year to @Year three times in order they are in the SQL Script.

    If this was a small report it would be OK. However this is a massive report that has several Parameters, 47 datasets and is across 6 report files.

    I am after a way to get the automatically mapping of Parameters working again as it did in Visual Studio 2013. How do I do that?

    Regards

    SQLSearcher99

    SSRS Time Processing slow on different server, same database, same parameter

    $
    0
    0

    Hi all

    I have deployed some reports to our development server and our test server, both are pointing to the same SSAS database.

    The SSRS report has drillthrough actions to other reports - but the issue I am getting is different performance speed on the different servers depending on which parameter I select.

    Here is the execution log from the development server

    As we can see I have 2 executions for the 2 parameters, the row count is at the end (11858, 21) and the time processing is (1579, 21)

    Here is the Test server for the same executions

    I have the same row counts but my Time Processing for the 2nd execution is massive (120208)

    The test server is a more powerful specification and when I first deployed it to the test server it was working fine.

    Struggling to understand why it would be doing this.

    Regards


    need license for reporting service with sharepoint integrated mode?

    $
    0
    0

    We have a SharePoint 2013 farm. We have an enterprise license for a SharePoint server. And we also have a enterprise license for a SQL server(SQL server 2012 SP1) for the databases of SharePoint.

    We are now adding a report server(app server) which will be added to existing SharePoint farm and we will use external database(database on other server) while creating 'SQL server reporting service application'.

    As we know the 'Reporting Services – SharePoint’ feature will be added to report server.

    Do we need additional license for this service or it will be included to our existing SQL server(SQL server 2012 SP1) edition ?

    Regards

    Arun

    SSRS - integrated mode: How to enable datadriven subscriptions

    $
    0
    0

    Hi all,

    we want to enable datadriven subscriptions in SSRS integrated mode, but what are the required steps to accomplish this?

    Currently, there is no Option  "Datadriven subscription" available for an existing Sharepoint-Report, only "Manage subscription" can be selected from the SharePoint context menu.

    From Compare Roles and Tasks in Reporting Services to SharePoint Groups and Permissions I learned that the equivalent SharePoint Permissions are "Manage Alerts" and "Edit items".

    Do I have to set these permissions to each Report Server item individually or can I set permissions to a library that contains Report Server Items?

    Appreciate any thoughts

    Thanks

    Bodo

    Viewing all 20764 articles
    Browse latest View live


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