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

Timed Subscription Schedule in SSRS sends out duplicate emails

$
0
0
I have created a one-time subscription in SSRS report manager 2008. However I keep getting duplicate emails sent out by the subscription. The interval between each email is about 30 minutes.

I have checked SQL agent job and it looks the SQL agent job is created correctly. It just runs once and after that the next run time is cleared.

I also checked SMTP service on local machine by testing code. SMTP works fine for test email without duplicate. So I guess probably it is something wrong in SSRS. Any advice on where I can look into?


I loose data when I implement Recursive Parent approach

$
0
0

Hi

I am designing a report where I need to maintain parent child hierarchy. When I use recursive parent approach, I get correct display of data but I loose the data in column 3 and column 4. Only top rows are picked up.

Thanks!

Report builder 3 ODBC connection

$
0
0

Hello,

I asked the same question on stack overflow but no luck so far. 

Problem connect MySQL to Report Builder 2016.  What is interesting in another computer I have installed Report Builder 2014 and don't have any problem connecting to the same database.  

Ok now the problem 

System details:

Win server 2016

2016 Report Builder 

mysql odbc 5.2.7-win32.msi

MySql Ver 14.12 Distrib 5.0.77 in Linux box

I set up ODBC driver and connect to the database. Successful

In the Report Builder set up Data source in connection properties windows. Successful.

But when connection properties windows are closed and I trying test connection error

Any Ideas WHY?

And how this can be fixed. 

Thank you

Konstantin





Is it safe to create new .RDLC report as a copy of existing .RDLC report?

$
0
0

Is it safe to create new .RDLC report as a copy of existing .RDLC report?

When I say "copy" I mean file copy/paste.

The reason I ask is that when you open .RDLC report as text you will see that it contains something that looks like unique report ID at the end of the file:

  <rd:ReportID>34154e6a-cb1b-483e-aa89-07fd8b77e73e</rd:ReportID>

So the concern is if I just copy the file it will have the same ReportID and I am not sure if it can present a potential problem.

SQL Server Reporting Services 2017 patching

$
0
0
How do you patch SQL Server Reporting Services 2017? In previous versions of SQL Server, you could patch Reporting Services when you patched the rest of the SQL Server services (database, SSIS, etc.). However, now that Reporting Services is a separate install, there is no option to patch Reporting Services when you patch the other SQL Server services. I only see the download page  for the full product of Reporting Services 2017. Where is the download page for the Reporting Services patches? The current Reporting Services download is definitely a higher version than the one that installed earlier this year.

SSRS – Recursive Sum did not provide the desirable results at the sub-grouping level

$
0
0

(I use the SSRS 2012 version)

I have been working on the SSRS report for the recursive organization. I got the result working partially. Let me explain step by step.

1. The recursive levels are working fine. I got everyone listed with correct hierarchical levels.

2. “Total Hours” column provides the correct numbers.

Example: Joseph has the result of 3,609.00 in Total Hours.

The result comes from the direct reports: 285.25 (Brad’s team) + 235.50 (Brian’s Team) + 244.50 (Garth’s team) + 1,901.50 (Patrick’s Team) + 203.00 (Timothy’s Team). This comes up at: 2,869.75 hours.

Then, on Joseph’s line -> that’s hours of his direct reports:

So, we add: 80.25 + 526.5 + 3+ 129.50 = 739.25

All combined to: 2,869.75 + 739.25 = 3,609.00

3. On the sub-level, Patrick’s team has David and Hart as his direct reports and each direct report has some team members. 

For example: Hart: He has two direct reports,

Jo and Thomas and both also has sub ordinates in each team.

However, the total hours for Hart are 809.25, which are from: 174.00 hours for Jo and 397.25 hours for Hart. Make the combinations of: 571.25 hours. 

Then, Jo and Thomas each put 99.75 + 137.25 + 1 = 238.00 hours. Total for Hart’s team = 571.25 + 238 = 809.25 hours.

