How Are The Aggregate Details Being Calculated On A Click Through Report?

Jun 27, 2007

Hi -



I need help figuring out what setting I need to tweak to get the correct calculations for the default aggregate attributes for the related entities of the one I am drilling into. Right now it is calculating the total across all for every row and not slicing by sub-customer.

Example:

I have a customer with a one-to-many relationship to incidents. Both have a count aggregate that is part of the default aggregates for the entity. There are 58 rows in my table. If I run a report with CustomerName and #Incidents, I correctly get different sub totals for each customer, totalling to 58 for the grand total. However, if I run a summary report on customers and drill into the customers using click through, the #Incidents is displayed but it is 58 for all customers - every row.



If I go into the defaultDetailAttributes of the Customer and add the #Incidents to it and run the previous test, then the correct number of incidents are shown for the customer, then the incorrect number of incidents follow (from getting the aggregates from the children).



The query generated is huge and I am sure it has something to do with my OptionalMany relationships between the tables, but I can't understand why...



Can anyone help me out?



Thanks in advance,

Toni Fielder

View 2 Replies


ADVERTISEMENT

Analysis :: Calculated Member From Aggregate And Non-aggregate Factors

Sep 22, 2015

I have 2 Dimensions in SSAS (see below end), I want to create a calculated member, named

This_Year_Billable_Objective_Count, with its formula = BillableLastYear*(100+ BillableObjective)/100.

The first factor,  BillableLastYear is a number, aggregated (sum) from child units.

The second factor,  BillableObjective is a percent number (for example 28 means 28%), it's not aggregate. It's an dependent value for each unit.

How can I calculate This_Year_Billable_Objective_Count for each unit?

\ able 1
SELECT [UnitKey]
      ,[UnitID]
      ,[UnitName]
      ,[Unit2Name]
      ,[Unit3Name]
      ,[Unit4Name]

[Code] .....

View 6 Replies View Related

Reporting Services :: SSRS Matrix Click On The Count Like Pivot Table To Get Details

Apr 24, 2015

I am trying to create a matrix report to work similar to a pivot table, where when a user clicks on the count, the details are displayed. When I add the action to open a sub-report, how do I pass in the parameter values for the group that was selected? meaning if in row group- I have company name, and column group I have job title, when the count gets clicked, i need to pass in the company name for the row that was clicked along with the column group. How can I proceed?

View 2 Replies View Related

Double Click On The View Report Button To Get The Report To Render.

Jul 26, 2007

I've got a SQL Reporting Server 2000 SP2 report that takes 3 parameters. FromDT, ToDT, and LocationCD. The first two parameters are free form text fields that expect a date. The last one is a drop down box. For some reason, when I'm viewing the report through the standard reports folder on the report server I have to click the "View Report" button two times to get the report to render. Clicking it just once, doesn't seem to do anything. The report is a line graph.

There are default values in the FromDT and ToDT parameter fields.

Anyone have any ideas what would be causing the need for the second click?

View 2 Replies View Related

Click Through Report Parameter

Aug 27, 2007

Hi there.

I am having a problem where I have a Summary Report for a Region that lists out data for each community in that region (sample below):








West Region
Count

Community 1
N/A

Community 2
14

Community 3
41

Community 4
25

Community 5
38

Community 6
67

Community 7
40

Community 8
52

I have navigation setup such that when I click on a Community (like Community_1 above), the detailed community report is called. I am passing CommunityID as a parameter to the community report. The community report has a CommunityID (literally) parameter setup. This seems fine, but when I click on a community from the Region report (for example, Community_1 above), the community report does not automatically get rendered, it makes me select a community before it renders. I must have something setup incorrectly, but can't figure it out. Any ideas would be appreciated.

I want the community report to be rendered based on the selected community without having to select it again.

Thanks, Mike

View 11 Replies View Related

Unable To Print The Report At Single Click

Jun 12, 2007



