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

Line break

$
0
0

Hello

I have this expression. How can add a line break so the two sentences re seperated?

Thank you

=IIF(Fields!Question.Value = "q2"OR Fields!Question.Value = "q3"OR Fields!Question.Value = "q4","Please rate how strong the presentation was in explaining the information " + "I need a line break here" + Fields!QuestionText.Value,
Fields!QuestionText.Value)

SSRS Expression - Line break/new line with comma

$
0
0

One of the column contains a comma delimited set of values

Title=Full Name, Designation, Company Name

o/p should be like this -

Full Name
Designation
Company Name

I used below expression, not sure why leading space is not trimming, any help will be a great help...

=LTRIM(First(Fields!Title.Value.ToString().Replace(",",vbCrLf), "dataset"))

Thank you...


ss

SSRS Report Email Delivery Failing - "

$
0
0

Hi.

For an entire day, I have been trying to overcome this error; "Failure sending mail: The filename, directory name, or volume label syntax is incorrect. Mail will not be resent", when subscribing to reports in reporting services.

So here's a summary of the efforts made so far:

1: I have setup a local SMTP server to relay from Reporting Services, since the remote SMTP server needs to be handed credentials.  I am able to send Database Mail through this local SMTP server, so I feel confident that  it is set up correctly.

2: I have succesfully been able to deliver subscribed reports to a fileshare, so the timed subscriptions seem to be operating correctly.

3: I have setup Reporting Services to deliver mails in the local pickup directory, through configuration manager.  The local pickup directory has explicit permissions for the SQL service account and I am running the report through the local administrator account. Here is the relevant section of rsreportserver.config.

<Extension Name="Report Server Email" Type="Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider,ReportingServicesEmailDeliveryProvider">
<MaxRetries>3</MaxRetries>
<SecondsBeforeRetry>900</SecondsBeforeRetry>
<Configuration>
<RSEmailDPConfiguration>
<SMTPServer></SMTPServer>
<SMTPServerPort>
</SMTPServerPort>
<SMTPAccountName>
</SMTPAccountName>
<SMTPConnectionTimeout>
</SMTPConnectionTimeout>
<SMTPServerPickupDirectory>
C:\inetpub\mailroot\Pickup
</SMTPServerPickupDirectory>
<SMTPUseSSL>
</SMTPUseSSL>
<SendUsing>1</SendUsing>
<SMTPAuthenticate>
</SMTPAuthenticate>
<From>service@MYDOMAIN.com</From>
<EmbeddedRenderFormats>
<RenderingExtension>MHTML</RenderingExtension>
</EmbeddedRenderFormats>
<PrivilegedUserRenderFormats>
</PrivilegedUserRenderFormats>
<ExcludedRenderFormats>
<RenderingExtension>HTMLOWC</RenderingExtension>
<RenderingExtension>NULL</RenderingExtension>
<RenderingExtension>RGDI</RenderingExtension>
</ExcludedRenderFormats>
<SendEmailToUserAlias>True</SendEmailToUserAlias>
<DefaultHostName>
</DefaultHostName>
<PermittedHosts>
</PermittedHosts>
</RSEmailDPConfiguration>
</Configuration>
</Extension>

4: I keep on getting the following result in the log:

library!WindowsService_2!474!11/07/2013-15:46:04:: i INFO: Schedule ba0e13a2-0eb8-464f-8ace-19ab970a2a45 executed at 11/07/2013 15:46:04.
schedule!WindowsService_2!474!11/07/2013-15:46:04:: Creating Time based subscription notification for subscription: d9445604-f9a2-4846-92ec-1feb340af4ae
library!WindowsService_2!474!11/07/2013-15:46:04:: i INFO: Schedule ba0e13a2-0eb8-464f-8ace-19ab970a2a45 execution completed at 11/07/2013 15:46:04.
library!WindowsService_2!15b4!11/07/2013-15:46:05:: i INFO: Initializing EnableIntegratedSecurity to 'True'  as specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:05:: i INFO: Initializing SessionAccessTimeout to default value of '600' seconds because it was not specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:05:: i INFO: Initializing SqlStreamingBufferSize to default value of '64640' Bytes because it was not specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:07:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
notification!WindowsService_2!15b4!11/07/2013-15:46:08:: i INFO: Handling subscription d9445604-f9a2-4846-92ec-1feb340af4ae to report Bank Sheet, owner: SERVER\Administrator, delivery extension: Report Server Email.
library!WindowsService_2!15b4!11/07/2013-15:46:08:: i INFO: RenderForNewSession('/Sales/Bank Sheet')
library!WindowsService_2!15b4!11/07/2013-15:46:10:: i INFO: Initializing SnapshotCompression to 'SQL'  as specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:10:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:10:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:13:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:13:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
library!WindowsService_2!15b4!11/07/2013-15:46:13:: i INFO: Initializing StoredParametersThreshold to '1500' characters as specified in Server system properties.
emailextension!WindowsService_2!15b4!11/07/2013-15:46:13:: e ERROR: Error sending email. System.IO.FileNotFoundException: The filename, directory name, or volume label syntax is incorrect.

   at ReportingServicesCDOInterop.MessageClass.Send()
   at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
