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

SSRS - Why back button is working in IE and not working in Chrome?

$
0
0
I created a parent and a child report in SSRS. In child report I have a text box named "Go Back". Added this in: TextBox properties -> Action -> Go TO URL -> javascript:history.go(-1). In Internet Explorer browser, when I click this GO BACK button, it goes back to the previous Parent report and it preserves all the parameter values and so I am able to see the report where I left before. But when I use "Go Back" button in chrome, it resets all the parameter value. What is the best way to preserve parameters in chrome?

Partition by row data and show the max value row data only

$
0
0

Hi All,

Here in my scenario , I have several work order Ids belonging to the product IDs , and each work order has different operational sequences. I want to find the max operation sequence number for each work order and want to show the only max value corresponding data. And for the total of the cost , I want to include the sum of all costs of sequence belonging to the same work order ID along with max value data.  I did grouping on product ID and tried filter option in group properties but I am not getting the result which I wanted. Can someone please help here ? I can not modify the SQL so this I need to achieve in SSRS.


Thanks


rs2012 how to change the field a report groups on.

$
0
0

Have a simple matrix report that has columns values on age group values <16, 16-26, 26-65 and 65+

these display in incorrect order on report.

so I created another group called age order 

     when trunc((sysdate-cpi.birth_date)/365,0)<16  and cpi.gender_type = 'F'then '1'
               when trunc((sysdate-cpi.birth_date)/365,0)<16  and cpi.gender_type = 'M'then '2'
               when trunc((sysdate-cpi.birth_date)/365,0)>=16 and trunc((sysdate-cpi.birth_date)/365,0)<=26 and cpi.gender_type = 'F'then '3'
               when trunc((sysdate-cpi.birth_date)/365,0)>=16 and trunc((sysdate-cpi.birth_date)/365,0)<=26 and cpi.gender_type = 'M'then '4'
               when trunc((sysdate-cpi.birth_date)/365,0)>26  and trunc((sysdate-cpi.birth_date)/365,0)<65 and cpi.gender_type = 'F'then '5'
               when trunc((sysdate-cpi.birth_date)/365,0)>26  and trunc((sysdate-cpi.birth_date)/365,0)<65 and cpi.gender_type = 'M'then '6'
               when trunc((sysdate-cpi.birth_date)/365,0)>=65 and cpi.gender_type ='F'then '7'
               when trunc((sysdate-cpi.birth_date)/365,0)>=65 and cpi.gender_type ='M'then '8'

When I change the column groups matrix_AGE_GROUP to sort on the AGE_ORDER group I get an error.

Expression Var

$
0
0

Hi

How do I write an expression to say "(IF a field is dom air and previous period MINUS if field is dom air and current period)DEVIDED BY if field is dom air and current period " - this is to specify variance  thus  (Previous Dom Air Period Amount - Current Period Dom Air Amount)/Current Period Dom Air Amount  --- to get variance % in a table / text box -- OR any other way I can get this % to work please ?

