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

The Y expression for the chart has a scope parameter that is not valid for aggregate function

$
0
0

I'm trying to add a Sparkline in my SSRS report and got an error message: The Y expression has a scope parameter that is not valid for aggregate function. I have two tables in my report, the first one shows the sum of the balance for each account in different status(paying, writeoff etc) each day. And the second one shows the percentage instead of the actual dollar amount.
My tables look like this:

                        Date                           Trend 
Account Status       Expr(TextBox1)                Sparkline
Total                Expr1(TwxtBox2)               Sparkline
Expr = Sum(Fields!Balance.Value ) Grouped
Expr1 = Sum(Fields!Balance.Value ) Outside the row group

Trend is inside the row group

I have no problem with this table and the sparkline, my second table looks exactly the same as the first one, the difference is the expression which are:

Expr = Sum(Fields!Balance.Value )/Sum(Fields!Balance.Value, "Date")
Expr1 = Sum(Fields!Balance.Value )/Sum(Fields!Balance.Value, "Date") the result is always going to be 100%.

Here's the headache, the I want the sparkline to show the trends of the percentage for each account status. My Y expression is:

Expr = Sum(Fields!Balance.Value )/Sum(Fields!Balance.Value, "Date")                                                         
Category Group is Date

I have tried use the reportitems!TextBox1.Values to get the value and it turned out I can only get the last value from the textbox1.

The expected result looks like this:

            01/01     02/01    03/01      Trend
Paying      100%       85%       75%    100->85->75
WriteOff     0%        10%       15%      0->10->15
Payoff       0%         5%       10%      0->5->10
Total      100%       100%      100%

HA Proxy with 2 SSRS Server

$
0
0

Hello,

I'm trying to find out the beter architecture to deploy for my reproting plateform

I have 2 SSRS machines, 2 web (IIS) , an haproxy and an sql machine.

I'm planning to configure a MSFC for the 2 SSRS and add the bind of the reproting service au niveau du HA proxy.

is this possible? do you see another way to configure this.

Thanks

SSRS file share subscription Error - Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost.

$
0
0

Hi I have a new SSRS report uploaded on SSRS 2016 server , backed with SSAS cube and its subscription is set to File sharing. This report subscription is failing every time with the below error. this report subscription actually run MDX query and generates a huge amount of data  somewhere of  220 page of data.  When i try to run the same report with lesser data it subscribe successfully. So  i concluded that there could be query time out error at SSAS Cube side  so i go the SSAS cube server and updated its ExternalCommandTimeout and ExternalConnectionTimeOut to 36000 and 600 respectively and restarted this SSAS server. but when I re-ran the same SSRS report again,  after running for around 15 minutes it failed again with the same below error. now i am not sure what causing this error. please someone could help in troubleshooting this issue.  

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

SSRS Log 

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

notification!WindowsService_0!484!07/23/2019-14:59:06:: i INFO: Handling subscription 6342309a2-b476-307d3e3 to report [My Dump Data Report], owner: NTADMIN\MyName, delivery extension: Report Server FileShare.
library!WindowsService_0!484!07/23/2019-14:59:06:: i INFO: RenderForNewSession('/MainReports/MyReports/[My Dump Data Report]')
library!WindowsService_0!d60!07/23/2019-14:59:06:: i INFO: Initializing SnapshotCompression to 'SQL'  as specified in Server system properties.
library!WindowsService_0!d60!07/23/2019-14:59:06:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
runningjobs!WindowsService_0!804!07/23/2019-15:01:34:: i INFO: Adding: 2 running jobs to the database
processing!WindowsService_0!484!07/23/2019-15:01:34:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset MyDataSet. ---> Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException: The connection either timed out or was lost. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)


Regards, Shanu



Add extra page after every single page in ssrs report(for duplex printing)

$
0
0

Hai,

How Duplex printing handle in ssrs report?

I need terms details print backside of the document.

Thanks,

How Page Number handle in ssrs body of the report?

$
0
0

Hai All,

I need to show page number in body of the report.

Please help me

User is not able to navigate from One tab to Another tab from Document Map when user download the report in Excel format

$
0
0

We have a report with multiple Tabs in it. So to reach  each tab, We have used Document Map.

As we did not want to see Document map in Excel so used  expression like this IIF(Globals!RenderFormat.Name="EXCELOPENXML", Nothing, "Test")  as per suggestion on Link 

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/e6850044-78fb-4a13-8de4-f61388656835/exclude-document-map-in-the-excel-export-of-ssrs?forum=sqlreportingservices but later we realized  that document map label stops working on Visual studio and Browser,once we export the report to excel . As Per the code =IIF(Globals!RenderFormat.Name="EXCELOPENXML", Nothing, "Test") - Document map Label is Set to nothing post/During Export.

Please advise.

