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

SSRS Dynamic Run time calculations

$
0
0

Hi,

Below is the excel based report which i want to migrate onto SSRS with all the calculations.

How can we achieve the following formulations in SSRS ?

Could you please suggest the best suitable solution to achieve it?

Is there any work around for it in SSRS?



SSRS

$
0
0

Hi,

I have added a dataset which gives me around 10 records when i execute the query.

I have also created on multi-value parameter.

I have a tablix in which i need to display these 10 records as individual columns like:

Record 01 Record 02 and so on....

Currently,I am using an expressiion like

First column of my tablix will show me the parameters!parameter1.values(0) which is the very first record of my dataset (Same like an array) and the second columns will show as parameters!parameter1.values(1).

I am achieving the results as well.

Could you please verify whether this kind of parameters wise distribution would be convenient enough to achieve the rows to column transpose?

Using multiple datasets

$
0
0

Hi,

How can we use multiple datasets in the same column within the same tablix.

Example:

I am having one column i.e TEST.

In that in want to show to columns data one after the other .The first column comes from the main dataset while the second comes from the other dataset.

Please help!

I'm missing the Views on Report server.

$
0
0
When I amusing the Reports Server browser, in the upper right hand side there is a drop down call "View". Under there use to be a Layout section, that included Tiles, List. This section is no longer visible. How do I get it back.

Configure SSRS - Email delivery

$
0
0

Hi,

I'm trying to set up SSRS 2014 - Enterprise edition for email delivery

I've tested my SMTP server and it works fine i.e. it delivery email to my mailbox.

Now, to set up SSRS

SSRS url

SSRS log file - error details

.....

ui!ReportServer_0-20!1b10!09/03/2018-06:38:47:: i INFO: Software Usage Metrics not enabled for EnterpriseCore edition
library!ReportServer_0-20!115c!09/03/2018-06:38:50:: i INFO: Call to GetPermissionsAction(/RFQ rail reports).
library!ReportServer_0-20!115c!09/03/2018-06:38:50:: i INFO: Catalog SQL Server Edition = EnterpriseCore
crypto!ReportServer_0-20!115c!09/03/2018-06:38:50:: i INFO: Initializing crypto as user: NT AUTHORITY\SYSTEM
crypto!ReportServer_0-20!115c!09/03/2018-06:38:50:: i INFO: Exporting public key
crypto!ReportServer_0-20!115c!09/03/2018-06:38:50:: i INFO: Performing sku validation

.....

extensionfactory!ReportManager_0-19!1bec!09/03/2018-06:39:15:: w WARN: The extension Report Server Email does not have a LocalizedNameAttribute.
extensionfactory!ReportManager_0-19!1bec!09/03/2018-06:39:15:: w WARN: The extension Report Server FileShare does not have a LocalizedNameAttribute.
library!ReportServer_0-20!115c!09/03/2018-06:39:15:: i INFO: Call to ListSchedulesAction().
library!ReportServer_0-20!11f0!09/03/2018-06:39:15:: i INFO: Call to GetSystemPropertiesAction().

..............

schedule!WindowsService_26!aa0!09/03/2018-06:43:10:: i INFO: Handling Event TimedSubscription with data 08d1297e-45c1-401d-949f-f669926aea2f.
library!WindowsService_26!aa0!09/03/2018-06:43:10:: i INFO: Schedule 08bd28d2-3bc7-4cea-a5d7-a8013a4152c8 executed at 09/03/2018 06:43:10.
schedule!WindowsService_26!aa0!09/03/2018-06:43:10:: i INFO: Creating Time based subscription notification for subscription: 08d1297e-45c1-401d-949f-f669926aea2f
library!WindowsService_26!aa0!09/03/2018-06:43:10:: i INFO: Schedule 08bd28d2-3bc7-4cea-a5d7-a8013a4152c8 execution completed at 09/03/2018 06:43:10.
library!WindowsService_26!64!09/03/2018-06:43:11:: i INFO: Initializing ExecutionLogLevel to 'Normal'  as specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:11:: i INFO: Initializing EnableIntegratedSecurity to 'True'  as specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:11:: i INFO: Initializing SessionAccessTimeout to default value of '600' seconds because it was not specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:11:: i INFO: Initializing SqlStreamingBufferSize to default value of '64640' Bytes because it was not specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:12:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
notification!WindowsService_26!64!09/03/2018-06:43:12:: i INFO: Handling subscription 08d1297e-45c1-401d-949f-f669926aea2f to report Performance Metrics, owner: domain\user, delivery extension: Report Server Email.
library!WindowsService_26!64!09/03/2018-06:43:12:: i INFO: RenderForNewSession('/report folder/report name')
library!WindowsService_26!64!09/03/2018-06:43:13:: i INFO: Initializing SnapshotCompression to 'SQL'  as specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:13:: i INFO: Initializing ChunkSegmentSize to default value of '32320' Bytes because it was not specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:13:: i INFO: Initializing ResponseBufferSizeKb to default value of '64' KB because it was not specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:15:: i INFO: Initializing SessionTimeout to '600' second(s) as specified in Server system properties.
library!WindowsService_26!64!09/03/2018-06:43:15:: i INFO: Initializing EnableExecutionLogging to 'True'  as specified in Server system properties.
emailextension!WindowsService_26!64!09/03/2018-06:43:16:: e ERROR: Error sending email. Exception: System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
   at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
   at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
   at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
   at System.Net.Mail.SmtpReplyReader.ReadLine()
   at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at Microsoft.ReportingServices.EmailDeliveryProvider.EmailProvider.Deliver(Notification notification)
