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

=Sum(IIF(Fields!STOP_ID.Value, "Stop") = "25", 1, 0 )

$
0
0

What is the correct way of writing the above expression. It doesn't work?

=Sum(IIF(Fields!STOP_ID.Value, "Stop") = "25", 1, 0 )

Note, it is an expression in a Tablix where the dataset is in another dataset. 

If it's in it's own dataset it works just fine.

=Sum(IIF(Fields!STOP_ID.Value = "25", 1, 0))


Aggregate String in SSRS reports

$
0
0

Hi,

I have a report like this
Team     Players

Blue      Player1
Red       Player2
Red       Player3

I need it to display in my SSRS report as

Team     Players

Blue      Player1
Red       Player2, Player3

Regards,
Rehan


Regards, Rehan Bhombal

SSRS 2017 Subscription Schedule 24 Hour Clock

$
0
0
Hi, in SSRS 2017 when I try and schedule a subscription the options are only in AM and PM, I want it to be in 24 format - anybody know how I change this? Everything else in SQL and SSRS is showing as 24 hour clock, it's only this that isn't. Thanks.

Visual Studio SR Report joining data from multiple Data sets?

$
0
0

Wondering if anyone can help me, I am currently learning, SRSS Reports and have been tasked with a Pay & Display vehicle registration report, for staff and student car parks, to show if they are registered for P&D. I have the report laid out as a 3 table column; Name, Vehicle Number and Vehicle Registration. I have from the below code set out in my data sets the Vehicle Number and Vehicle Registrations pulling through, with a parameter to filter out if is staff or student pay and display. However I am having difficulty with pulling the Staff and Student names into one name column as they are through two different data sets. Can anyone be of help at all please? TIA

**-- Pay & Display Carpark Details Dataset**SELECT*FROM Carpark_VehiclesWHERE VehicleCustNo IN(SELECT CustID FROM[dbo].[Carpark_Customer]WHERE CarParkID IN(SELECT CarParkID FROM[dbo].[Carpark_CarPark]WHERE CTypeID IN('PD','SPD')))--and CTypeID IN (@Carpark_type))**--Vehicle Details Dataset**SELECT
 Carpark_Vehicles.VehicleID,Carpark_Vehicles.RegNo,VehicleCustNoFROM
  Carpark_VehiclesWHERE CarPark_Vehicles.RegNo =@RegNo**--Staff details dataset**SELECT
StaffDetails_StaffandLeaverDetails.StaffNumber,StaffDetails_StaffandLeaverDetails.LastName,StaffDetails_StaffandLeaverDetails.Name1FROM
  StaffDetails_StaffandLeaverDetails **--Student details dataset**SELECT
  Student_CurrentStudentDetails.StudentNumber,Student_CurrentStudentDetails.StudentID,Student_CurrentStudentDetails.LastName,Student_CurrentStudentDetails.FirstNameFROM
  Student_CurrentStudentDetails**--Carpark permit type (Pay & Display) parameter**SELECTDISTINCT
CTypeID,CASE CTypeID WHEN'076DFFC6-447C-4708-A171-3D2100250ADD'THEN'Students'WHEN'A35A61D7-57A5-4D89-A771-978FA047D32C'THEN'Staff'ENDAS LabelFROM
  Carpark_CustomerWHERE CTypeID IN('076DFFC6-447C-4708-A171-3D2100250ADD','A35A61D7-57A5-4D89-A771-978FA047D32C')


Item Line Divider Color in SSRS Brand Package

$
0
0

I created a customized brand package for SSRS 2017 (Version 14.0.600.1274) trying to match the default MS color schema with slight modifications. When I loaded it to the portal I noticed that neutralTertiaryAlt2 key changes color also for a line item divider in Browse and doesn't accept the red color of neutralPrimaryAlt3 key.


When I load the same brand package to the locally installed Power BI Report Server (Version 14.0.600.442) the item line divider obeys neutralPrimaryAlt3color.