SSRS Expression how to: hide row based on dataset.value NOT IN parameter.value

$
0
0

Hi I'm looking for some help in what is think is a relatively easy to answer issue:

  1. Multi value parameter in report
  2. Dataset with rows containing same values as parameter values

My requirement is to hide the row if the value in my dataset is not selected in the multi value parameter.

The hide expression would look similar to this:

"=Fields!Assortment.Value NOT IN Parameters!Assortment.Value"

I have tried to do the following, but to no avail:

=(lookup(Cstr(JOIN(Parameters!Assortment.Value, ",")),Cstr(Fields!Assortment.Value),1,"DataSet1")<1)

Thanks in advance!



Convert a date into Integer in a SSRS expression

$
0
0

HI all,

How do I convert a date into an integer using SSRS expressions.

I tried CInt but it does not seem to work.

Is that even possible at all?

Regards,


SSRS + Web Application authentication issue

$
0
0

Hi all,

I'm having an issue within the current scenario:

My client has an web application that was built years ago using ASP.NET with MVC, to access this application the user inputs his credentials and is authenticated via LDAP. And inside this application he had a button with a link to a Datazen web page which he was using to shown his dashboards (Detail: no further authentication is required after the first login into the web application).

Last year we started to migrate all these Datazen dashboards to the SQL Mobile Report and we had no problem in doing that. In the webconfig of the application I changed the link that was pointing to the Datazen webapi to the SSRS WebPortal that is now hosting the dashboards. The only issue here is that, now we need to authenticate again to gain access to the Dashboards, but we want to have only one authentication like it was when Datazen was configured.

To sum up, it's possible to use the same authentication for both Web Application and the SSRS Web Portal?

If anyone needs more details, please tell me and I'll be gadly to do so.

Thanks!

Display SSRS report on sales force

$
0
0

Dear All,

Can SSRS be integrated with Salesforce . Do Salesforce allow to display SSRS report. please confirm. 

Thanks 

Akhilesh 

editing a report in Visual Studio - can't find dataset

$
0
0

Hi, 

I am covering for someone who is out on vacation.  I have a report I need to fix but have not done much with developing them. I need to figure out what dataset this report is using and I can't seem to figure out how. 

CAn someone please help me?

Thanks.

Trying to group two separate columns in 1 group (in other words use two source columns as source for one group)

$
0
0

Hi All,

For the case of my question I created a simplified example table. The question is about splitting names in reporting services: so 1 field contains two names, and I want to show all of these names extracted from this field alphabetically in one group.

The problem is I can not union my dataset, because I need to run the query once. I will give you an example for clarity

The table contains sales, and the account manager(s) responsible for the sales. You notice two names in the account manager column

In the report I want to group all the account managers because the list needs a sign off by the account managers

So I created two fields in the dataset which split the account managers

This is the formula of the first one split(Fields!Account_Manager.Value,",")(0)+","+split(Fields!Account_Manager.Value,",")(1)

and the second one This is the formula of the first one split(Fields!Account_Manager.Value,",")(2)+","+split(Fields!Account_Manager.Value,",")(3) 

I can use both field as group sources and show it like this in a tablix. But it is not sorted alphabetically as each split is a separate group (I have two groups). The following problem is account managers can be duplicated, because once they can be mentioned as first one in the source data, while at another sales rule they might be the second one mentioned

The way I did it beneaht . And all problems arise from the necessity of needing two groupings instead of one grouping


MS Access Data source not working with SSRS 2016: OLEDB "Unspecified error"

$
0
0

I have a report using Access database as the source. In Visual Studio, I can preview the report, however, once deployed, I hit an error:

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot create a connection to data source 'MSAccess_BusinessDeductions'. (rsErrorOpeningConnection)
      • Unspecified error

Connection string in Visual Studio is as follows:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\\\mycompany\\Data\\DEPT\\Private\\Accounting\\Deductions\\BusinessDeductions.accdb 

Connection string once deployed to server is as follows:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\mycompany\Data\DEPT\Private\Accounting\Deductions\BusinessDeductions.accdb

I'm currently testing reports on SSRS 2016 and are hitting this issue; this setup works on SSRS 2012.

SSRS Version 13.0.5026.0
Installed 
AccessDatabaseEngine_X64 driver.



SSRS - Build , deployment

$
0
0

Hi All,

I am new to the SSRS. currently I am working on deployment of SSRS rdl files. I use SQL Server Data Tool 14 and Visual studio 15. during build I set TargetServerVersion= SQL Server 2008,R2, 2012 or 2014 and use the rdls from bin folder to deploy.

Now I want to do the same steps using command (batch file or powershell). I am not sure what softwares deployment server should have e.g which version of msbuild needed on server to build the rptproj application and what should be the command.

