Result Row value Issue
Hi All,
I have created a query which has multiple selection & formula in it. One of my formula is not working properly.
Description of the issue:
Key figure is "no. of Shipment"
A calculated key figure "Total no of Shipment" is capturing the result row value of "No of Shipment".
But some time it doesn't work as expected. I don't know why.
For example if I select a week range then it dosen't work. I have used the "Total no of Shipment" in no. of other calculated key figure for calculation.
Meaning for %On-Time = (On-Time A%Total no of Shipment)
Below query is filter by fiscal week =Result
Plant|FiscalWeek|NoofShipments|Totalnoof Shipments|%OnTm
===== ====== ========= ========== ========
A | Result | 98 | 78 | 104.10 %
Here "Total no. of Shipment" should be 98 but is not able to pick up the Result value & it getting 78...I don't know from where it get the number.
Please let me know if any body has faced similar case or is there any OSS note to fix the issue.
Thanks
Mahendra
Hi Rishi,
I tried as per you're suggestion. It didn't work.
See my key figure is "No.Of Shipment" & formula is
"Total no. of Shipment" = SUMCT (No.Of Shipment)
So whenever the result row of "No.Of Shipment" changes then "Total no. of Shipment" should pick up the value.
Please let me know if you have any other solution.
Thanks
Mahendra
Similar Messages
-
Removing result row value for a single KF rather than all KFs in a query.
Hi,
Is it possible to remove the value in the result row of a query for a particular keyfigure? I want the the values in the result row for all the keyfigures except one. This particular keyfigure should have nothing in the result row. Is it possible in BEx Query Designer? Because my current setup doesnt allow me to use any other BEx tool other than query designer. Would appreciate if someone can provide me a solution for this using query designer. Helpful replies will be rewarded full points.
Regards,
Anurag.u can do that...
enter into query designer
open ur query
go to columns / rows
select ur keyfigure
on right panel u will see properties for that particular keyfigure
go to the Result row option
Select CALCULATE RESULT AS
then select SUPRESS/HIDE OPTION..
that way u can suppress the result rows for ur keyfigure. -
Query with a condition - Overall results row displays incorrect value
Hi All,
I have a bw query with top 40 conditions. However, The Overall Result Row Figures Do Not Equal The Sum of the Column Rows.
Although the top condition is activated, the overall result still displays the overall result of the whole report.
I have 3 columns in the report
Selected Period
Prior Period and
Variance
The formula for variance is (Selected Period/Prior Period)-1.
Does anyone have an idea to fix this?
Thank you so much in advance.
Have a great day!Hi Gaurav,
Thank you so much for your reply, however this does not solve fully the issue.
Changing the properties to "Summation" will indeed provide me with the correct sum for the "selected period" and "Prior Period." However what I need in the Overall Result Row for the "Variance" column is not the total but instead the value when the total of Selected Period is divided by Prior Period then minus 1.
Overall Variance = (Overall Selected Period/Overall Prior Period)-1
Do you know a way to make this possible.
Thank you so much. -
Hello All,
Need solution for my issue in reporting,
This is my Report format
Date A/c number Kf1 Kf2 Kf3
01.06.07 123 10 20 0
234 20 30 30
456 50 0 25
789 0 25 0
Result 80 75 55
01.07.07 124 10 0 10
134 30 30 30
457 40 0 0
788 0 25 10
Result 80 55 50
Now my requirement is to display Count in the result row as
Date A/c number Kf1 Kf2 Kf3
01.06.07 123 10 20 0
234 20 30 30
456 50 0 25
789 0 25 0
Result 3 3 2
01.07.07 124 10 0 10
134 30 30 30
457 40 0 0
788 0 25 10
Result 3 2 3
and to be more precise this is my requirement
Date Kf1 Kf2 Kf3
01.06.07 3 3 2
01.07.07 3 2 3
I made key figure Calculate Result as Count <> 0 and Calculate single value as Supress Result for each key Figure and A/c Number No display I got result like this showing all data as blank, however the rows will exist.
Date Kf1 Kf2 Kf3
01.06.07
3 3 2
01.07.07
3 2 3
But I need my result should be like this
Date Kf1 Kf2 Kf3
01.06.07 3 3 2
01.07.07 3 2 3
How can I Acheive this either by work Book Or by Query ,
Please help me
Thanks for all ur support in advance
Sai.Hello Boujema,
I Created formula variable replacement path in the same way you mentioned but this is irrespective to KF giving the Characteristic Account Number count...
Hello All,
please go through my requirement
this is my report
Date AC no Kf1 Kf2
01.06.07 XXX 10 12
yyy 15 10
zzz 5 0
result 30 22
If I remove Ac no from this it gives me a result as summation
Date Kf1 Kf2
01.06.07 30 22
In the same way the KF should give me count of the accounts
Date Kf1 Kf2
01.06.07 3 2
But I am getting now as If I mention Count<> 0 in KF properties
Date Kf1 Kf2
01.06.07 1 1
If I place Account Number in report which I dont want to Then i will get count
Date AC no Kf1 Kf2
01.06.07 XXX 10 12
yyy 15 10
zzz 5 0
Result 3 2
Hope you understand my requirement and come up with any solution.
Thanks for your help,
Sai. -
Result Row of Formula is not using the displayed values
Good Day,
I got a query with following layout
Child Ship Parent Ship Rate
Child Parent ST ST %
Material A F6WH F6WH 55 22 250,00
F7D1 F7D1 55 33 166,67
F8LG F8LG 55 11 500,00
Result 55 66 250,00
The child ship key figure has a setting calculate result as average to display the total shipment of the child. Rate is defined as formula Child Ship %A Parent Ship.
In the result row as Rate I require 83% (55 divided by 66).
It seems that the Rate formular still uses the SUM of child ship 555555 (165 diveded by 66).
Anyone an idea how to get the "wanted result" of 83% ?
Thanks for all replies in advances (points will be assigned).
AxelHi,
As far as i understand the issue is with the child ship keyfigure in that you have selected calcualte result as average which is only for display purpose that result cant be used for futher calculations.
If you want to calculate the average make use of exception aggregation.
Make a new formula and put you keyfigure for which you need to calculate avg. then hit Aggregation tab---Exception aggregation as average and refernce characterstic choose on which you are getting unique set of values.
Then continue with your other steps.
Hope it helps.
Regards,
AL
Edited by: AL1112 on Jun 8, 2011 2:35 PM -
Results row shown only at the bottom and not at each value level
Dear Experts
I have a report based on a multiprovider consisting infosets and a cube.
There are several row characteristics shown. 1 of these were set to show results row. But the results row is not shown at each value level but at across all its characteristics level, ie. at the bottom of this characteristic. So, only 1 results row shown and not 1 results row per each value of this characteristic.
Some other characteristics are showing multiple rows of results rows but at a certain grouping level and also not at per value level.
Please advise what could be the cause.
regards
PascalDear Experts
Solved.
Due to the concept works like this:
To see results row for a characteristic, must set it to the char infront, not to the char itself.
But then when user re-arranges the position of the row chars, there could be an issue.
Is this a constraint of BEx?
regards
Pascal -
Overall Result Row is not the Sum of Individual Values!
I am frustrated with a weird problem. I have an expense report in which Expense1 is shown a value of 8,126. If I drilldown by company code, the sum of the company codes is 8,235, but the "Overall Result" row is showing 8,126.
I tried drilling down by GL accounts, cost centers, profit centers, material and even currency. For all of these drilldowns the "Overall Result" row is 8,126 but the individual values sum out to be 8,235.
First I thought it could be "Zero Suppression" that is hiding some values from the display. But "Zero Suppression" was not active at all. I have checked the LISTCUBE and saw that the Expense1 should be 8,235 and not 8,126. The key figure properties "Calculate Result As" and "Calculate Single Values As" are set to "Nothing Defined" and "Use Default Direction". But still for some strange reason, the "Overall Result" row is different than the sum of individual rows. It's driving me crazy as I have ran out of ideas to figure out what's happening. Could someone help me with this? I would appreciate any input with points!Hi,
Remove the 'Suppress Zero rows/columns' from the query definition and then check the values.
Column A might have value, but for the same row column B might have zero, hence the row was not shown in the result set, but the overall result will include all such values as well, even thought it was not shown in the result set.
HTH,
regards,
Nataraj. -
Wrong value in Result Row in a query which includes 1:N relationship SO/Inv
Dear all,
I have an InfoSet which includes sales order DSO, PO DSO and Invoice DSO. The purpose is to design a report to show 3rd party order flow.
Now I met an issue if one sales item contains multiple billing doc. Below is an example:
Sales doc: S001 order Qty is 600, there are two invoices for this order B001 invoice 200 and B002 invoice 400. Now in report we see below:
Sales Doc. -- Invoice no. --- Order Qty -- Invoice Qty
S001 ---B001 -
600 -
200
S002 ---B002 --- 600 -
400
Result Row -
1200 --- 600
We can see in Result Row totsl order qty is 1200 which is wrong.
I am wondering if anybody have such experience and the method soving this problem ? Many thanks in advance !Hi,
Normal aggregation calculates the result row as a summation. However, you can change this default behaviour by using Exception aggregation at "Order Qty" key figure.
You can find a detailed article with examples about Exception aggregation at:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0b8ed5b-1025-2d10-b193-839cfdf7362a
I hope this helps you.
Regards,
Maximiliano -
Result row shows min. value as Blank.
Hi Guru,
I have following scenario in query,
Eg.
1.Values in objects in column, 10,000
Blank (no value)
2,000
Blank(No value)
Result Row shows Blank (instead of 2,000)
2. Values in same object in same column 10,000
2,000
3,000
1,000
Result row shows 1,000 (which is Correct one)
If value in column is blank then it is showing me minimum value as blank but in real it has to display min of all row, second if row is not blank then it is showing correct min. value in result row (As mentioned in second examlp)
Please suggest me what i have to do to get exact min. of all values in Result row.
Thanks,
Ganesh.hi all,
Thanks for contribution.
But i want min. values from all rows in my result row.if it is not suppresed by Zero then also it hase to display min value (I MEAN fIGURE LIKE 2,000) from row.
if i do supress Zero then it is diplaying as Blank hense all resulti row is display blank but i dont want that i want if row value is Zero or Blank it will display as min. of all figure NOT ZERO OR BLANK LIKE ABOVE EXAMPLE IT IS 2,000.
Thanks,
Ganesh. -
Issue in getting current row value using getCurrent Value
Issue:When I call ththe method executeSearchVO from controller class
with Row row = personalActionSearchVO.first();
I am getting the corresponding value.
but my requirement is I have multiple record , If i press action on any of the record, I need to read SITName value for the particular record and need to pass it as parameter to other pager(i mean If i select any record, I need to get corresponding value in the attribute for the record.)
if i comment personalActionSearchVO.first(); i am getting null pointer exception.
Pl. helpme how to get current row instead of first row always.
AMIMPL Clause
public void executeSearchVO(String loginPersonId)
XXHRPersonalActionSearchVOImpl personalActionSearchVO =getXXHRPersonalActionSearchVO1();
personalActionSearchVO.initQuery(loginPersonId);
// Row row = personalActionSearchVO.first();
row = personalActionSearchVO.getFirstFilteredRow("action","1");
Row masterRow = row;
personalActionSearchVO.setCurrentRow(masterRow);
OARow Row1 = (OARow)personalActionSearchVO.getCurrentRow();
System.out.println("Org "+Row1.getAttribute("Organization"));
calling this method from controller clause
if("action".equals(pageContext.getParameter(EVENT_PARAM)) )
System.out.println("Person Id "+ pageContext.getParameter("XXHRPersonId"));
Serializable methodParams[] = {pageContext.getEmployeeId()+""};
applicationModule.invokeMethod("executeSearchVO",methodParams);
need it urgently. pl. help
thanks
sivaTimo,
I am new to Jdevloper. I will explain the issue in detail.
Version: Oracle 9i Jdeveloper
I have a query page with multiple records. when I perform action , I need to pass 2 parameters from query screen to my actual page.
1 parameter is Login person Id,. Now the issue is with getting current value for 2nd paramenter. 2nd Parameter will be changed depends upon record i am choosing in my query page: column is : Information Name.
when I use getcurrentrow , I am getting null pointer exception.
My controller class when I click action button :
if("action".equals(pageContext.getParameter(EVENT_PARAM)) )
Serializable methodParams[] = {pageContext.getEmployeeId()+""};
applicationModule.invokeMethod("executeSearchVO1",methodParams);
{color:#993300}
// Here I need to get InformationName value based on the record I am choosing{color}
HashMap hashMap = new HashMap(2);
hashMap.put("XXHRPersonId", pageContext.getParameter("XXHRPersonId"));
// hashMap.put("InformationName", methodParams);
pageContext.forwardImmediately(
"OA.jsp?page=/xxhr/oracle/apps/xxhr/selfservice/personalaction/webui/XXHRPersonalActionPG",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hashMap,
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO
my AMIMPL Clause :
I am just pasting whatever I have tried. Pl. suggest me If my code is wrong.
*{color:#993300}I need to get current row information value from the below method*
*{color}*
public void executeSearchVO1(String loginPersonId)
XXHRPersonalActionSearchVOImpl personalActionSearchVO =getXXHRPersonalActionSearchVO1();
personalActionSearchVO.initQuery(loginPersonId);
System.out.println("Row count "+personalActionSearchVO.getRowCount());
// Row row = personalActionSearchVO.first();
Row row = personalActionSearchVO.getCurrentRow();
System.out.println("Informaton Name "+row.getAttribute("InformationName");
In this , If i initialzie with Row row = personalActionSearchVO.first();I am able to get value for my column Information Name.
whereas, if I use directly Row row = personalActionSearchVO.getCurrentRow();, i am getting null pointer exception.
Pl. let me know how to get current row value for Information Name.
Looking for the reply at the earliest.
Thanks
siva -
Result row does not hide value
Hi all,
I have some calculated key figures that are using formula variables to get dates to do calculations on.
Since summing up date values does not lead to anything meaningful, I selected the 'Hide' value in the 'Calculate results as...' section.
However, the results row is still showing an 'X' in this column when I run the query.
I have one calculated key figure for a date using this same method (formula variable from an infoobject) and the result row is hidden correctly.
Does anyone have any idea on why the result row would still display even though it supposed to be hidden?
Thanks in advance.result rows needs need to be suppressed for characteristic properties.
in query designer , click on characteristics in your reports ( i.e rows ) goto display property supress the result rows.. -
Result row: absolute values
Hi,
In the properties screen of a key figure, the user can chose a lot of possibilities for <i>Calculate result as</i>. But there is nothing like 'absolute value'.
What I want to achieve is that the BEx report is calculated in the normal way, but the only difference is that the result row should only contain positive values (that means: negative values should be multiplied by -1 ).
Remark: the result may NOT be a calculation of absolute values! Instead it has to be a normal calculation (sum) and at the end, the minus sign of the negative values should be removed.
<u>example:</u>
A: 2000
<u>B: -3500</u>
R: 1500
Thank you in advance!Bart,
Try this.
Create a Formula for your key figure.
Create an If condition and implement the logic
Use the boolean funtion LEAF() - which returns 1 for individual values and 0 for results.
E.G
(leaf(KF)=0)((KF<0)(-1)(KF)+ (KF>=0)* KF) + (leaf(KF)=1)* KF -
When executing query...in the result i want to display each row values
Hi All,
When executing query...in the result area i want to display each row values.
Example: query result is like this
Business Area Sales Material
kh02 1000 2000
2000 300
5000 400
6990 1000
Kh03 1400 700
200 500
50 60
but i need like this
kh02 1000 2000
kh02 500 600
kh02 400 300
kh03 1400 700
kh03 200 500
Why i need like this because am exporting to Excel spread sheet and i have to send as i show above ....i am doing manual but the file is very big like 95, 969 records i have to change manual...like this i have to change 8 files.
please advice me easy way
i willl be very gr8ful
Thanks
sidharthaHi,
that'S exactly what hide repeated key values does. If this option is on your result is:
Kh02 1000 1500
blank 500 456
blank 600 700
kh03 400 500
balnk 500 600
If you turn it off, the result will be:
Kh02 1000 1500
Kh02 500 456
kh02 600 700
kh03 400 500
kh03 500 600
Exaclty what you want. Try it, it should work
Regards,
Juergen -
Passing current row values as parameter issues.
JDeveloper - 11.1.1.6
JHeadstart - 11.1.1.4.26
Weblogic - 10.3.5
I am having trouble passing parameters from a table to a popup.
I have a master group that contains a detail group, within this detail group I have created a group region. This region is meant to show remarks for the current details table record.
In the details group (table layout) I have specified as the region "depends on" item a textInput field so that when I click the context area I get the popup.
The remarks group (in the popup) has a composite key comprised of three attributes that exist in the detail table. What I need to do is pass these values as parameters to the remarks group.
Here is what I have done so far:
1. Created parameters on the top level remarks group - names match parameters set in region
2. Created a "query bind parameters" string with the necessary VO bind variables.
3. In the detail group where the region exists I have created the parameters that I am trying to pass TO the remarks group.
My problem is that the parameter values that I am trying to pass to the region/remarks group are not being filled correctly. For parameter values I have tried:
#{row.bindings.attributeName.inputValue}
#{bindings.DetailGroupNameAttributeName.inputValue}
#{bindings.DetailGroupNameTableAttributeName.inputValue}
Many, many others
These attributes exist and are editable in the table.
All I want to do is pass these three values from the detail table (per row) to the remarks group. What am I missing? What EL expression will give me the per row values I need? I know there is a lot of material out there on this, but I seem to have tried them all, I don't know where I've gone wrong.
Thanks...I think I have figured this out...
I am a bit embarrassed but it turns out that the bindings for the variables I was trying to pass were not being generated. I forced it and now things seem work as expected.
Is there some sort of bug in JHS that would cause the bindings not to be generated? I don't understand because the fields are all visible and update-able in my table. Why would some bindings be created, but not these?
I'd like to understand what where I went wrong.
Thanks! -
How to hide the all rows except the result row in a report?
Hi Experts,
We have a report in which the user is interested to see only the result rows and I need to HIDE the characteristics in the rows. I was successfull in doing the same for Key figures in columns using "Calculate single value as suppress result". But I am not finding a way out to hide the characteristics in the rows.
If I move the characteristics in rows to Free characteristics, the result row is not getting dispalyed. Also, the characteristics are used dynamically by the formulae in columns and hence i cant remove these characteristics from the query. . The user wants the query to contain only one characteristic in the row and the result row for the key figures in columns. The report currently displays Invoice level data for each customer and this needs to be eliminated and it should display the summarised data for every customer. Please suggest how this can be accomplished
Regards,
KavithaMoving the char to free char will show the equivalent of result.
Your issue likely is that this breaks the calculations since you do want the calculations done at detail level.
To achieve this, move your char to free char (say it is 0CUSTOMER).
For the CKF/Formula, go to aggregation tab, set the exception aggregation as Total (or whatever it was in standard behavior) and specify reference characteristic (in this case 0CUSTOMER), also check the 'Before aggregation' if you have that checkbox there.
This will ensure the calculation is done at detail level even though the char is not included in the rows.
If you have multiple chars to be moved to free char but included in detailed calculation, you will need to build cascading CKFs (CKF1 with ref char1, CKF2 eq to CKF1 with exception aggr on ref char2...and so on).
Added:
I understand you do want 0CUSTOMER in there, but something else (let us say 0DOCNO) removed. Use 0DOCNO in place of 0CUSTOMER in the case described above.
Edited by: Ajay Das on Aug 5, 2009 8:57 AM
Maybe you are looking for
-
I am trying to update so I can edit my PDF files and it says it cant updat?
How do I go about deleting a blank page in a PDF document?
-
My iPhone is currently "disabled" and I can't connect it to iTunes.
My phone just got stolen, and I got it back. (long story, saved by cctv) And so it comes back with it being "disabled" and 'connect to iTunes'. But I can't connect it because I've placed a password, which I know of before. But the thing is, there isn
-
I cannot read ibooks that I purchased on my PC. I have itunes 10.0 installed.
I cannot read iBooks that I have purchased on my PC. I have iTunes version 10.0 installed.
-
I have an album which I had bought and ripped some time ago. I loaded it into the cloud and it was identified there. On my Mac the album in iTunes looks fine. However, when I replicated it to my iPhone the album was listed twice, once with all songs,
-
How to setup the PATH in WINDows XP(Home Edition)
I am not able to compile the java program using "JAVAC" . It is asking command is not available. I did setup the PATH file as it mentioned in the JAVA tutorial. Thanks, Kishore