Each wrap up the hours to the next level. We have good "Total Hours" because the report sums the correct hours within the appropriate hierarchical levels.

------------------------

Row and Column Grouping:


---------------------------

Problem:

I cannot make the week column to work as in the Total Hours column. Apparently, it looked like the sum of the hours, were counted only one level apart. We would like to see the organization level, just like we see in the Total Hours column.

Another word, I would like to see total hours column broken down by each week. But I feel that, my SSRS expression was incorrect for the Week column.

The expression that I used for the total hours column is:=sum(Fields!TotalHours.Value,"bossname", recursive) 

RDL Layout and SSRS Expression: 

The expression that I used for the week column is:

=Iif(InScope("Week"), Iif(InScope("bossname"), sum(Fields!TotalHours.Value), sum(Fields!TotalHours.Value, "Week")), Iif(InScope("bossname"), sum(Fields!TotalHours.Value,"Week",recursive), sum(Fields!TotalHours.Value))) 

Can you let me know of what I did wrong on this?  

Also,one additional question:

Can we produce the charts, like stack bar charts, based on the recursive mapping? I did not see any parental mapping properties in any of the charts.

Thanks.


SSRS 2017 Performance/Unhandled Exception

$
0
0

I'm trying to fix a problem where we are getting high rendering times from SSRS 2017 at different points in the day.

Around the same time that we are experiencing rendering problems, not always - but often, I've found an event like this in the event log, and I was wondering if I could get some help interpreting what it is and solving it:

(I'm going to anonymise some server names, report names, etc, because - business - they'll be in <BRACKETS>).

The description for Event ID 1309 from source ASP.NET 4.0.30319.0 cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

3005
An unhandled exception has occurred.
25/10/2018 4:54:04 PM
25/10/2018 5:54:04 AM
8109a934d3b74a23b191dde17ae0fb6d
74716
1
0
ReportServer_SSRS_0-55-131849016722735006
RosettaSrv
/ReportServer
C:\Program Files\Microsoft SQL Server Reporting Services\SSRS\ReportServer\
PRO-SSRS-01
4000
ReportingServicesService.exe
<CORPDOMAIN\SERVICE_USER>
COMException
This network connection does not exist. (Exception from HRESULT: 0x800708CA)
   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.GetAuthType()
   at ReportingServicesHttpRuntime.RsWorkerRequest.GetUserToken()


http://<HOST>/ReportServer/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=14.0.600.744&Name=Microsoft.Reporting.WebForms.Icons.SplitterHorizCollapseHover.png
/ReportServer/Reserved.ReportViewerWebControl.axd
172.17.6.115
False
<CORPDOMAIN\SERVICE_USER>
22
<CORPDOMAIN\SERVICE_USER>
False
   at Microsoft.ReportingServices.HostingInterfaces.IRsHttpPipeline.GetAuthType()
   at ReportingServicesHttpRuntime.RsWorkerRequest.GetUserToken()

SSRS Arrays in Custom Code

$
0
0

How can we return all the elements of array in custom code:

Below is the custom code which i am using:

Public Function Test_Array() As String
Dim Parafin_Tag(24) As String
Dim i As Integer
if i<24 then
i=i+1
end if
 Parafin_Tag(0) = "VIL_CP_PRFN_WT_R209A"
    Parafin_Tag(1) = "VIL_CP_PRFN_WT_R209B"
    Parafin_Tag(2) = "VIL_CP_PRFN_WT_R209C"
    Parafin_Tag(3) = "VIL_CP_PRFN_WT_R209D"
    Parafin_Tag(4) = "VIL_CP_PRFN_WT_R209E"
    Parafin_Tag(5) = "VIL_CP_PRFN_WT_R209F"
    Parafin_Tag(6) = "VIL_CP_PRFN_WT_R209G"
    Parafin_Tag(7) = "VIL_CP_PRFN_WT_R209H"
    Parafin_Tag(8) = "VIL_CP_PRFN_WT_R209J"
    Parafin_Tag(9) = "VIL_CP_PRFN_WT_R209K"
    Parafin_Tag(10) = "VIL_CP_PRFN_WT_R209L"
    Parafin_Tag(11) = "VIL_CP_PRFN_WT_R209M"
    Parafin_Tag(12) = "VIL_CP_PRFN_WT_R209A1"
    Parafin_Tag(13) = "VIL_CP_PRFN_WT_R209B1"
    Parafin_Tag(14) = "VIL_CP_PRFN_WT_R209C1"
    Parafin_Tag(15) = "VIL_CP_PRFN_WT_R209D1"
    Parafin_Tag(16) = "VIL_CP_PRFN_WT_R209E1"
    Parafin_Tag(17) = "VIL_CP_PRFN_WT_R209F1"
    Parafin_Tag(18) = "VIL_CP_PRFN_WT_R209G1"
    Parafin_Tag(19) = "VIL_CP_PRFN_WT_R209H1"
    Parafin_Tag(20) = "VIL_CP_PRFN_WT_R209J1"
    Parafin_Tag(21) = "VIL_CP_PRFN_WT_R209K1"
    Parafin_Tag(22) = "VIL_CP_PRFN_WT_R209L1"
    Parafin_Tag(23) = "VIL_CP_PRFN_WT_R209M1"
    Return Parafin_Tag(i)
End Function

Could you please correct me if i am wrong?


SSRS with Postgres Database

$
0
0

How to connect postgres to my SSRS Report Builder Data Source ?

I have tried to install postgres ODBC and JDBC.

Then I also added Postgress to ODBC Data Source Administrator.

After that I tried to add Data Source in the Report Builder.

Then I tried to test the connection but it show fails.

Can someone help me on how to build connection from SSRS to Postgres Database ?


SSRS Report Description field

$
0
0

Hello,

in SSRS we have the description fields for folders, paginated and mobile reports and KPIs. But this description will only shown in the List layout, not in the Tiles layout. Up to now the description field is useless in the Tiles layout.

From my point of view it would make sense to display the description in the Tiles layout:

- for folders at the top right after the bread crumb and for subdolders as a subtitle.

- for any other objects e.g. as a tooltip by hovering and/or as a subtitle in a smaller font size for paginated reports.

Is it possible to display the description in this way by any special SSRS configuration?

Regards,

 Thomas.

data driven subscription

$
0
0

Hello,
There are several reports i.e. Report1, Reoprt2, Report3, Report4...Report10
They are scheduled to run once daily. Each one of them runs at different time in the day and only once throughout the day.

Question.
I have a select statement which gets the count of the rows in a table.
If the count > 0 then I would like to run the reports, all at the same time.
Is there a way to do this? I read that the new data driven subscription in each of the reports does this requirement but I can not find a step by step guidance on how to set this up for each report so that the schedule is run
i.e.
declare @counter int;
select @counter = count(*) from tbl1 
if (@counter > 0)
	execute report

How can I do this please?

Thankyou

Total for two groups

$
0
0

Hi everyone,

I have a report with two groups: parent and child. I want to have totals for both of them as columns. 

For example, I have a shop1 with items: item1, item2 and item3. shop1 is parent group and items are child group. Also, I have capacity parameter for different month. So, my columns will be capacity by months and rows items. I want to have totals as rows for every item and in next column total for shop1 as merged cell for all items. 

When I try to add total, I can add total in another row, and can't get total for shop. How I can achieve two additional columns with group totals?

Regards,

Yerkhan

SSRS Conditional Data set Execution

$
0
0

Hi,

I am working on a dynamic report.

Suppose i have written 25 data set queries,can we execute the only required datasets i.e. 15 or 20 or any number.

Example: if user wants to see data for 1-JAN-18  to 30-JAN-18 then it will return some 10 records as per the date parameters:

As per my report requirement i need to create 25 datasets and 25 tablix on report.

I want to count the number of records it processes in my dataset and as per the count i need to evaluate/stop execution of my remaining datasets.

If 20 records have been found then it should only process and execute those 20 datasets 

Please help!

Management reporter subscription parameter values (for yesterday)?

$
0
0

Hey all,

I'm trying to setup a subscription to a report, but want the data for that report for yesterday(example, all sales from yesterday). I can't get the syntax correct, I've tried today()-1, @today() but none are working. How can I get the parameters to allow this? Screenshot attached for reference.

HELP: Could not load file or assembly 'Microsoft.ReportingServices.ProcessingCore' error - SSRS 2008

$
0
0

Hi,

I'm trying to upload some rdls on a Report Manager of SSRS 2008 RTM (not R2) that I don't install and configure and I've an error about "Could not load file or assembly 'Microsoft.ReportingServices.ProcessingCore". SSRS is in native mode.

The operating system is Windows Server 2008 - 32 bit with SP2.

Any helps to me, please?

 


Row Visibility not working in SSRS

$
0
0

Hi

I have a group and want to hide rows where RowNumber = 2. Row Number is database generated field.

I use

=iif(Fields!RowNumber.Value = 2, True, False) to hide rows, it is not working.

Thanks!

Customised interval in horizontal axis.

$
0
0

Hello All,

I have a report where I see a bar for every week Thursday + Today if someone running the report on any other day then Thursday.

User want to see "Today" as axis name when required. I need to keep the same interval for dates but also need to see text "Today" always if a bar exist.

Please help.


Best Regards, Pragati



Create Calendar hierarchy tree

$
0
0

Hi 

I have one date dimension table and I have created a SSAS Tabular model with Calendar hierarchy with levels as Year-Quarter-Month-Week-Date. I want to show same hierarchy tree in SSRS. How to achieve this ? Inputs will be highly appreciated.


Aniruddha http://aniruddhathengadi.blogspot.com/

Error "Invalid attempt to call FieldCount when reader is closed" thrown by Report Manager rendering attempt

$
0
0
A report I've just designed runs fine, albeit quite a long time, in Visual Studio/BIDS, but eventually fails when run from Report Manager.  The report is created in SQL Server 2008 R2  Reporting Services, and accesses an IBM DB2 database using IBM DB2 for i IBMDA400 OLE DB Provider (Provider=IBMDA400). 

The report sits there waiting for the query to return the dataset for quite some time, which is expected.  I can view the rising read count for the database job running on the IBM iSeries.  Eventually, however, the database job ends, with no indication of a problem, and the Report Manager web page where the report is supposed to render is merely blank.

The following error appears in the Reporting Services log:

ERROR: An exception has occurred in data set 'dsGrossSalesDiscNet'. Details: System.InvalidOperationException: Invalid attempt to call FieldCount when reader is closed.
   at System.Data.OleDb.OleDbDataReader.get_FieldCount()
   
I assume this means that Reporting Services is using a .Net OleDbDataReader object to read the datastream opened by the IBMDA400 data provider.  I don't see how I have any control over the logic in Microsoft's software that is accessing a get_FieldCount property when it is invalid to do so. I hope this is enough information for someone to hazard a guess as to what is going on.

Joining two tables but include (some) nulls?

$
0
0

Here are my two tables that I'm trying to join. I'm trying to include the null values, but don't know how. :(

Table 1

Number               Name                    ID

1                          Math                     425

2                          Sci                        NULL

3                          Bio                        450

Table 2

Number              Name                       ID

1                         Math                       425

2                         Sci                           534

3                         Bio                           450    

      

select * from table 1 a

LEFT JOIN table 2 b on a.Name and b.Name and b.ID = a.ID

Basically, I want to be able to join where Name and ID match, but have exception for some names that have a null ID. Is that possible? Thank you.

Viewing all 28687 articles
Browse latest View live


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