We are having a weird problem. User printing a report have to press the print button twice to print a report. It is causing some problem and failing in QA too :-(.

Please help.

View 4 Replies View Related

Reporting Services :: SSRS Linked Report Based On Calculated Field From Main Report

Oct 6, 2015

How do I get data on my linked report based on my grouped subtotal and grand total from the main report.  The subtotal and grand total are calculated columns.

I have a 3 columns in my matrix in the SSRS summary report. Actn_COAST, ActnCITY and NumbOfAccts.  

The following is code for my summary report.  The results are shown below.

SELECT Distinct ActnCITY, Count(ACCT) as NumbOfAccts,
CASE WHEN ActnCITY in ('NY', 'OH', IN, 'NJ', 'SC', 'NC') THEN 'EAST COAST'
WHEN ActnCITY IN ('CA'. 'NV', 'UT', 'WA', 'OR') THEN 'WEST COAST'
ELSE 'OTHER'
END AS Actn_COAST

FROM tbl1
where ACTNDATE between @STARTDT and @EndDT

Code for my detail report contains the following SQL

SELECT * FROM tbl1 where ACTNDATE between @STARTDT and @EndDT AND @ActnCITY = ActnCITY

I have linked my report based on the NumbOfAccts column.  I am able to get data if I click any of the NumbOfAccts values related to the state I want.  However when I am not sure how to make the subtotal and grand total work.  I want when I click on the subtotal of either coast, I should be able to see records of that coast e.g., if I select 37 I should be able to see all the records in East Coast.  If I click on the Grand Total, I only want data related to those 2 coasts.

View 2 Replies View Related

Report Model: Drill On Calculated Field In Report Builder

Feb 11, 2007

Hi,

I've created dsv that contain all fields from table database. in the smdl I've remove some fileds due to security. All fields in the smdl do not contain drill.

Issue: When I created calculated field in the report builder the field has a link. When I clicked the drill I saw all the record data including field that not in the smdl.

Questions:

1) Can I remove the link from the calculated fields?

2) Can I prevent from users drill to fields that not in the smdl?

Thanks,

Assaf

View 1 Replies View Related

Multi-value Selection Blanks Out On View Report Click

Aug 13, 2007

I have a report that I am building that consist of 4 multi-value selections from four different queries. When I choose "Select All" from all the drop downs and click on "View Reports", it blanks out all the selections from one of the drop downs.

Can someone please point me in the right direction on this problem. The report will run sometimes, but most of the time it will not.

Thanks

View 3 Replies View Related

Hiding/unhiding A Report Field By Mouse Click

Jun 6, 2007

How would you go about making one of your fields hidden until you click on it?

View 4 Replies View Related

Dynamic Parameter Value Preservation Problem When Click On View Report.

Sep 17, 2007

Hi Friends,

I have used some dynamic parameter of type string and integer.

When I hit my detail report from my menu report(Where I pass the values for these parameters from menu to detail). The Detail Report comes fine.

But when I click view report button of my detail report the vaues for all these parameters are set to default value.

So the parameters are not able to retain their pass value from the menu report.

This thing is happening when I m hiting the published report but the reports are working fine in Report designer.

Please help me.

Thanks
Novin

View 3 Replies View Related

Reporting Services :: Export SSRS Report Into PDF Using Image Click

Jul 6, 2015

I need to export the SSRS report into PDF using Image click in addition to out of the box available Export option.

View 3 Replies View Related

Placing Or Executing Vbscript Code On Click (Report Field)

Jan 8, 2008

Hi,

I am novice to SQL reporting services.
I have created a report using SSRS.
In this report I would like to show a column value as button and wants to execute vbscript code on click.
Or at least execute vbscript code on click of that field (button is just an option!)
The code will launch another application (exe file or else)

Help in this regard would be appreciated.

Thanks

View 2 Replies View Related

Report Export Failing: An Internal Error Occurred On The Report Server. See The Error Log For More Details.

Feb 14, 2007

I have a pretty complicated report (lots of subreports, tables, etc) that can be well over a few hundred pages long. I can generate the report just fine, but I cannot seem to export it to anything other than an html archive. I need to export to PDF. Every time I try to export it get an error that says:

An internal error occurred on the report server. See the error log for more details.



I don't get any more information than that. Is there a way that I can figure out what the actual error is, or any other way I can go about troubleshooting this? Thanks.



Jeff



View 3 Replies View Related

Details As Report Parameter? Possible?

Mar 7, 2008

I've got a question regarding report parameters and how to handle them with report details.

Let's assume I've got a matrix with the year in columns and articles in rows. The detail block consists of the turnover and the amount of each article selled.

Is it possible to set a report parameter that'll let the user decide, via a drop down box, If he will the see the turnover, the amount or both? I know that it works for values but can I apply a parameter to columns?

Thanks in advance!!!

View 5 Replies View Related

Asterix Not Showing In Report Details

Jun 4, 2007

I have a report that shows a header, details and a footer



The detail line never prints lines with asterixes in them, e.g.



"**blah blah**"



As soon as I delete the asterix from the database, the line appears on the report



Any ideas anyone?

View 14 Replies View Related

Calculated Fields In The Report

Oct 1, 2007



I'm supposed to create a report like shown below.









Credit Tier
Jan-07
Feb-07
Mar-07

AA
0.00%
0.00%
0.00%

A
0.00%
0.00%
0.00%

B
0.00%
0.00%
0.00%

C
0.00%
0.00%
0.00%