Can anyone please help me to find out the answer of my question.

1. What is needed on build server to build the .rptproj

2. What command needs to use as I am not able to build it using msbuild v4.0

Regards

how to lock down the URL

$
0
0

Hello

I am working with a menu driven report application build using report builder 3 that was built by someone else who is no longer available.

I have two concerns

First, a user can simply change the URL and get right to the report server directory of files.

Second, there are parameters being passed from menu to summary level reports and than to detail reports, these parameters are easy to change in the URL and allow users to get to data they are not meant to get to.

Is there some way to lock down or mask the URL to stop these security concerns?

Thank you in advance for any assistance


Grouped and added a page break, but how to get it to update other rows?

$
0
0

Greetings!

I have two datasets relating to different financial accounts.  One has Activity as a key, and then a bunch of individual purchase order data (Purchase Order numbers, Purchase Order descriptions, etc.).  The other has Activity as a key, and then a Starting Balance field (which has to query different tables to pull previous years' financial data, etc.).  I'm joining the datasets based on that Activity key.

I'm grouping the Activities and adding a page break for each.  I'm trying to add the Starting Balance for each Activity, but it only works if I put it in line with the current data.  It won't allow me to create a separate row with a Starting Balance: $xxxx.xx.  So, the only way for it to work is to return the Starting Balance with every single of row of data per activity.

Here's what I have:

ACTIVITY | PO NUMBER | PO DESC | PO AMOUNT | STARTING BALANCE

SOCCER, 1000001, NEW JERSEYS, $1000, $5000

SOCCER, 1000002, NEW SHORTS, $400, $5000

SOCCER, 1000003, NEW CLEATS, $300, $5000

(page break)

FOOTBALL, 1000004, NEW CLEATS, $400, $9000

FOOTBALL, 1000005, NEW SHORTS, $400, $9000

FOOTBALL, 1000006, NEW JERSEYS, $400, $9000

Here's what I want:

STARTING BALANCE: $5000

SOCCER, 1000001, NEW JERSEYS, $1000

SOCCER, 1000002, NEW SHORTS, $400

SOCCER, 1000003, NEW CLEATS, $300

(page break)

STARTING BALANCE: $9000

FOOTBALL, 1000004, NEW CLEATS, $400

FOOTBALL, 1000005, NEW SHORTS, $400

FOOTBALL, 1000006, NEW JERSEYS, $400

I did have success creating a separate Starting Balance row and getting it to repeat for every page, but it simply pulled in the Starting Balance for the first Activity code over and over.  So, instead of getting the Starting Balance for Soccer, it pulled in the Starting Balance for the first Activity code alphabetically.

I guess I could simplify my question down to this: is there any way to take my Starting Balance field and get it to recognize the Activity code of the page it's on?  That is, if it's on the Soccer page, to get it to recognize "Soccer"?  I'm not sure if this is an option I need to select, or something I need to add to my expression.

=Lookup(Fields!Activity.Value,Fields!Activity.Value,Fields!Starting.Value, "StartingBalance")

Thanks in advance!

Left function

$
0
0

Hi,

I need to cut a value before the x in it.

Example, my data is 12345 x 84354

I just need what is in front of the x, I tried using the Left function but the problem is that the number of digit in front of the x changes. It can be 23894905 x 2483429 or 142 x 028434 and many other possibilities. Is there a way to use only one side of the x?

Thanks and best regards

Filter drop downs in SQL Report Viewer webpart

$
0
0

Is there a way to position parameter filter dropdowns on a SQL report viewed through the SQL Report viewer webpart.

Right now it is on left in a parameters pane

I currently get to report builder from SharePoint's UI by using link Open in Report Builder.

SSRS + Os X w/Safari,Chrome, Firefox. No basic authentication prompt

$
0
0

Has anyone managed to get Report Server 2016 / 2017 working with OS X clients?  These pop up from time to time and it's a pain in the @@@.  

The problem is that none of the OS X browsers (despite attempts to tweak settings) appear to display the basic authentication prompt.  I'm really mad because I can get chrome to work with basic authentication on Windows, but not on OS X apparently.

What am I missing?  Has anyone had any success even? Should I keep banging my head against this wall?

SSRS Report Date Parameter

$
0
0

Hello,

Unfortunately I am unable to attach the screenshot of the issue "SSRS Report (2012) - Date Parameter - display language issue" to make it more clear.

I have a report developed in SSRS 2012 version and having a date parameter.

We have a web application developed in VS2013 (ASP.NET MVC5) and used ReportViewer to embed the above report and displaying in web page.

When I access from my IE, I can see date calendar in English but my customer is seeing the calendar in French(from France).

Note:        

        We had already tried by changing the regional settings and IE preferred language to English US but not working in deed!!!


Viewing all 20764 articles
Browse latest View live


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