notification!WindowsService_2!15b4!11/07/2013-15:46:13:: e ERROR: Error occured processing subscription d9445604-f9a2-4846-92ec-1feb340af4ae: Failure sending mail: The filename, directory name, or volume label syntax is incorrect.
Mail will not be resent.

Thanks in advance for your help - does anyone have any insight?


SSRS repors are not working in IE11

$
0
0

Dear All,

We had migrated the SSRS reports from 2008 R2 to SSRS 2012 SP2 version. We had a strange issues after migration.
The report which is having images is not working and it just hangs.
The reports which doesn't have any images are working fine.

On top of it some times we are getting the following error message.

Error message :
The request failed with HTTP status 503: Server Error.
Would you please help us to fix this issue.

Thank you
Sri

How use count for value from another table

$
0
0

Hi,

Please have a look at the below tables and result , I am failed to use count with group by and having clause.

Basically this to display the result in SSRS 2008. Any one help me to get the result like my sample result table or any solution for SSRS 2008.

Table : Category

Table:Incident

Result

Thanks,

Using SharePoint Checkbox/Choice column in multi-value SSRS filter issue

$
0
0

Hi everyone,

Hopefully I have the right forum and I can explain this correctly.

In one of my datasets, my field "Team" is a SharePoint choice column that is a checkbox, so multiple entries are in it. In my Parameter, I have it as a multiple-value, and I'm specifying the values directly in both available and default.

For my filter, I have [Team] IN [@Team], which is where the problem comes in. It will only filter the results of entries that only have ONE listed in Team. 

For example: 

One entry has "Building" in Team column which SSRS is displaying. But it will NOT display entries where "Building" and "Clerks" are displayed. I believe this is because SSRS sees this as 1 line of text, so it does not just see"Building" but "Building" and "Clerks" so it will omit it.

I've tried to have my parameter set to "Get values from a query" but the problem there is the drop-down is too confusing since it interprets it as "Building" and then "Building, Clerks", and then "Building, Clerks, Economic Development' as another drop down, which defeats the purpose of the filter.

Any idea how I can get SSRS to show ALL entries that contain "Building" when I choose "Building" as a drop-down choice in my parameter? Instead of only showing ones that is Building only and dismissing other teams?

Thanks.

Unable to access the SQL Server Reporting Services Portal

$
0
0

I have install SSRS and configured as directed by several online videos. As I tried to access the SQL Server Reporting Services Portal to administer security but was unsuccessful as I only access the following webpage.

I am trying to access the report manager url which should look the following but is not functioning.  Would anyone know what is missing to allow access to this portal?

How to pass only the selected values into the maindataset when the selected value is a combination of column values but you want to filter based on the first value

$
0
0

I have a report parameter named uservalue whose values can be listed as below

  1. 10-john -Manager
  2. 12-Ben- Officer 

The three values are appended in the sql from a single table which is ID-NAME-TITLE.

These 3 columns are present  in the table .

I give user to select the values and would like to filter the main dataset which is again the same table holding ID-NAME-TITLE columns.

Now I am facing challenge to pass the selected values to main dataset .

Table name is user and all the datatypes are string at the moment.

Basically at run time user gets 1 and 2 values and if he selects 1 of the below value by checking the check box .I want to parse only ID value to the dataset

  1. 10-john -Manager
  2. 12-Ben- Officer 

How to pass only the selected values into the maindataset when the selected value is a combination of column values but you want to filter based on the first value.

E.g if user selects then pass only the selected value which is id-10 in this case

  1. 10-john -Manager







Report Header and Footer

$
0
0

I know how to add a page header and footer.

How do I add a report header and footer?

I use the Visual Studio 2015 designer.


Certified Geek


Grouping

$
0
0
I have one data item that creates a new group. For each new group I need to print 7 data Items. How do I do that?

Certified Geek

CheckBox in SSRS reports

$
0
0

Hello All,

Is there  a possibility in SSRS report to use a check box and use it inside the report.

We have  stacked bar chart which says how many bugs with what Severity have came into a Sprint. The Bugs may belong to  a Particular sprint Or HotFix Path .

User wants to see by default all of the Bugs came into particular sprint and a check box functionality which will allow him to add the hot fix bugs too.

