Supress Result rows of a formula in a query
Dear SDN's,
How to supress Result rows of a formula in a query.
For a particular characteristic we can do easily in a query,but how can we restrict result rows for a particular formula?
Thanks and Kind Regards,
Lakshman Kumar G
Dear Lakshman,
If u supress Result rows for a characteristic,,,then all the key figures for that characteristic,,,,this supression rules applies..
and hence for that particular formula, Supress the relavant characteristic..
It is as simple as that...
Hope this helps u..
Best Regards,
VVenkat..
Edited by: Venkata Narayana Jakkampudi on Jan 5, 2009 5:07 PM
Similar Messages
-
Query designer - supress result rows
Dear Friends,
I do have created a query using query designer. I dont want result rows in my reports both in web template and analyzer. Could anyone help me on defining the same globally?
Regards
OopsHi,
You need to select characteristics against which results are displayed for key figures.
In all charcteristcics properites you may find that.
I hope it will help.
Thanks,
S -
Result Row in the query output
Hi,
If I restrict a characteristic by hierarchy then I cant have the result row displayed. If the hierarchy active is removed then the result row gets displayed. All characteristics are marked to show the result row.
This characteristic is Account Number. If in the query definition I remove the restriction on account numbers and just select hierarchy active and the required hierarchy in the properties then I get the result row in the output. But now it also displays all the unassigned account numbers in a separate node Not Assigned Account Number (s).
I cant even restrict it in the output with hierarchy active selected. When I do select filter value in the output the options Include in Selection and exclude from Selection are grayed out and hence cant select it.
Please advice on this issue
Thank you,
samHi Jaya,
I think you misunderstood my issue.
My problem is not that i do not want to see the field. But instead, i do not want to see only the results row in the query output.
I need to have the results to populate a calculation via sumct formula.
My question is, can sumct be populated if i hide/supress RESULT row ?
Regards,
Maili -
Result row problem in query.
Hi,
There is a hierarchy at the query level. When the report is run with disabling the hierarchy i am getting following output in result row =1 which is correct.
Column A
StoreA 1
DepartmentA 1
ClassA 1
Result row 1
When hierarchy drilldown is removed to one level i am getting different output which is 2.
Column A
StoreA 1
DepartmentA 1
Result row 2
Why i am getting different result row just by removing drilldown to a level? The setting Calculate result row as is put as "Sum".
Please help me to resolve this issue.
Thanks & Regards,
Virinchi.You have chosen a currency field which has multiple currencies ie 1000GBP and 2000 EUR - hence * for the total
Include the unit of currency in your query and supress result rows for the user - then you will get a total per currency code
Or of course you coudl nodim the result and add that up (ie in the exampel above you will get 3000
edit: sorry double post with Praveen above
Edited by: Simon Turnbull on Dec 30, 2008 2:10 PM -
Query Designer - Formulas in Results Row
Hi,
Is it possible to have a formula based purely on values in the results row? e.g.
Col A Col B Col C ColDl
Results Row 4 5 1 40%
Where Col D is Col A as a percentage of the total. I can create a formula for individual rows but not for the results row where it just seems to sum individual percentages.
ThanksHi Gaurav,
i have done what you have suggested:
In query designer > Properties for a Key Figure > Calculations > Calculate Result As > Nothing Defined,
I have set that, despite the rows are calculated as per formula defined in the key figure but the result field is not. The formula is only applied for the rows but not for the result. The result is olthough i have the setting you suggested a summation of that whole column and thats wrong.
Can you or anybody else help.
Thanks and regards,
Murat -
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 -
Hello All,
I have a CKF or formala (I tried both) in a query.
There are column 1 and column 2 and column 3 is multiplication of column 1 and column 2.
there are multiple rows and and i see correct value of column 3 for each row.
however in the result row, i want to display column 3 as sum of all rows in column 3.
But it is calculating by multiplying result of column 1 and result of column 2.
Please help.
Thanks
Raj
Edited by: Rajiv Gupta on Apr 16, 2009 1:52 AMHello rajiv,
you have a problem like
a | b | a*b
3 | 2 | 6
4 | 5 | 20
7 | 7 | 26 (and not 49)
to achieve this you can use cell references ..
what you need to do is
1. in your query designed click on 'cells' in you 'view toolbar' .... then you can go to cells and modify it
you can find information about it at following link
http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/30d43b0527a17be10000000a114084/frameset.htm
once you go to 'cells' tab ...right click on desired cell and create cell reference
and put your formula as addition of all the values in column 3
hope this helps
regards,
Swati. -
Formula Collision in the result rows
Hi Guys,
I have 2 KFs A & B and KF C = A/B.
In Results rown instead of calculating it as ( A1 + A2 +... +An)/ (B1 + B2 .... Bn) , I want to calculate it as (C1 + C2 + ....+Cn). I tried all options in formula variables, it simple doesnt work. Not sure if we can use it with Result Rows.
Does anyone have any answer ?
I would return point for all the helpful answers which I always does.
Cheers
KirkHi Kirk,
There are 2 ways of doing this
1) If you're defining the Caluclate KF then you have to right click on the calculated key figure and then click on Enhance button. In the Aggregation block you have to choose "After Aggregation" from the drop down.
2) If you are using New formula which is local to the query only, in that you have to define a new formula as per your requirement and then go to the property of the new formula by right clicking on it. In the Formula collision block you ned to choose "Result from competing formula".
Hope this will help.
Please note that for the calculated field C which is A/B the Calculate Result as should be Nothing defined. But for Field A and B it should be SUMMATION.
Give reward point if satisfied.
Regards,
Message was edited by: tapan tripathy -
Formula in Query does not display Results Rows
All -
I know that people have posted this same thread before but I've been unable to find an answer or the questions have not been resolved.
I have created a simple query and the key figure columns are all formulae. The calculations are all the same format: KF1/KF2
Where
KF1 is an Amount kf with Local Currency as the unit (the dataset only contains GBP)
And
KF2 is a counter (the standard 1ROWCOUNT 'number of records' key figure).
The calculations work fine in the rows but I cannot get any results in any Results rows or Overall Result. Something is populated when I do not define anything in "Calculate Results As..." for the formulae, but this is not a summation, and when I select Summation or Total, the Results rows are blank.
I have tried altering settings for the key figures in the admin workbench, I've tried recreating them as global Calculated Key Figures, and I've tried playing around with the settings on the Calculation tab, but nothing works.
Please does someone have an answer to this??
Thanks
MischaHi,
As follows -
Cost (£) # Records Formula
Ref1 500 2 250
Ref2 300 1 300
Ref3 900 3 300
RESULT 1700 6
I have the Cost (£) key figure and the # Records Key figure. These are both hidden.
The formula behind the Formula is simply Cost(£)/#Records.
The characteristic used is not based on the most granular level hence the need for the calculation.
Although the formula is working correctly on a row by row basis, the results rows are blank.
As mentioned above, I have tried changing these to Calculated Key Figures, this has not worked.
Thanks
Mischa -
Formula for division of result rows in BEx 3.5
Hi All,
We have created 3 new formulas A,B and C respectively.C=sum/sum (At record level)
Our requirement is that the result row of C should be calculated as "value in result row of A/value in result row of B".
We are able to achieve this division for individual records but at the result row level this division does not work.
Can someone please help us write a formula for this?
Regards,
SuchitraWhen you want to consider result of operands.
C = SUMCT(A)/SUMCT(B)
When you want to consider overall result
C = SUMGT(A)/SUMGT(B)
More on using these check the below link
http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/frameset.htm
Hope this helps. -
Supress Subtotal rows and display overall result of keyfigure
Hello there,
Is there a procedure to hide result of a keyfigure at subtotal level and display result at overall result level?
Please let me know.
Points assured.
regards
JogaHi Daya,
Thanks for the reply. in the report i have other keyfigures also for which i need to show subtotals.
its only for 3 keyfigures i need to hide the subtotal result and show overall result.
when iam hiding the result rows of the key figure iam not getting the result in the overall result column as well.
i only want a result for overall result while supressing the subtotals for 3 keyfigures out of 10 keyfigures.
regards
Joga -
Web report - apply specific formula on result rows
dear all,
I would like to apply a specific formula for a result row in a web report.
formula like this (a1b1 + a2b2 + ...)/(a1+a2)
With excel report I know that a vba excel can do this job.
I suppose that with web report a javascript should be helpful to solve this issue.
Is there anybody who could propose me a solution to solve this issue, or a source code example of javascript to do this ?!
Thanks !Hi Guru Prasad,
One possibility is that you are doing some calculation with the user parameter that occurs in the before parameter form trigger.
When running in the normal client-server Reports runtime environment, the report triggers are executed in this order:
1. before parameter form trigger executes
2. parameter form is displayed)
3. after parameter form trigger executes
4. data model is validated and queries prepared)
5. before report trigger executes
6. report is formatted)
7. after report trigger executes
When running on the web, the display of the parameter form and the execution of the report occur in two separate sessions as Reports is "stateless". So, it goes like this when you request the report via a URL:
1. before parameter form trigger executes
2. before parameter form is displayed)
At this point, the user enters in parameters into the web page, and submits the request. As far as Reports is concerned, this is a new report request with parameters fully specified and no parameter form. So, it now does this as a new report request:
1. after parameter form trigger executes
2. data model is validated and queries prepared)
3. before report trigger executes
4. report is formatted)
5. after report trigger executes
So, if you have logic that sets up default values in the before parameter form trigger, it won't get executed on the web. If so, you should move this logic to the after parameter form trigger.
regards,
Stewart -
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 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.. -
Hi all,
I have a query that uses a normal key figure, an exception key figure and a formula on the query. The results of my query look something similar to this:
<b>CHAR | NKYF | EKYF | (NKYF/EKYF)</b>
cha1 | 150 | 10 | 15
cha2 | 200 | 20 | 10
cha3 | 180 | 15 | 12
<b>RESULT | 530 | 20 | 26.5</b>
Because of the exception in EKYF the result doesn't match the sum of all rows (that is 45). In order to accomplish this i specified, in EKYF attributes, to calculate result as Sum.
Now EKYF shows the sum of all values (45)... but my problem is that the formula (NKYF/EKYF), instead of showing 11.78 (f=530/45); it still shows 26.5. Here's how the result table looks like:
<b>CHAR | NKYF | EKYF | (NKYF/EKYF)</b>
cha1 | 150 | 10 | 15
cha2 | 200 | 20 | 10
cha3 | 180 | 15 | 12
<b>RESULT | 530 | 45 | 26.5</b>
Is there any way to force the result of my formula to make the correct operation?
Thank you all for your help,Hi All
Thanx for all the responses. Unfortunately, none of the suggestions have had the desired effect.
When I use the exception aggregation, the result is either 1.08 or 0.25, depending on which characteristic I am using.
When I use the first value, the result is 0.75.
And, as there are no collisions, the "Result from this formula"/ "Result from competing formula" does not appear on the formula's properties.
Whichever way I am trying, the formula either wants to add up the results of individual lines or break the formula down to it's lowest components, i.e. either 0.75 + 0.33 or (6000 + 4000) / ((10000 + 16000) * (0.80 + 0.75)) which results in either 1.08 or 0.25 (I noticed I made an error on the example I gave).
The result that I require would be (6000 + 4000) / (8000 + 12000) giving me 0.50.
Maybe you are looking for
-
XSLT Mapping Error - Split-MappingRoot-Tag missing
Hi, I am getting "Split-MappingRoot-Tag missing" Error while using XSLT mapping. I am using 3 mappings in one Operation Mapping. 1) Java Mapping 2) Message Mapping 3) XSLT Mapping. When I have these mappings in a BPM one after another it is working
-
Connecting Canon HV30 to New Macbook pro with firewire 800
I just received new Macbook pro 2.8 that only has 9 pin firewire 800 connectivity. My previous IMac accepted my Canon HV30 HD video through 4-6 pin firewire 400 with ease, the new laptop will receive the video through 4-9 pin cable but the video colo
-
Camera Raw Support for Canon 7D MkII
Just trying to get some idea if I should spend the $99.00 to buy Aperture from the Apple Store. This might sound a little over the top, but the work flow I miss by not having RAW support in Lightroom is worth the expense of buying Aperture. I do fin
-
Integration between MDG and BRF+
Can any one tell me how the MDG and BRF+ gets integrated. How MDG can identify which Application, Function, Rule Set etc to execute at various steps in the CR or Actions or Mass Upload etc. I was thinking service name, but I was not sure. Can any one
-
Can't open, install or uninstall after an upgrade
Get the same message with installing and removing iTunes: "the folder path "My Music" containsan invalid character" and than:"fatal error during instalations" or "installer encountered errors before itunes could be configured...to retry these operati