Could you clarify how it may be fixed? Thank you.






Using SQL Server Reporting Services 2017, with Product Key for SQL Server 2016 Enterprise Edition

$
0
0

Hello,

I am planning to implement SSRS for an environment that exclusively uses SQL Server 2016 Enterprise edition. Would I be able to use the product key for the SQL Server 2016 Enterprise Edition to download, install, and run SSRS? Or should I use SSRS 2016 with SQL Server 2016? Please advise, and thank you in advance for your help!

Best,


Convert DOB to age

$
0
0

Hi, I'm trying to convert customers birthdate to age (in SSRS report). using the following SSRS expression. I'm able to do it if I remove the IIF but then I get 2018.8 for all customers who does not have a birthdate in the system.

What am I doing wrong. Could someone please help me?

=IIf(Fields!ExistenceTime_StartDateTime.Value,Round((DateDiff(

"m",Fields!ExistenceTime_StartDateTime.Value,Now ()))/12, 1),"")

Date Expression parameter calculation in ssrs

$
0
0

For PrevDay Parameter i am using = DateAdd("d",-1,Today()) Result = 10/01/2019

and Today parameter i am using = DateAdd("d",-0,Today()) = 10/02/2019

I want exact same last year,..how can i get that? I need to compare last year 

prevday and today? exactly last year 


sumar+columnas anidadas

$
0
0

Hola buenas tardes

alguien me puede ayudar 

por favor

NECESITO SUMAR COLUMNAS EN REPORTING SERVICES 

PERO ME MANDA EL SIGUIENTE ERROR (ADJUNTO IMAGEN)

GRACIAS

SSRS - SharePoint 2016 - The Operation has timed out. Mail will not be resent

$
0
0

Hello,

I have several SSRS subscriptions running through SharePoint 2016 report server. Occasionally subscriptions will time out. Its not the same subscriptions and none always time, its just from time to time.

I think it might be a network issue, but I am having trouble finding it.

Any help would be appreciated, Thanks.

Here is the error I get from the Sharepoint logs:


10/02/2019 09:07:49.48 w3wp.exe (0x0BB0)                       0x1184SQL Server Reporting Services Report Server Email Extension 00000UnexpectedError sending email. Exception: System.Net.Mail.SmtpException: The operation has timed out.     at System.Net.Mail.SmtpClient.Send(MailMessage message)     at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)00000001-0000-0000-0000-000000000000

10/02/2019 09:07:49.48 w3wp.exe (0x0BB0)                       0x1184SQL Server Reporting Services Report Server Notification    00000UnexpectedError occurred processing subscription xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: Failure sending mail: The operation has timed out.Mail will not be resent.00000001-0000-0000-0000-000000000000

10/02/2019 09:07:49.48 w3wp.exe (0x0BB0)                       0x1184SQL Server Reporting Services Report Server Notification    00000Medium  Notification xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx completed.  Success: False, Status: Failure sending mail: The operation has timed out.Mail will not be resent., DeliveryExtension: Report Server Email, Report: Credit Card Automation – 2+ Days.rdl, Attempt 000000001-0000-0000-0000-000000000000

how do u convert them in PARAMETER Expression IN SSRS

$
0
0
select DATEADD(YEAR, -1, CAST(GETDATE() as DATE))

select DATEADD(YEAR, -1, CAST(GETDATE()-1 as DATE))

Generating Database Script SQL Error

$
0
0

Hi everyone,

So I'm trying to install Microsoft SQL Server 2017 Reporting Services to my device for college and I'm configuring the setup manually and customize its settings. When I tried to change the database I got an error about theGenerating Database Script and I'm not sure on how to proceed. Can someone help me out please and thank you.