this report is included in a dashboard that's  why the user doesn't want to include a extra parameter as that will not be useful for other reports in this dashboard.

I know I could add a check box in ssrs report but can I make it functional ..I mean on click user should be able to include/Exclude the items?

something like this

Many Thanks,

Pragati



Datetime type - Today() does the date default to 00:00:00 or 23:59?

$
0
0

When I set my parameter to date/time type and I use the today() function, would the value be 5/16/16 00:00:00 or 5/16/16 23:59:59? Thanks


SSRS 2016 RC1: Popup, but everything works correctly: An error has occurred. The permissions granted to user DOM\name are insufficient for performing this operation.

$
0
0

Hello everyone,

we have the following scenario:

  • SSRS 2016 RC1, using the new report portal
  • Root folder: Default performissions
  • In the root folder, there are 3 folders: name_reports, name_datasets, name_datasources (for those entities, root is empty otherwise)
  • Reports use shared data sets, shared data sources, sub reports
  • Normal users get browse permissions on the name_reports and name_datasets folders, but not name_datasources

Now, the following happens:

  • Super users: Everything works fine
  • Normal users cannot access the root folder (as intended)
  • Normal users are given the link to the reports folder http://ssrs.server.dom/Reports/browse/name_reports
  • The reports folder open, but there is another popup on the screen: An error has occurred. The permissions granted to user DOM\name are insufficient for performing this operation.
  • Confirm with OK, and everything is available, reports open correctly, etc.
  • So, everything works, but all users get a very irritating error popup

Does anyone else experience this?

What is the source?

Is there a workaround?

We tried assigning more permissions, but it did not cause any change so far.

Thank you and kind regards,
Adrian

SSRS Timeout in Chrome and Firefox

$
0
0
Running into an issue with SSRS #reports housed in #SharePoint 2013. When using Chrome or Firefox, if a user leaves the report open and idle for a few minutes ( 2 minutes or more).  this doesn't happen in IE.  Has anybody seen this behavior?

Dynamic variable based on the user running the report

$
0
0
Is there a way to receive the current username of the user running the report in order to feed it into a dynamic variable, so that for example, should I want to run a query which is dependent on the username, each user could have an "interactive" report with only the information relative to him?

Formatting the result in a (toolbox) LIST in SSRS 2012

$
0
0

Hello,

I have used the list to display the Name and contact information (basically it is a directory) in SSRS reports. I wanted in a different format as below.

Name: abc

Address: abc

Phone: abc

Name: lmn

Address: lmn

Phone: lmn

                Page: 1

I need show totally eight per page but only SIDE by SIDE.

Any ideas to achieve this?

Much appreciated. 




How to do sum of columns using count () inside in ssrs expression

$
0
0

I have a column -testcolumn which gives different values .

I need to sum them up but I am unable to below is what I am writing 

sum(count(lcase(Fields!testcolumn.Value)="hi") + count(lcase(Fields!testcolumn.Value)="hello")>=3,

E.G   testcolumn will have values =" hi"  or "hello"

I need to determine each count and then sum them up

say hi appears 2 times and hello appears 3 times my result would be (2+3)=5 

    




What HTML tags are supported by SSRS?

$
0
0

<em> and <strong> are not on the Microsoft documentation here, yet render correctly.

What I am using:

- MS Windows Server 2012.

- MS SQL Server 2012.

- Whatever version of SSRS comes with MS SQL 2012 (likely 2012...).

Is there somewhere that has more up to date documentation on this product?

SSRS Hiding the tablix based on expression

$
0
0

Hi All,

I am working on a ssrs report where I have multiple datasets associated, I hide or make visible some metrics based on the parameters selected as mentioned below

=IIF(Parameters!p_CMPGN_CD.Label="<somevalue>"False,True), -----------(1) this is associated with dataset1

There is one more additional parameter that is multivalued in my report, my requirement is if I select the parameter as I have mentioned in (1) and the based on the multi valued parameter I select I need the metrics to be hidden or visible. I have added the below query for the same.

 iif(InStr(Join(Parameters!Metrics.Value, ","),"1") > 0, False, True) -- this is associated with dataset 2 .

=(IIF(Parameters!p_CMPGN_CD.Label="CLI1115 (11/13/2015 - 03/13/2016)",False,True)) and  

iif(InStr(Join(Parameters!Metrics.Value, ","),"1") > 0, False, True)  --- combined query

however when I combine both the queries, I am not able to hide my template as expected.

I can guess this should be since I am using multiple datasets kindly advice.

 


Ramasubramanian S

Must declare the scallar variable SSRS issue

$
0
0

I am getting the error in the tittle and I don't know why.

Viewing all 10045 articles
Browse latest View live


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