Presenting/Selecting the "result rows" in a query
Hi,
Here is a description of my problem:
I have a query which returns values for materials grouped by purchasing groups:
Group 1 Material A KyeFigure
Group 1 Material B KyeFigure
Result: KyeFigure
Group 2 Material C KyeFigure
Group 2 Material D KyeFigure
Result: KyeFigure
I'm using a Web application designer chart to present the values graphically. I would like only to present the result rows in the chart, not item values. But since the chart picks all KFs presented in the table (items as well) this is not the case. I've tried to find a way in the chart-settings without any luck - it seems not possible. The documentation states that you're supposed to design your table the way you want it to show in the chart. However, I'm not allowed to redesign the cube or the report. It is not possible to drill up characteristics either (this affects the calculation).
My question is: Is there a way to extract the result rows into a new table and then base my chart on that one or simply somehow present only the result rows in a chart?
Best Regards
/Daniel
Hi Daniel,
You can create the query view in BEx Analyzer. After you execute the query, use filters, drill downs etc to get to the exact "view" of data that you would like you chart to present. Save this query view. Then in your web template assign this query view as the data provider.
Hope this helps...
Similar Messages
-
Getting descrepency in the result row of the Query
Hi All,
I am executing a query which is having 4 Keyfigures and 2 formulas.
I am getting wrong result in the query for formulas.
Below is the query structure
f1 f2 f2%f1 f3 f4 f4%f3
date
1
2
792 408 51.78 9647 8403 88.57
All the keyfigures - result is set as total
Formula - result -nothing is defined(under calculation tab)
The result I am expecting for column 3 is 408/792 = 51.51
The result I am expecting for column 6 is 8403/9647=87.10
To get the expecte result what changes i need to do to the formula.
Thanks
JagadeeshHi Anand,
Thanks for your reply.
If i change it to summation, it will give me sum in the result row.
I am not looking for summation, i want percentage for (overall result F2/overall result F1).
Thanks
Jagadeesh -
How to sum the result rows at query designer
Hi,
We want to sum the result rows which are at the end of the row by the help of query designer?So ,we directly see at analyzer
exp:
..A.jan...A.feb...B.may...B.jun...SumA...SumB....SumA+B
X..1............9..........6..............7........10.........13..........?????
Edited by: zarata on Oct 23, 2011 12:49 PM
Edited by: zarata on Oct 23, 2011 1:07 PMHi,
Could you please provide some more information.
if you have characteristics iobject whose values are (A, B etc) and calendar month in rows and then at column level you have key figures then if you have turn on the "Display Result Rows" property of both iobject in Bex as "Always" you can get the result. At the same time you can set "Display Overall result" property of the Query to get overall result.
Regards,
Pravin -
How to make the Results row a toggle when the user wants/does not want see
The user wants to toggle between seeing/not seeing the Results row at the bottom of each row. How to make it like a toggle checkbox/selection on the screen so that the user can decide on seeing/not seeing it in the report. If not possible to do such a thing, then how do I totally prevent it from showing in the report. Version is 3.5 BW.
Thanks
RamFor each characteristics in the query designer, right-click and go to properties....
then in the 'Display of Results' section in the 'Suppress Result Rows' option, select: "Always".
This will suppress the result rows.
Good luck,
AT -
Pass the result of a SQL Query as table_name for another SQL Query
Hi All,
How to pass the result of a SQL Query as parameter to another SQL Query
Eg: I am doing the steps below.
1) select distinct table_name as TAB1 from all_tab_cols where table_name like 'T_%' and column_name like '%XYZ'
2) I want to pass the table_name from step 1 above as parameter to another query "select * from TAB1"
ThanksNaveen B wrote:
Hi All,
How to pass the result of a SQL Query as parameter to another SQL Query
Eg: I am doing the steps below.
1) select distinct table_name as TAB1 from all_tab_cols where table_name like 'T_%' and column_name like '%XYZ'
2) I want to pass the table_name from step 1 above as parameter to another query "select * from TAB1"
ThanksYou should craete PL/SQL code with cursor which will accept a parameter and call that cursor inside the first one
But if the first sql returns only one row, you can do it with simple sql code
select * from (select distinct table_name as TAB1 from all_tab_cols where table_name like 'T_%' and column_name like '%XYZ')- - - - - - - - - - - - - - - - - - - - -
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/] -
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 -
How to suppress Result rows in a Query in Web Application Designer
Hi
I am trying to post a query in Web Application Designer. I am able to run the query in WAD but the Results rows appear. I choose Suppress Result Rows always in All Characteristics option in the query in BEx Explorer but still i see result rows in the WAD. Can anyone please let me know how to suppress Result rows so that they dont appear in Web Application Designer.
Thanks,
PadmaTo get the enhanced menu-
1. Open the template in WAD.
2. Go to Web Item properties.
3. Go to Entries in Context Menu.
4. Find the "Enhanced Menu" property. Set it to "display" if you want it to be visible in template result.
5. Next time when you execute your template you will be able to access it by right clicking.
or
If you just want to supress results without adding enhanced menu in the context menu, simply set "Calculate result as" to "No Display". -
Hi
I have sales org, channel, customer and material along with the key figures in the rows
of the query. I am automatically getting result for each level by default and then the
overall result. Is there a way in which i can change all the result rows with
the corresponding text they belong to like the material result, customer result etc.
Thanks
Rashmi.Hi
Not Sure, But try replacement path Variable (with Material Result...etc) and the ckf/Formula(total all the Material, channel...etc) for the same to appear the totals Row .
/people/kamaljeet.kharbanda/blog/2006/12/28/bex-characteristic-variable-with-replacement-path
Hope it helps and clear -
Select the same attribute in a query more than once
Hi Experts,
My requirement is to select the same attribute in a query more than once.
How can I acheive this?
Expecting an early solution..
PilligaHi,
Create a calculated attribute that just displays the "same attribute".
(Note: you will need to uniquely name this object).
For example, if you wish to display Emp Name twice in the same query, then create a calculated attribute called Emp Name2 and select it and Emp Name in your query and the same info will be displayed twice in your results set.
Cheers,
Tanish -
Decimal places on the result row is incorrect
Dear Expert,
I met a problem that decimal places on the result row is incorrect.Anyone can help me?
On key figure balance,we do the currencies translation,also we set the key figure should have two decimal places.
We set a fomular to calculate the total result of Account A,B,C.
(Total result = account Aaccount Baccount C).
If we manually sum up the balance of account A,B,C displayed on analyzer,which are rounded to 2 decimal places,the result should be 601.25(100.61200.38300.26),but the actual total result executed by query is 601.24.
In fact we need the result 601.25 instead of 201.24.
I take the example as following:
Account Balance
Account A 100.61
Account B 200.38
Account C 300.26
Total result 601.24
Thank you in advance.
Best Regards,
Maggie
Edited by: Maggie Ma on Sep 25, 2008 9:17 AMyour "problem" is, that BEx is not totalling the "displayed" values but the real values
try a summation on the following in Excel:
100,605
200,375
300,26
then format the cells to show 2 decimal places only
do you see the result changing? -
I have a query where I am trying to restrict the query by the results row. For example:
Account Nbr Installation Type Nbr of Installations
12345 70430 Elec 1
12345 70691 Elec 1
12345 71321 Gas 2
Result Row 3
15421 70002 Gas 1
Result Row 1
In this case I would only like to see the first set because the result is greater than 1. How can I accomplish this? Thanks.
Edited by: labraun on Nov 4, 2009 7:16 PMhi ravi,
that sounds intrestin.
MAy be u can do this in the update rule i.e instead of KF use as Char and just concatinate figures.
and in the report u can do some manupiation to show results .
cheers
Babu -
How to show only the result line of a Query result ?
Hi Experts,
I want to show only the result line of the Query. Is this possible in query Designer ?
In BeX Workbook, I can hide the rows but they grow or shrink dynamically and hence it is unpredictable how many rows to suppress.
If you have any solutions/workarounds, please reply !
RekhaVBA coding can be used to display just the Result rows.
Somthing like this - modify as needed.
This scans the range of query results looking to find the last row, then checks those rows to see if the word Result is found or not, deleting (or you could just hide) the detail rows. There is also a LEAF option in BEx Boolean options that returns a 1 or 0 depending on whether a row is a detail or result that could also be used to hide rows rather than looking for the presence of "Result" in a particular column
Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
For rownum = 17 To 64000 Step 1
' col 2 is the Total Result, col 3 is the User Group result
If Cells(rownum, 2) = "" And Cells(rownum, 3) = "" Then
lastrow = rownum - 1
Exit For
End If
Next
For rownum = lastrow To 17 Step -1
If Cells(rownum, 2) = "Result" Or Cells(rownum, 3) = "Result" Then
Rows(rownum).Hidden = False
Else
' Rows(rownum).Hidden = True
Rows(rownum).EntireRow.Delete
End If
Next
End Sub -
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 -
Display only the result rows only by using condition or any other way
Hello Everybody,
I've a web report where I want to diplay ony the result rows and don't want to display the detail rows at all. I could hide the detail rows but these rows still appear without any value in the key figure fields.
I tried to revove the characteristic field from the drilldown but it doesn't show the report correctly. Then I tried to write a condition to filter the detail rows but this condition doesn't apply to the result rows so this effort also didn't work for me.
Is there anyway we can display the report with only the result rows ? I've already tried to find out a solution on SDN but couldn't get the solution eventhough I found many posts on this kind of requirement.
Any help would be greatly appreciated.
Thanks
AlokPlease explain when you say
"I tried to remove the characteristic field from the drill down but it doesn't show the report correctly"
What is problem there? What result do you get. If possible please provide details of columns layout and few numbers -
Select the current row in read only querry VO
Hi.,
I am using jdev 11.1.1.5
I had created a Finyear EO with corresponding VO
I had also created a read only querry VO [PostdGLhdlnVO]
I had created a viewlink between FinyearVO and PostdGlhdlnVO with following conditions
FinyearVO.bu = PostdGLhdlnVO.bu
FinyearVO.year = PostdGLhdlnVO.year
I need to select the current row and print that row using println statement. as i am using readonly querry while i drag and drop the PostdGLhdlnVO i cant able to select the current line (i.e., when user clicks the current row)
My scenario:
I need to create a non database checkbox for every row in that table [PostdGLhdlnVO] which will get the current row
can anyone help me to create a nondatabase checkbox for that tableTry,
This may help:
Re: ADF Table Multiple row selection by Managed Bean-Prasad
Maybe you are looking for
-
Safari loads PDF but doesn't go to page - tried suggested fix
I'm trying to go to a specific page of a multi page pdf document but Safari just loads the front page of the pdf. Specifically, I have an .html index that connects to a bunch of pdfs (each with multiple pages) but when I try to go to one of the speci
-
Kernel panic macbook pro 15 late 2013
Hello I have a Macbook Pro 15, late 2013 Retina, and I found in the last month on two occasions with unexpected blockage in my computer, grey, restart and subsequent error message screen. In none of the two occasions I was performing tasks that deman
-
Error. Import data in FDM
Hi all, when i try to import data into FDM i get following error: ** Begin FDM Runtime Error Log Entry [2009-04-02-17:29:08] ** ERROR: Code......................................... 5 Description.................................. Invalid procedure cal
-
Flash CS3 - saving as mx2004??
Hi all Is there a way of getting Flash CS3 Pro to save as MX2004? I work at a school and the pc system is only at mx2004 but the mac I work on has cs3 installed. I've done a tutorial movie for the students but they need to be able to open and take ap
-
How do I hide or eliminate Internet Explorer? It keeps repeatedly opening
Internet Explorer complicates my use of a browser, I want to block IE and not use it, I would prefer to use something other than Vista if it is possible. (Constant updating and virus's ) What Virus program should I use?