System.Management.ManagementException: Invalid namespace 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
   at Microsoft.ReportingServices.WmiProvider.RSWmiAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)
   at ReportServicesConfigUI.WMIProvider.RSReportServerAdmin.GenerateDatabaseScript(String databaseName, Int32 lcid, Boolean isSharePointIntegrated, String& script)

HTTP to HTTPS redirect with SSRS Power BI

$
0
0

Hi guys,

I have an issue with the HTTP to HTPPS redirection on my PowerBI Report Server.

The redirection works fine in chrome, but it´s not working in other browsers (IE 11, Edge, Firefox).

I don´t think that it is an SSRS configuration issue because as I said it is working on Chrome.

Do you have any clue of which could be the root cause?

Any help will be appreciated.

Cannot deploy to SSRS

$
0
0

Cannot deploy to SSRS 2016

Issue

When going to the web portal for our SSRS instance https://example.com/reports, using Chrome or other browsers, I click the upload link and receive the dialog box to select a file. I select the RDL file designed for deployment to Sql Server 2016 or later and click open but get the error:

An error has occurred

Something went wrong. Please try again

If I try to deploy directly from Visual Studio 2015 I am getting prompted for credentials. It displays the correct https://example.com/reportserver url at the top of the credential dialog. I enter my network credentials, just username in the top field (I have also tried domain\username and username@domain), but I keep getting reprompted to login and it is never able to connect.

Our setup

Infrastructure

  • Server1: Windows Server 2012
    • SSRS 2016 naitive install here
      • uses the database installed on Server2
  • Server2: Windows Server 2012
    • SQL Server 2016 installed here

My Permissions

  • I am a local admin on both servers
  • I have all roles assigned to me in the SSRS /Reports web portal both at a site level and on each individual item
  • I am a sysadmin on the database it connects to and have permissions to read, create, delete any objects.
  • If I preview my reports (The credentials to the datasource are saved in the project) The report is able to be ran inside of Visual Studio but not deployed to the server.

If I can provide any other details that would assist in troubleshooting please let me know.

How to display two images for one record from a query in ssrs report?

$
0
0
I have two images coming from one record..i need to display both on same report how can i do that?

Report Access - Organization Specific

$
0
0

Hi,

My database contains information about different organization(school boards) in a single database. Each School board needs ability to access same set of reports but content belonging to their school board only. We have unique school board id stored as part of database. Within school board I have Manager and Staff level where they need to see different set of reports based on their school board data.

What should be the design aspect for this? How to provide access to new members of school board? how the roles and data segregation be defined?

Thank you

Need to highlight part of text that are in between * in SSRS

$
0
0

I have a text field that i am displaying in SSRS report. It has a data as below.

This is a *test*.

In ssrs i want to display the test as BOLD and rest of the data as normal. I need to look for text that are in between * to be displayed as BOLD. 

Is it possible in SSRS


cvsuman

SSRS Report Builder

$
0
0

Hi

I want to set  format currency in Tool Tip based on report language parameter. Is there any way to set in Report Builder?

example: when i pass report language parameter 'en-us' display$ currency and when I pass report language parameter 'fr-cd'

to display FC currency.

Thanks,

Bhakti

SSRS reporting Service with MYSQL Database

$
0
0

Hi,

I am new to SSRS reporting services.

After configuring the reporting service, when i run the following url http://localhost/reportservice, I have got the following error "The report server has encountered a configuration error. (rsserverConfigurationError). 

I have gone through online solutions to this error, One of the solution has mentioned i need to provide database connection details in reporting service manager. It looks like the details are related to SQL server details but I need to connect MYSQL database. 

I am not sure if i can design SSRS reports with MYSQL database. Please help me...

Expose all the reports to end user

$
0
0

Hi Team,

In our project, we wants to expose all our deployed SSRS reports which are on report server to our client without using .net application as a front end view.

Client can directly use the reports from reports server & access it over the network but with the limited access like read only etc.


Regards, 

Ganesh Padvekar

Viewing all 20764 articles
Browse latest View live


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