notification!WindowsService_26!64!09/03/2018-06:43:16:: e ERROR: Error occurred processing subscription 08d1297e-45c1-401d-949f-f669926aea2f: Failure sending mail: Failure sending mail.
library!DefaultDomain!c48!09/03/2018-06:43:30:: i INFO: Catalog SQL Server Edition = EnterpriseCore

...................

Is there any issue with my service accounts - in SSRS setup?

Thanks for the help!



SQL Server 2016 Report Builder Connectivity Issue

$
0
0
We just started working with SSRS 2016 in preparation for implementing it in production.  We are testing all the features and found that when launching Report Builder, it is unable to connect to the ReportServer.  We've tried the FQDN and the IP Address, but nothing works.  I decided to run a network monitor trace to see exactly what was going on and I found that it is trying to use port 443.  I tried forcing port 80 in the ReportServer URL, but it still tries to use port 443.  We are not using SSL for SSRS so it won't be able to use port 443.  Does anyone have any information on why this might be happening?

SSRS Parameters

$
0
0

Hi,

I am using two parameters i.e.

Parameters!Parameter1.Value and  Parameters!Parameter 2. Value

In my case i need to evaluate the parameter 1 value on the basis of parameter 2 value i.e

if user enters 12th September in parameter2 then parameter1 should change to 11th Sept

Please help

The remote server returned an error: (500) Internal Server Error

$
0
0

We are having this recurring error message on our Test Report Manager Portal when trying to run a report. I have Googled this and have found references to the Report Manager Config file. I have never gotten into the config files and looking at them. Does this sound like a config file issue? And guidance and help in troubleshooting this would be GREATLY appreciated.

Thanks for your review and am hopeful for a reply.


SSRS: How to print a report without bringing up the rendered report?

$
0
0

I'm wondering how to print a SSRS report without bringing up a report viewer. Is there way to print(PDF format) the SSRS report in the web application( .net )  directly from the "print" button without bringing up a report viewer?

Thank you!

SSRS : Export separate PDFs from SSRS generated report subscriptions

$
0
0

Hello Guys,

Everyday morning, we have set SSRS subscriptions @ 7 AM. This will create one single PDF with multiple pages. Is it possible for SSRS to name and separate pdf exported files based on the Patient ID Right now, when the report is executed, it only gives me one pdf with 100+ pages.  
below is the format of Information in the PDF for each patient. (Patient ID will change for each patient)



Converting a NVARCHAR into DECIMAL for calculation

$
0
0

Hi,

  I have a field in my table that is nvarchar(10) but this field is supposed to be a money or decimal data type. I need to do some calculation involving this field but I am unable to do so. How can I convert the nvarchar to decimal or numeric so i can calculate? The field name is writedownamount. Thank you.

IRenderingExtension SSRS 2008

$
0
0
I have implemented a skeleton plugin and installed it on my server.  However when I traverse the row/column hierarchies and access the Tablix.Body how do I get access to the value for each cell?  When I retrieve the values (via ((TextBox)contents.ReportItem).Paragraphs[0].TextRuns[0].Value.Value) it always returns either blank or null.  I seem to be getting to all the dynamic instances via MoveNext()/ResetContext() but the values aren't there.

SSRS Line Chart Series Border Style Dynamic

$
0
0

Please Help,

I am developing a Line chart to show the performance and Projections (Both values are in the dataset under same field).My requirement is the chart series line border should be "Solid"  for the months 1 to 8  and Dotted for the months  9 to 12.

I tried the below expression under Chart series BorderStyle Property and ran the report it throws the error "Error Processing Local report ..Invalid Definition "

=iif (Fields!MonthNumber.Value >8,"Dotted","Solid").

Attached images for reference..

Expected Something like this

Run a report based on new record in table

$
0
0

Hi All,

I have a requirement as, need to run a report for every new record in particular table.

Ex : I have a table say X contains 10 records, if 1 record inserted in a table X, then particular report has to run. 

Can u please help me on this. Please do not hesitate to ask any question on this.

Thanks in Advance

Multiple datasets with the same query and different condtions

$
0
0