Time columns go up to Dec 07. But I did not show all the columns.

The values are calculated as follows.
Field value for Jan07 = (No of Loans pass due in Jan07 / Total No of loans disbursed in Jan07)
Repayment due date is 5th of every month. if smbody does not pay on 5th, its considedred as pass due.


Source data tables look like this.

LoanTable(Disbursed date, userID, Amount, Status)

CreditTier table (Credit Tier, Rate) - Seems like no relationship with Loan table


we can identify pass due loans from status field in loan table. Status appears as 'Deliquency'.

Please Can any one help me to create this report?

View 11 Replies View Related

Exports To Excel The Details Of The Report But I Need Summary

Sep 25, 2007

The trouble I am having is that I have a drilldown report that exports the detail to Excel, but I want the summary exported to Excel.

I perform the following steps but get wrong results. Please help me identify the correct steps for the correct results. Thanks you.

1) Select Matrix.
2) Right click, select Properties.
3) Select tab Groups.
4) Select item in Columns list, click Edit.
5) Select tab Visibility.
6) Select Initial visibility: Hidden, and click okay to the Grouping and Sorting dialog box.

Now I can export summary to Excel okay, but now I can not expand the summary in the report itself, so I do the following:

7) Do one through six above (but do not close dialog box), then click visibility can be toggled by another report item.
8) Select the report item in the Report Item drop down list.


Now the report functions normally in the Reporting Services report web page, but when I export on the summary level, again it exports the detail to Excel, but what I want it to export is the summary.

Ideas?

View 8 Replies View Related

Last Report Item Or RowNumber For Details Grouping

Apr 26, 2007

I have a report with details grouping on table. What i need to do is put row number only on Parent row and skip the child row. When i use RowNumber("GroupName") of course it gives me a current RowNumber. Is there a way to count only parents?

View 3 Replies View Related

How To Do A Report With Multiple Sets Of Details For One Group

Mar 4, 2008



Hi,
I started working with SRS from the past one month. I am breaking my head to do this. My report has a single stored procedure. I made it to work all values of a parameter like
exec sp_employee 'All' (Returns data for all employees)
exec sp_employee '1111' (Returns data for an employee with id 1111)
exec sp_employee '1111,2222' (Returns data for an employee with id 1111 as well as 2222)

This part works perfectly. I could successfully pass the values as mentioned above using a code block.

Now my challenge is how to layout the data on the report.

I need to show the report as follows:

Employeeid Employee Name Address etc.......
Skills:
Skill# Skill Name
1 11111
2 22222
3 33333
4 44444
Contacts:
Contact Type Contact#
Main 111-1111
Emergency 222-1111
Eductation:
Name University
Degree UofU
Masters UofU

I tried using group by employeeid. But i can only show one group of data either Skills/Contacts/Education.
I do not know if I use sub-report, how to pass the parameter from the main, when I pick multiple values for Employeeid.

Any idea how to do this? I appreciate your help,
Thank you,



View 3 Replies View Related

Report Manager And The Show Details Button

Jan 24, 2008

I've read posts that state it is impossible to remove the "Show Details" button on the tool bar in Report Manager.

I created a new role assignment for an individual on a folder with the "Browse" role only.

When that individual navigates to the folder and clicks the "Show Details" button, the "Delete" and "Move" buttons also appear on the tool bar, with a checkbox next to each report item.

I can't have a folder where my users have the ability to delete or move my published reports!

Am I missing a setting? Again, the user has the "Browse" role only on the folder.

Thanks.

View 10 Replies View Related

To Get Details Of Column Names From An Existing Report

Mar 25, 2008

All,

I want to retrive the column names from an existing report. The report is deployed on the report server and i want to write a code which will list all the column names of the reports along with the properties.

Is there any way i can do this. If so , please let me know. A code sample should help.

Regards..
Girija Shankar

View 3 Replies View Related

Formatting Calculated Fields In Report

Jun 7, 2001

I have a problem.... I have a TSQL procedure that calculates employee overtime based upon days 1-5 of week being "in-week", and days 6-7 oweek being week-end overtime. The resulting data is then mailed to dept managers. My problem: for some reason the calculated colums are being generated at a width of 40 char per column. I somehow need to reduce the width to 8-10 characters per colum (this will eliminate the wraping that I currently get in my e-mails)... Any help would be appreciated... Thanks..Tom

View 1 Replies View Related

Sort A Report On A Calculated Field??

Apr 15, 2008



OK I have a report that needs an interactive sort on a calculated field. I get the message: "Report items cannot be used in sort expressions"

That's the whole reason we purchased SS*S and are putting up a Data Warehouse, so we can rank and analyze our data. Surely there is a way to do this??
Thanks for any advice!