=IIF(Fields!PeriodName.Value =

"Previous"ANDFields!Product_Desc_Review.Value = "Dom Air",SUM(CDBL(Fields!Total_Amount__Excl_VAT_.Value)) - IIF(Fields!PeriodName.Value = "Current"ANDFields!Product_Desc_Review.Value = "Dom Air",SUM(CDBL(Fields!Total_Amount__Excl_VAT_.Value)) /IIF(Fields!PeriodName.Value = "Current"ANDFields!Product_Desc_Review.Value = "Dom Air",SUM(CDBL(Fields!Total_Amount__Excl_VAT_.Value),0)

I also have

=SUM(IIF(Fields!Product_Desc_Review.Value =

"Dom Air",(CDBL(Fields!Previous_Amount.Value)-CDBL(Fields!Current_Amount.Value))/CDBL(Fields!Current_Amount.Value),0))



Number formatting

$
0
0

Hi There. 

I am trying to format my figures to 2dp. in SSRS

Need to use the Properties- Number Format.

Two examples:

 -237,418 Should look this-0.24


164,420 Should look this 0.16

Can someone please help?


The underlying connection was closed: An unexpected error occurred on a send.

$
0
0

Fala ae galera.

tive problemas ao publicar meu primeiro report, exibe o seguinte erro: The underlying connection was closed: An unexpected error occurred on a send.

Configurações IIS



SSRS Sum product equivilent

$
0
0

Hi There,

anyone know the equivalent for SUMProduct in SSRS.

Alternatively I am using this formula. But it is showing error. 

=sum(Fields!TotalFloorArea) + Sum(Fields!Rent.Value) /sum(Fields!TotalFloorArea)

Many thanks


Parameters in SSRS 2016 RC1 Mobile Publisher

$
0
0

It appears that parameters do not work in the SSRS Mobile Publisher app yet.  I have published datasets with parameters that work with a traditional 2016 report.  But when I try to build a new Mobile SSRS report connected to a parameterized data set, I get the error below.   When I try to build a new Mobile SSRS report connected to a non-parameterized data set, the mobile report works.  Also in the Mobile Publisher UI, the parameter option is greyed out.  Have parameters not been added to the SSRS Mobile Publisher yet or am I doing something wrong?

Thanks in advance.



An error has occurred during report processing. (rsProcessingAborted)

$
0
0

Hello  all,

I'm using Sqlserver 2008 R2 Developer edition and i've created the small report and it is working in my computer , when I'm browsing form another computer it is not working  for another user and I have  give full access.

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

For more information about this error navigate to the report server on the local server machine, or enable remote errors


Regards, Vik

Error when using the Oracle Connection [data types]

$
0
0

Hi,

I am creating SSRS reports connecting to Oracle View. In select statement below is the only computation I have,

Oracle Query -

Select ...

DB Name."View Name"."Table 1|| ' ' || DB Name."View Name"."Table 2" alias name,

...FROM Oracle table name

WHERE .... ORDER BY ....

SQL Query in DataSet (SSRS) I changed the concatenation,

Select ...

DB Name."View Name"."Table 1 + DB Name."View Name"."Table 2" AS alias name, (Table 1 + Table 2 AS alias name)

...FROM Oracle table name

WHERE .... ORDER BY ....

I am getting the ORA-01722: invalid number error.

When I checked the Oracle View --> Table 1 data type is Varchar2(49) and Table 2 is Varchar2(40).

I tried using Convert and it dint work. I would appreciate if anyone could help. 


SQL 2016 SSRS can't connect to Oracle 11g

$
0
0
I have installed a SSRS 2016 running side-by-side with a n SSRS 2014.

All reports on SSRS 2014 connect to an Oracle datasource without any problem.

The same reports don't run in SSRS 2016.

SQL 2016 RC3 installed. Oracle instantclient_11_2 was installed some time ago.

The doc (https://msdn.microsoft.com/en-us/library/ms159219.aspx) says only Oracle Data Sources versions 10g, 9, 8.1.7 are supported, but I find this hard to believe. This would mean an older version of SQL Server supports a newer version of Oracle, please tell me that is not true.

Thanks

Geert

Geert Vanhove DCOD ------ http://geertvanhove.wordpress.com/ ----------- Please click the Mark as Answer or Vote As Helpful if a post solves your problem or is helpful!

Hide Data Point on SSRS Chart

$
0
0

I am using SSRS 2008 R2. I have a chart where the values are gallons of fuel, category groups are Months, and Series Groups are Years. I want to hide the current month of the current year only when the chart is generated. So when I generate the chart in May 2016, I want the data point hidden, not the category group since there will be data points for May 2013, 2014, and 2015. Then when June 2016 roles around, same thing, etc. Below is a screen shot of my chart. If someone needs to see the SQL Query, I can provide that as well.

Display value in hh:mm time format in SSRS Report

$
0
0

Hi Everybody,

I have an SSRS report where one of the column is sum of time values. When I do the summation, the values are coming in this format. In the last column the minute value is getting displayed more than 60. How can I format it to proper time format as hh:mm so that it displays as "08:15" . The expression which I am using is "  Sum(CDec(FormatNumber(Fields!Overtime_Hours.Value,2)),"Month"). Your help would be highly appreciated.

January

31/1/2014 21/04/2014 00:00 07:75 00:0007:75

Thanks & Regards,

 RPC


Regards RCP



Tablix is tied to a dataset which sources data from sql db and xml source | dataset merge kind of operation

$
0
0

I have a tablix on ssrs report which is mapped to a SQL dataset in the report 

The tablix has 4 columns and out of which 3 columns are mapped to SQL dataset and 1 mapped to xml data 

Note I use the following expression for the 1 xml column =join(LookupSet(1,1,Fields!xml.Value, "Flag"),",") to show data

Now when I have no data in SQL dataset and I  preview the report the SSRS doesn't show the data even when there is data in XML .

Can I force the tablix to show data even when the sql dataset doesnt have value and xml has value?



Report Builder 3.0 - Inserted items would not show in normal layout , but yes in print layout

$
0
0

Hi

This is the report:

Clicking the RUN icon or F5 opens the report in Normal layout with empty display:

When I change from normal Layout to Print  layout  the inserted Sparkline appears.

Also, Starting the Report from "HOME" I have the same problem and to make it worth I do not have access to the layout icon, and F5 would not do any good.

How can I fix it??

Thanks

Dov




How to sum expression at higher group level

$
0
0

I spent hours figuring this out without coming to a solution. How can I sum the totals at Group 1 (G1) at a higher group level (G2)?

anyone can point me to the right direction? The values in the first column (4391, 4375, etc.) get returned from the stored procedure and represent the totals for each specific group. The values in the second column represent a unit value and can be of different amounts. In the example above they all have the same value. In the detail section (suppressed in my example) i do NOT get 4391 records for group 1 and 4375 records for group 2, etc.

Thanks so much for any help.

SSRS with Teradata

$
0
0
Hi,
I'm trying to create SSRS report with report builder, connected to teradata DB with .NET provider.
There any way to use more than one parameter in a query?
Thanks,
Elazar

SSRS 2016 Power BI android app doesn't render correctly

$
0
0

Hi there,

I am using SQL Server 2016 RC2 on an Azure VM, SSRS, and mobile reports.

I have created several mobile reports and tested them on my Windows 7 PC, IPad, and Android.

About the time RC3 was released, the Android Mobile app started rendering my mobile reports incorrectly e.g. they only show a couple of lines and are completely unusable.

The sample apps render fine and my custom reports render fine in the report builder and IPad mobile app.

I tried reinstalling my android app and recreating the reports, but nothing seems to make them work on the android mobile app.

Any ideas of what to try?

Thanks,

Ric


Ric Miller

Display Sum of time in HH:MM format in SSRS 2008

$
0
0

I have a Dataset with values and displaying total_service_time in HH:MM format from my query

Query :

(SELECT    CAST(total / 60 AS varchar(8)) + ':' + CAST(total % 60 AS varchar(2)) AS Expr1
 FROM (SELECT CAST(SUM(Action.[Travel Time] + Action.[Total Productive Time]) AS int) AS total) AS T) AS total_service_time                     

I am getting #Error while adding expression =Sum(Fields!total_service_time.Value) in last row to get the sum of total_service_time in HH:MM format.

Is there any way to get the Sum of time in HH:MM format in last row

Error Screen:

Thanks,

Salman


SQL 2005 - Report Manager URL - page cannot be displayed - works fine at SQL Server.

$
0
0
*SQL Server 2005 SP4
*Reporting Services running under NetworkService. Would like to keep this account.
*Users from their clients, cannot access Report Manager URL http://<sql server>/reports does not open
*In Chrome they are prompted for username and password, nothing happens back to username and password
*In IE, browser displays page cannot be displayed.
*On <sql server> directly, the Report Manager URL http://<sql server>/reports works fine - no issues.

Is the service unable to authenticate and check names in Active Directory? Do we need to give the NetworkService access to read active directory, and how is this achieved?

SSRS Log shows

ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details., ; 
Info: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for more details. ---) System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated. 
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) 
at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) 
at System.Security.Principal.WindowsIdentity.GetName() 
at System.Security.Principal.WindowsIdentity.get_Name() 
at Microsoft.ReportingServices.Diagnostics.UserUtil.GetCurrentWindowsUserName() 
at Microsoft.ReportingServices.Authentication.WindowsAuthentication.GetUserInfo(IIdentity& userIdentity, IntPtr& userId) 
at Microsoft.ReportingServices.WebServer.WebServiceHelper.ConstructRSServiceObjectFromSecurityExtension() 
at Microsoft.ReportingServices.WebServer.Global.ConstructRSServiceFromRequest(String item) 
at Microsoft.ReportingServices.WebServer.Global.get_Service() 
at Microsoft.ReportingServices.WebServer.Global.ShouldRejectAntiDos() 
at Microsoft.ReportingServices.WebServer.Global.Application_AuthenticateRequest(Object sender, EventArgs e) 


Viewing all 10045 articles
Browse latest View live


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