I am trying to build a scatter chart report with multiple datasets which creates temp tables and pulls data for the same tables/database based on a where clause which has different customer ids. I am using the same SQL query in different datasets with differing where clause. however there are performance issues. I think with the same query in different datasets, its hitting the database multiple times.

My questions -

1) how do I use the SQL query to pull data only once and use it in different datasets?

2) if I have to convert the SQL query into stored procedure, how do we go about calling the stored procedure in different datasets based on where clause/condition?

3) if I use global temp tables instead of temp tables and how do I call the global temp tables from different datasets?


SSRS : Display Image in SSRS Report based on a condition

$
0
0
Hi Guys,  I have an SSRS report where it has the Logo i.e Image. How do I write the expression for Image that it shouldn't display for certain Programs? I have the Program field in the DataSet. 

This is the Image : 


Extra row when exporting a simple tablix report to excel SSRS 2008 R2

$
0
0

I have a very simple report with just a single tablix table that is adding a blank row to the Excel file when it is exported. The report has no groups, no extra header rows, just a simple query with a dozen columns. I verified the tablix's location value is 0in, 0 in and that all page breaks are off.

Any suggestions on what else to look at would be appreciated.

IMAGE REPETITION IN RDLC

$
0
0

i have a idcard image.

i am selecting data from datagridview and try to print selected data over the image.

the issue is how to repeat image according to selected data

if i select single data from grid then set single image as a background and set selected data over the image but i select multiple data from grid and print image will repeat multiple times and set selected data over the image.

and 1 page contains only 5 card image then page will break and create new page and set next data to new page.

how can i do this?

Error during processing of the CommandText expression of dataset

$
0
0

Hello

I have created a SSRS report that queries MYSQL and uses an expression to query the database.

All works fine in development, but when I deploy to the SSRS server some queries do not work.

Please note on some searchers it works OK on the SSRS server.

The error I get is the following;

  • An error has occurred during report processing. (rsProcessingAborted)
    • Cannot set the command text for dataset 'DataSet1'. (rsErrorSettingCommandText)
      • Error during processing of the CommandText expression of dataset ‘DataSet1’. (rsQueryCommandTextProcessingError)

The query dataset1 is running is this;

="SELECT D.ref as loc_ref, TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',2),'|',-1)) AS cat1,  TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',3),'|',-1)) AS cat2,  TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) AS cat3,  Stk_products.name AS cat4, Sl_orders.unit_gross_paid as price_paid, Sl_orders.total_gross_paid as TTL,Sl_orders.type_lkp as status,Sales_qty as Sales_qty,Case When Sl_orders.type_lkp = 4 Then 'refund' When Sl_orders.type_lkp = 1 Then 'sold' Else Sl_orders.type_lkp End as CS_Transaction_Type, Case When TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) = 'Ladies' Then 1 When TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) = 'Mens' Then 2 When TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) = 'Childrens' Then 3 When TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) = 'Media' Then 4 When TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',4),'|',-1)) = 'Home' Then 5 Else 6 End as OrderBY FROM sl_transaction t inner join data_location D on D.id = t.location_id inner join sl_order Sl_orders on Sl_orders.transaction_id = t.ID inner join stk_item Stk_item on Sl_orders.stk_item_ID = Stk_item.ID inner join stk_product Stk_products on Stk_products.ID = Stk_item.stk_product_id inner join stk_cat sc on Stk_products.stk_cat_id = sc.id Left join sl_order_note on Sl_orders.id = sl_order_note.sl_order_id WHERE D.id >=1 and  D.id <=99999 AND Sl_orders.line_status = 1 And TRIM(SUBSTRING_INDEX(SUBSTRING_INDEX(concat(path_string, '|||'),'|',2),'|',-1)) in ('New Donated','DONATED GOODS') and Date(t.updated_at) between '" & Format(CDate(Parameters!RW_START_DATE.Value), "yyyy/MM/dd") & "' and '"& Format(CDate(Parameters!RW_END_DATE.Value), "yyyy/MM/dd") & "' and D.Ref in ('" + join(Parameters!Store.Value,"','") + "') order by t.updated_at"

What can I try so all searchers work on the SSRS Server?

Regards

SQLSearcher99

Color Matrix columns

$
0
0

Hi,

I am looking for a way to color the values in matrix in SSRS.

I have row group as Test. And column group as Period.I have two columns-Count and Count1 as values.

I want to color the Count column of 2018-08 as Yellow when its greater than 2018-07 and Red when its less than previous period else do nothing. For Count1 column i want to change the font to red color whenever the value is greater or lower than previous period else do nothing.

Tried below formula but it changes color for every row. One row as yellow and other as red.

=IIF(SUM(Fields!Count.Value) > Previous(SUM(Fields!Count.Value)), "Yellow", "Red")

Thanks in advance.


Viewing all 10045 articles
Browse latest View live


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