Use calculated field(s) in other report
Hi everyone,
Is there a way to use a calculated field by itself in another report? I don't want to insert a sub report because it takes up too much space.
I just need to use few fields in other calculations in the new report.
Thank you
The only way I can think of doing this without subreports is to save the values in a database somewhere. In order to do this, the values would have to be calculated in the report's SQL Command data source. (I'm guessin' that's probably not what you're looking for, but using subreports is the only other way I can think of...)
HTH,
Carl
Similar Messages
-
Using Calculated Field in Multi Value Field
In Siebel Application
Sales Order---> List
There is a field call "Sales Rep" which displays an "USERID" of Order Sales Team Mvg Applet.
But We want to display the Last Name and First Name (combined).We got the first and last name using calculated field (Active Full name).
When I try to get the full name, the system display the name based on the "Primary position", if I step out of the particular row and come back again
Is there any way to display the full name without step out any rows for Sales Rep fieldYour description is a little confusing. For performance reasons it is always best to set the use primary join on multi value links. This means that when multi value fields are displayed in applets they always show the primary by default. If you want to display something other than the primary what is your rational behind this and why not make the record you want to display the primary?
Message was edited by:
Richard@AXA -
Answers - would like to use calculated field's name, not expression
Hi Everyone,
I'am trying to make several calculated fields in a single query in Answers. Each field references the previous one, and the expression of the first one is already 5 rows long.
Now I reference it in the second calculated field by using "Edit Formula" -> "Column" -> 'Colum name'.
My problem is, that it puts the expression of the previous field, not it's name. I have to use it for almost 10 times in this single expression, so -although it works fine- it is totally unreadable, and very hard to debug for example.
And after all, I should use this field again, in several next calculated fields.
Does anyobody have an idea, how to make calculated fields having only the name of referenced other fields in it?
The repo is set for ad hoc reporting also, so using session variables which need to be set in Administrator Tool, is not an option.
Thanks for help in advance.
Tom
Message was edited by:
user608765Hi Venkat,
thanks for the response. It would work, no doubt, in this special case, the problem is, that users use the repo for ad-hoc reporting aswell (and they don't have access to repo administration of course), so one can count on it, that there would be a new request of this kind every day to change the repo with customized user variables. I would like to avoid this of course.
Having the name of a referenced field in a new expression would be a simple solution. Is it possible, that it can't be done?
Tom -
Problem faced when using calculated field as filter
Iam using an Oracle External Data Source.The external table contains a timestamp field and I add this to my data object.The year,month etc. functions work well on this field and results appear on list views.But when I try to generate a filter for this field and display the view I get errors.
SQLSYNTAXERROREXCEPTION_REPORTSERVER_STREAMINGLIST_INITIALIZE
Exception Message ORA-00904: "MONTH": invalid identifier
So,I tried out with the call center data object found in bam samples.This had a datetime field.Filters on calculated fields work fine here.
Is the former problem due to timestamp datatype or external datasource or anything else?
Thanks,
RaghuramAnswer to following questions will help me narrow down the problem:
1. Which version of BAM are you on - 10g or 11g?
2. What condition are you using in filter i.e. "is equal to", "is less than equal to", "is like"...etc?
3. In which format is the timestamp data being given in the filter? (by format, I mean mm-dd-yy HH:MM:SS etc)
4. Can you give the exact datatype of the DB in which this timestamp data is stored? -
Embedding Xcelsius Dashboard using calculated fields (not static field)
Hi,
I can succesfully embed the Xcelsius dashboard toi Crystal and maintain the correct assignments in the data consumer and Flash Binding Expert. When the data changes in Crystal Reports, the chart is also changed however I am having problems when I want to use a value slider to manipulate data...When I base the chart data on a column of values that is generated using a formula for example. Sales * Percentage Increase. I can not get this to work.
When I run the report, I only see the static data which was used when the Xcelsius dashboard was generated.
Using the flash binding expert I assign the data values to existing fields in the report, but I am wanting to assign the data values to this calculated range which is only in the Xcelsius spreadsheet, please help me in how I can do this.
Thanks,
RichHi this is solved, i just needed to link the field to the original field, not the formula. Xcelsius makes the connections in the background
-
Totalling a calculated field in end of report
Hi I have a formula field (F087/F050) in the report Repetitive Area0 and I want to total the results of these line by line amounts in the 'End of Report'
Please can someone explain how to compose the field I need in the End of Report
Thanks
DomHi Dom,
You may use ColSum(FXXX) to get the total in the 'End of Report'.
Thanks,
Gordon -
Use opportunity fields in a custom report
Hi!
I have a problem. I am trying to use an opportunity field (actual close date) in a report but when I insert it all the records become duplicated.
I am using ACT 2008 and CR 2008.
Could anybody help me?I'm not sure what an "opportunity field" is, but generally, when you are getting duplicate records it is because a JOIN is finding more than one record in one of the tables for each key from the other. What tables are you linking together, and how are they linked?
HTH,
Carl -
SORTING FOR THE CALCULATION FIELD IN CROSS TAB REPORT
LIST_G_AUCTION_TITLE>
<G_AUCTION_TITLE>
<BID_NUMBER>5002</BID_NUMBER>
<AUCTION_TITLE>E2E-01 Construction RFQ</AUCTION_TITLE>
<ITEM_NUMBER>C2631</ITEM_NUMBER>
<ITEM_DESCRIPTION>4G000,000,0STRUC,X,SPECIAL STRUCTURE</ITEM_DESCRIPTION>
<ESTIMATED_QTY>1</ESTIMATED_QTY>
<UNIT>LS</UNIT>
<QUOTE_PRICE>400</QUOTE_PRICE>
<ESTIMATED_QUOTE_PRICE>400</ESTIMATED_QUOTE_PRICE>
<SUPPLIER>X - L CONTRACTING</SUPPLIER>
my xml data is in this format, i created a cross tab report for ITEM_DESCRIPTION as row and SUPPLIER as column and calculated a sum(ESTIMATED_QUOTE_PRICE)
for all the ITEM_DESCRIPTION for every SUPPLIER in templete . now i need to sort the data by sum(ESTIMATED_QUOTE_PRICE) from lowest to higest from left to right , that is supplier with lowest sum(ESTIMATED_QUOTE_PRICE) should display first from left to right.
can any one help thanks in advance.thank you tim , for asking i got the solution. it is actually in template builder i was asking about. xml template builder
-
Calculation fields(column) In crystal report
Hi Experts
I have created a new report gainst A/R Invoice. Which contains DocNum, Docdate Card Name, DocTotal and Paidsum. Now I want derive balance and I want to put condtion formatting for those balance columns.
Can anyone help me How to calculate Doctotal-Paidsum to Balance column and to highlight the balance column which is more than sixty days amounts.
Waiting for ur replies.
By
Kalaiyou need to create a formula field to do this and then just drag and drop it into the report like any other column.
formula should be along these lines
{OINV.DocTotal}-{OINV.Paidsum}
as for the highlighting, just go to the designer, right click on the field you want to highlight and go to highlighting expert and follow the wizard from there to create a condition of when highlighting should occur. if your field is not available in the "Value Of" just build the field yourself as a Formula field and you will then be able to select that from the "Value Of" list.
hope it helps... -
Calculated field in a Report Template
Hi,
I am trying to create a calculated field based on other calculations made in placeholder fields on a report template.
If I have the following 2 fields:
e.g. A = (1+2), B = (2*3)
what is the best way to get C = A div B rather than having to list out all the calculations (i.e. (1+2) / (2*3)
How can you set these first 2 fields as variables into the calculation?
Thanks
SteveFor variables read this:
http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481157.htm#4535390
Set x:=5
<?xdoxslt:set_variable($_XDOCTX, 'x', 5)?>
Get value of 'x'
<?xdoxslt:get_variable($_XDOCTX, 'x')?>
Perform calculation on x, like x:=x+8
<?xdoxslt:set_variable($_XDOCTX, 'x', xdoxslt:get_variable($_XDOCTX, 'x' + 8)?>
cheers
Jorge -
Calculated fields based on data in multiple rows
Hi,
I am using SOA Suite 11.1.1.4 for BAM.
Can someone please help explain to me if and how we can use calculated fields in BAM data objects where the calculations are not only based on the data for that row, but on multiple rows ?
Like for example, this case can easily be constructed -->
TestDataObject Layout
Column1 integer
Column2 integer
Column3 calculated = Column1 + Column2
But if I want to create something like this -->
TestDataObject Layout
Column1 integer
Column2 integer
Column3 calculated = max(Column1) + avg(Column2)
Is it possible to do the above ?
Is it possible to check multiple rows of the other columns while calculating a value ?
Thanks & Regards,
Karan.
Edited by: user8890668 on Mar 9, 2011 3:58 AMHi, Karan.
Do you know you can do that in reports with calculated fields?
I guess it is not possible using calculating functions offered in data objects to do that.
If you, or anybody, discover how do that, please tell us. I would like to know that.
Luciano Gomes
user8890668 wrote:
Hi,
I am using SOA Suite 11.1.1.4 for BAM.
Can someone please help explain to me if and how we can use calculated fields in BAM data objects where the calculations are not only based on the data for that row, but on multiple rows ?
Like for example, this case can easily be constructed -->
TestDataObject Layout
Column1 integer
Column2 integer
Column3 calculated = Column1 + Column2
But if I want to create something like this -->
TestDataObject Layout
Column1 integer
Column2 integer
Column3 calculated = max(Column1) + avg(Column2)
Is it possible to do the above ?
Is it possible to check multiple rows of the other columns while calculating a value ?
Thanks & Regards,
Karan.
Edited by: user8890668 on Mar 9, 2011 3:58 AM -
Filter Based on other report not working
Hi Gurus,
I am using OBIEE 10g.
I have a Dashboard page in that i have a prompt and 2 reports,(A, B reports). Report B is using the same columns as prompt where as report A not.
Report A has columns which hold the same data as report B, so i thougt to pass the values based on Report B column using the filter based on other report. I am able to complete it succssfuly but Report A is not having amount of data that i was excepting. When i started investigating i found out that the column which i am using in the prompt and report B have values ( NEW, OLD, NULL) report A able to take the values NEW and OLD but the NULL values are not passing to report A. In report B it is taking null value as it has filter as prompted.
Is it any way to have the values (NEW, OLD, NULL) in report A?
Thanks in Advance.
Regards
AliHi Deep,
Thanks for taking time to answer my question.
I have to display null. If i Mask with something then i dont get proper data in report A, couse in the table it is null.
Thanks
Ali -
How to use the distinct key in formula field in SAP Crystal Reports
I want to use the distinct key in formula field in SAP Crystal reports.
When i'm using it shows an error.
Please suggest me....Hi,
Use DistinctCount keyword directly for your calculation instead of count(distinct(....
Alternatively, if you want to avoid duplicate records, under "File" > "Report Options" make the 'Select Distinct Records' as True.
Thanks,
Raghavendra -
SSRS Using WHERE in a calculated field
Hi All,
Im having a real issue with something that seems like it should be easier than it is.
In my tablix I want to add the expression =Sum(Fields!ID20.Value)-Sum(Fields!ID20.Value) BUT I need to determine if another criteria is met.
EG - I want =Sum(Fields!ID20.Value WHERE [InOut]="In")-Sum(Fields!ID20.Value WHERE [InOut]="Out")
Many Thanks for any helpHi LB79,
In Reporting Services, Aggregate functions cannot be used in calculated field expressions, since the data for calculated fields will be based on individual rows not on group basis. As a workaround, we can directly add the expression to a textbox of the tablix
instead of using that calculated field. For detail information, please refer to the following steps:
Right click the text box which you want to insert the calculated field, then click Expression.
In the Expression text box, refer to the following expression:
=sum(iif(Fields!InOut.Value ="In", Fields!ID20.Value,0),"DataSet_name")-sum(iif(Fields!InOut.Value ="Out", Fields!ID20.Value,0),"DataSet_name")
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Using a "Sum" Calculated Field on a "Count" query column?
Here's my query using the Query Report Builder:
SELECT Col1, COUNT(Col1) AS Count_Column
FROM Table
GROUP BY Col1
It generates a report that lists all the values of column
"Col1" and how many times each value was used in Col1
For instance, if Col1 contained the value 'A' 12 times, 'B' 6
times, and 'C' 19 times, the report would generate this:
A - 12
B - 6
C - 19
What i need as a column footer is the total count of all the
values, which in this case 12+6+19=37
I am using a calculated field, setting the data type to
Double, the calcuation to Sum, and the perform calculation on to
'query.Count_Column'. Reset Field When is set to None.
When I run the report, it doubles the last number in the
report's Count column (19) and displays 38 on the page. I tested
this with another column and it doubled the last number in the
report as well.
How can I get it to properly Sum my Count_Column?Hi,
You need to check note 208366.1 which explains why totals can be blank. Without knowing the detail of you decode function it is hard to say what needs to be changed. Try putting a sum in front of the decode e.g.
sum(decode(period, 'Jan period', value, 0))
Hope that helps,
Rod West
Maybe you are looking for
-
Follow up activities after SAP (CU&UC) upgrade from SAP 4.6c to ECC6 EHP4
Dear Friends We have completed SAP (CU&UC) upgrade from SAP 4.6c to ECC6 EHP4. We refereed the upgrade guide for follow activities and we required confirmation before performing the activities. Could you please help us what needs to be done immediate
-
Problems in the installation the sneak preview sap NetWeaver 04s-full ABAP
hello to all!!!!!!! I have problems in phase 24 of the installation.The message of log is the following one: ERROR 2006-03-25 17:33:28 FRF-00025 Unable to call function. Error message: connection closed without message (CM_NO_DATA_RECEIVED) . ERROR
-
Can't see video TS files on DVD.
I made a DVD with Adobe Encore. But on my Mac, I can't see the video TS files nor the data files I have burned on that DVD. The DVD was authored on another iMac.
-
Fill in fields based on response in another field.
Is there a way to use one field to automatically fill in another field? For example, I have two fields (Project Name & Project Address). Project Name is a pull down menu. Can I have Project Address automatically fill in based on their choice of Pr
-
How to download video files using java
hi, i am designing a download manager using java. Although i am able to download html pages and images as of now, i am facing problems while downloading the video files. Can somebody please guide me as to how to do this. Thanks in advance, Arun