View 17 Replies View Related

Calculated Member In Report Builder

Apr 20, 2006

I have added a calculated member in my Analysis Service Cube, but this member does not show up in Report Builder. It is in my cube. I have tried to rebuild the model and to generate a new model.  I can create a report from Visual Studio 2005 with the calculated member. Does not Report Builder support calculated members?
 
/Stefan

View 3 Replies View Related

Report - Interactive Sort On Calculated Field

Feb 27, 2008

Hello,

I have a report that calculates a field and therefore it does not exist in the dataset.

Can I perform an interactive sort on the textbox that contains this calculation?

Many thanks.

View 1 Replies View Related

Calculated Measure Causes RsMissingFieldInDataSet And Breaks Report Expressions

Sep 17, 2006

Robert Bruckner [MSFT] in his response to "This field is missing from the returned result set" says that rsMissingFieldInDataSet is "only a warning"

I have a report with 7 simple calculated measures to show counts for 7 ratings: ([Measures].[Score Card Count],[Attainment].[Attainment - ATTAINMENT].<rating>).

6 measures work fine; one, for which there is no rating in the fact table returns rsMissingFieldInDataSet warning. Even worse, if I use this field in an expression in the report with other measures, the return is always nothing.

In other words, although this is "only" a warning, it actually causes errors by not returning values from expressions.

I tried to check for null/nothing but could not prevent "breaking" the expressions. Any ideas?

View 1 Replies View Related

Hide Calculated Column In Matrix Report And Show Only In Total

Sep 25, 2007



Hi All,

I need to show the Cumulative calculated value only in Total by year/Group. I could not use Visibility expression using

InScope, as it creates *Blank column. Please go thru details below.



Year
Month01 02 03 Total
Salary Salary Salary Salary Cumulative (Calc)

Employee01 20 5 25 25
Employee02 10 10 20 45
.....
Total


How can i achieve this?. Any suggestion on this would be appreciated.

Thanks,

View 1 Replies View Related

Reporting Services :: Sorting On Calculated Report Items Columns

Jun 21, 2015

I need to sort my tablix report where I have several calculated columns like:

=ReportItems!Textbox47.value+ReportItems!Textbox48.value..

Now I would like to sort these by using the Interactive sort functions - but I have seen elsewhere that this is not possible..(I'm also getting an error when trying..)Is there not a way that I can bypass this (using Code function or similar) ? The datasource for the data is a OLAP cube

View 3 Replies View Related

Report Builder - Numeric Aggregate Aggravation

Mar 2, 2007

So I'm building a report model containing several 8 or so numeric amounts.  All amounts are numeric(10,2), and there is nothing that would differentiate the columns other than their names.

One of the columns WILL NOT generate any aggregates.  It just appears as an attribute.  It's inexplicable. 

I've even tried to build a model containing just this one numeric attribute, and it still does not work!!  VS just hates this one element!  Anyone seen anything like this?

 

I'm running VS 2005 Sp1.

View 3 Replies View Related

How To Add A Calculated Column In Report Builder Using A Model Based On A SSAS Cube

Mar 21, 2007

I am trying to add a calculated field / column in Report Builder when working with a Report Model built from anAnalysis Services Cube. I can create the calculated Field/Columns, but I get an error whenever I try to use it in a report.

Is there a way to create a report builder calculated column on report models built from a SSAS cube? Is this supported?

Thanks,

View 8 Replies View Related

Reporting Services Within The Report Calling Encryption Software To Decrypt Credit Card Details

Aug 23, 2007



Hello Everyone

As part of UK compliance, we are going to start use an encrytption package (GNUPG), which will be running on a different Server to Reporting Services. A program has been written in C#, to handle requests (from mainframe and PC applications) to encrypt/decrypt credit card details. The encrypted card details are held in an NCR Teradata data warehouse, which Reporting Services can access. The encryption can be called using a http://server/folder/program?DATA=

In Reporting Services, a Data Source connection will be made, using an OLE DB .NET connection to the Teradata machine. SQL code will be included, which will link tables and retrieving the required fields for use in the report. I want to call the encryption program to decrypt the card number, so the actual card number can be printed in the body of the report.

There will probably be a requirement to write some parameter selection SQL as well, so a card nmuber can be entered as a report parameter field, which the SQL will have to either encrypt first, then process the SQL statement down the tables.

Has anybody use this technique before?


Thanks

Graham N.

View 2 Replies View Related

Transact SQL :: Powershell Script To Fetch Database Usage Details For Multiple Servers (report)

Oct 28, 2015

Is there a way to fetch database usage details for multiple SQL servers (report) usirng powershell script.

Details: servername, databasename, datafile usage, logfile usage, free % age...etc.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved