Create variable for key figures
Hi all,
I have a query with a couple of key figures, f.e. Net Revenue, Net Sales and Volume.
Now, I want my end users to have the option to <b>select</b> which <b>key figures</b> they want <b>to see</b>. How to do this?
All good ideas will be appreciated.
Thanks in advance,
Ralph
Hi,
You can put your key figures in a structure. A "key Figures" row will automatically appear in your navigation block. If you right clik and select filter value (in BEX) or just click on the filter icon (in 0ANALYZER BW3.5) you will be able to select the key figures to display.
This should help the user to display and hide the relevant key figures according to their scope of analysis.
Hope it helps (if so, please assign some points)
Gili
Similar Messages
-
How to create a variable for key figure (value will be entered by the user
I want to create one query, where the user has to entered a max value when the query is started, so that only the query rows will be listed, where the key figure value (integer) of the row is smaller than the max value given.
How can i define that variable which has to start at the begin of the query; and also the restricted key figure iin consideration of the KF variable.
Thanks for helping
Ar.Hi Arnaud,
Go to Conditions-> Right click -> New Condition -> Edit -> NEw -> Selct the KEy figures from the dropdown( the KFs that are used in the rows/columns) -> Select Less than from the operator drop down (less than is for you case) -> Values, there is an option to create a variable -> Select the variable -> transfer. It will appear on the top.
Save & Execute, you will find it in your selction criteria.
Regards
Sunil -
Formula Variables for Key Figure Rolling Averages 3/6 months
Dear BEx guru! I need dynamic (user selectable range from select options) 3, 6 month averages for Sales, Inventory Key Figures. I used variable offset alone and I am not getting the results.
Mar/06 = 120 EACH, Apr/06 = 150 EACH and May/06 = 180 EACH, Jun/06 = 90 EACH, July/06 = 240
User Calendar Month select options = Mar/06 to May/06
Mar/06 (Avg) = (120150180)/3 = 150 EACH
Apr/06 (Avg) = (15018090)/3 = 140 EACH
May/06 (Avg) = (18090240)/3 = 170 EACH
PLEASE SEND ME YOUR KIND RESPONSES! I APPRECIATE YOUR HELP!! write to [email protected]Hi,
You may have to use the customer exit. I am not sure whether there is any sap_exit variable available to provide such a calculation.
Regards
Sundar -
How to create Variables for the Key Figures
Hi All,
How to create Variables for the Key Figures
Thanks
BhaskarHi,
It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
With rgds,
Anil Kumar Sharma .P -
Currency translation for key figure in bex not working.
Hi friends,
i want to do currency translation for key figure(invoice value in local currency).
i have followed the steps as under:
1st Transferring Global Table Contents: Currencies from R/3 Systems
2nd than transfer exchange rate - from r/3 to bi
3 than In SPRO settings of BW there is option "consider translation ratios in translation"
4th than used transaction RSCUR for creating currency translation type: parameter(exchange rate:m, soure currency fom data records, target currency ISK, time ref: current date)
5th than in BEX query designer have sated this for key figure
but when i run query in RSRT, curreny amount not getting convert?
am i missing any step?
pl. guide.
thanks dushyant.Hi Dushyant,
Are these steps followed in Query designer??
In the Query designer, for that particular key figure property, under Conversion tab >> Currency Translation >> Conversion Type, select the currency translation type you created in RSCUR.
And in the target currency, select accordingly.
If you are going to use a variable, use the following link..
http://help.sap.com/saphelp_nw04/helpdata/en/08/81b98b95e911d4b2ca0050da4c74dc/content.htm
See also..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/287bab90-0201-0010-f48e-cc55b0cd13d0
Hope this helps..!
-Pradnya
Edited by: Pradnya Rane on Apr 8, 2009 7:58 AM -
Steps to create a Restricted Key Figure
Hi,
I am trying to create a BEx Query and want to create a Restricted Key Figure.
I am using BEx 7.x.
Please help me with steps to create a Restricted Key FIgure.
Thnaks and Regards,
Shreyas ShahHi Shreyas,
Please find the step by step to create a restricted key figures.
Procedure for Defining a new restricted key figure:
1. In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).
If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.
The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.
2. Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button).
The Change Restricted Key Figure dialog box appears.
You can also call the Change Restricted Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
You make the basic settings on the General tab page.
The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.
You can use text variables in the description (see Using Text Variables).
Next to that, you can enter a technical name in the Technical Name field.
Underneath the text field, to the left of the Detail View area, the directory of all objects available in the InfoProvider is displayed. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.
3. Using drag and drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristics.
You can also use variables instead of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:
Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Querys)
Variables that represent a precalculated value set (see also Details)
You can use these variable types to restrict characteristics in the rows, columns, or in the filter.
4. Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Propertiess.
5. Choose OK. The new restricted key figure is defined for the InfoProvider.
Let me know if this helps.
Thanks
Sachin -
Dynamic Texts from Bex ( for Key Figures ) not coming to WEBI Query
Hi Gurus,
We have a Query in BEx : Each Key figure column text changes dynamically - Like based on Present month
it will Display Month +1 Month +2 up to Month +12. Used dynamic Text variables .
But when i created the universe and Webi report , i am missing the text in the column for Key figures .
How should i get the column text in Webi which is same as in Bex : Points will be awarded for helpful
answers.
Thanks
MaggeHi,
text variables with replacement path are supported in BO4.0, see following document: SAP BusinessObjects BI4 - Supported BEx Query Elements
As an example after entering 2012 in the prompts window, the name of the corresponding key figure will dynamically change:
After refreshing and selecting 2013, the column name will update:
Im not sure though if this is the case with unv universe access to BEx queries.
Best regards,
Victor -
How to create variables for offsets?
Hi BW Experts.
I have a tricky one that has been posted before, but I couldn't get my head around a feasible answer just yet.
My customer wants to be able to display his ageing AR report with different buckets, depending on the month.
For example, if it's January he wants to see buckets for 1-30 days, 31-60 days, 61-90 days and 91 to 120 days.
If it's February, he wants to see buckets for 1-28 days, 29-58 days, 59-88 days and 89-118 days.
If it's March, he wants to see buckets for 1-30 days, 31-58 days, 59-88 days and 89-118 days,
and so on.
We have create a structure in the query, filtering the key figure 0DEB_CRE_LC by 0NETDUEDATE. We have a variable for 0NETDUEDATE as a starting date and use different offsets to get the buckets. However, the offsets need to be hard coded, preventing us the flexibility of choosing the days in the buckets.
Is it possible to create variables for the offsets, so the user can choose the days for the buckets at the report run time?
Thanks in advance.
Kind regards,
Aline Passos.Hi Aline,
as user is entering 0NETDUEDATE & he needs different buket for different months, which are more or less decided well in advance, I believe it cane be handled by User Exit varaibles which will draw value from the variable value you have entered & go backward.
you will need to write the ABAP code with your logic to drive the correct user exit values.
hope it helps
regards
VC -
How to write conversion routine for key figure?
Our customer has this requirment:
we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this: 00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time, BW system will report a error that say it is not acceptable time. If we want to define a integer, but we need display it like hhmmss format. We know we can write conversion routine for char. but I don't how to write conversion routine for key figure. Please give me any hint if any other solutions?
Edited by: SY DONG on Dec 2, 2010 3:36 AMIf you want to do in Transformation Layer :
You can use routine ...break up the seconds into minute hour and seconds
you will have to handle few cases in this:
let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
DATA: lv_seconds type i,
lv_hrs type i,
lv_sec type i,
lv_min type i.
lv_hrs = lv_seconds / 3600
if lv_hrs >= 1.
lv_min = (lv_hrs - trunc(lv_hrs))*60
here again handle seconds if min >60.
else.
lv_hrs = '00'.
lv_min = lv_hrs*60
It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
Regards,
RK -
Creating a restricted key figure in BI7 reporting
Hi
I am creating a restricted key figure globally in BI7 query designer, whenever I try to restrict Calender Year /Month, an error message pops up showing:
Runtime error '457' (This key is already associated with an element of this collection), when I click ok another message opens
Runtime error '429' (Active X component can't create object)
and finally Microsoft VB runtime error
Automation (The callee(servernot server application) is not applicable and disappeared; all connections are invalid. The call may have executed.
I am working in BI 7, SAP gui 640 what could be the problem in BI 7???because the same thing is working in BI 3.5 environment.
Regards
IndraneelHi Indraneel,
Try to look for the patch level you are using for SAP GUI, it should be level 14. If lesser than this apply and check. And always disable VB macros.
Assign points if helps.
-Harshal -
How to create non cumulative Key Figure.
Friends Let me know steps for creating Non Cumulative Key Figure, can any one tell me where can i get documents for this. points will be rewarded
Hi,
check these help links
http://help.sap.com/saphelp_nw04/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/95/1ae03b591a9c7ce10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6305e07211d2acb80000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6312e07211d2acb80000e829fbfe/content.htm
It's a big topic so it's not possible to write everything here.
You can search the forums also.
Thanks -
How to Create a Restricted Key Figure in BO Webi Report
Hi Experts,
Please tell me How to Create a Restricted Key Figure in BO Webi Report.
Thanks in Advance.
Regards,
RafiHi,
1. Define a new measure in the designer.
2. In the select clause give the reference to the key figure on which restriction to be applied.
For example
@Select(Key Figures\Number of Records)
3. In the where clause, give the MDX expression for the filter to be applied.
For example
<FILTER KEY="[0PURCH_ORG].[LEVEL01]">
<CONDITION OPERATORCONDITION="InList">
<CONSTANT CAPTION="HAS"/>
</CONDITION>
</FILTER>
Regards -
Creating a resticted Key Figure in Query Designer (3.5)
Hello, hope your all well!
I'm trying to create a restricted key figure that's related to the publication date of one of our titles.
I've tried to create a Structure that shows one text result if the publication date is the same or greater than 01.01.2008 and another if it's less. However, in my results it seems to be bringing two results for each line, one with each text result.
Could anyone point my in the right direction?
Have a fantastic weekend,
RhysSorry, I'm new at this; what do you mean by inputs?
I'm trying to create something in the query designer that displays one text result if the result is lower than a certain number and another if higher,
Hope that makes sense.
Take care!
Rhys -
How do i create a Statistical Key Figure ?
Hi everybody,
I want to create a statistical key figure ...
How can i proceed ?
Thanks
Rodolphe.As explained - just enter master data straight into your ZInfoobject in BW
You can use the business content characterisitc for statuistical key figure or define your own
All you are doign is creatinging a partioning chacracteristic to differntiate your key figure in a restricted key figure
ie
create a object called ZTYPE char 2 with master data and text
create a key figure called ZKF with type number
enter master data into ZTYPE via maintain master data on ZTYPE
z01 with text "No of Flights"
enter master data into ZTYPE via maintain master data on ZTYPE
z02 with text "no of miles"
Then design a cube with say
0fiscperiod
0comp_code
0ztype
and
zkf as the key figure
Load a csv file into the cube so we have for example:
0fiscperiod = 003.2008
0comp_code = aa01
0ztype = z01
zkf = 10
0fiscperiod = 003.2008
0comp_code = aa01
0ztype = z02
zkf = 5
The create a query with 2 RKFs - one called "No of Flights" which has zkf and a restriction of 0ztype = z01
and the other RKF which is called "No of Miles" which has a zkf and a restriction of 0ztype = z02
The in your rows have fiscal period and co code
You will then see two columns of No fo Miles and No of Flights
As mentioned before you can add more 0ztypes without having to extend the columns of your cubes (hence the term partioning characteristics) - the same prinicipal as CCA uses in CO - ith actual and plans
phew - hope that explains it all -
BO( WEBI,QAAWS ) can't sustain bw query : create new calculate Key Figure ?
I create three new calculate Key Figure : TotalQty1,Rate1,TotalRate1 on bw query. Return values:
TSAS defect1 Qty TotalQty1 Rate1 TotalRate1
weight inaccuracy 33.000 33.000 37.500 % 37.500 %
poor function 10.000 43.000 11.364 % 48.864 %
gap out of spec 9.000 52.000 10.227 % 59.091 %
scratch /crack/ dam 8.000 60.000 9.091 % 68.182 %
broken glass/mat 5.000 65.000 5.682 % 73.864 %
missing display 6.000 71.000 6.818 % 80.682 %
assembly defect 4.000 75.000 4.545 % 85.227 %
plastic deformed 4.000 79.000 4.545 % 89.773 %
no function 4.000 83.000 4.545 % 94.318 %
poor printing 5.000 88.000 5.682 % 100.000 %
But Create on universe connect to this bw query, I used QAAWS and WEBI to runat , TotalQty1,Rate1,TotalRate1 key figure values are Qty value, that is error:
TSAS defect1 Qty TotalQty1 Rate1 TotalRate1
weight inaccuracy 33 33 33 33
poor function 10 10 10 10
gap out of spec 9 9 9 9
scratch /crack/ dam 8 8 8 8
broken glass/mat 5 5 5 5
missing display 6 6 6 6
assembly defect 4 4 4 4
plastic deformed 4 4 4 4
no function 4 4 4 4
poor printing 5 5 5 5
pho:
BW QUERY: [http://space.itpub.net/attachments/2010/04/10339719_201004211645561.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211645561.thumb.jpg]
WEBI:[http://space.itpub.net/attachments/2010/04/10339719_201004211637351.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211637351.thumb.jpg]
QAAWS:[http://space.itpub.net/attachments/2010/04/10339719_201004211637591.thumb.jpg|http://space.itpub.net/attachments/2010/04/10339719_201004211637591.thumb.jpg]
Why? BO can't sustain bw query : create new calculate Key Figure ?
Who to figure out this question?
Because I can't to do create new calculate Key Figure in webi or Xcelsius ,So ,I create new calulate Key Figure on BW QUERY.
Thank you.
BestRegards,
Howard.
Edited by: flying on Apr 21, 2010 10:48 AMHI Ingo,
Didier Mazoue say universe accept bw query Restricted KF and calculated KF :
[ Restricted and calculation keyfigures| Restricted and calculation keyfigures]
Why I create new Restricted KF and calculated KF for bw query, QAAWS,WEBI are can't return ok datas for new Restricted KF and calculated KF ?
I create KF on Universe :
select ued : <EXPRESSION>@Select (Key Figures\Qty)</EXPRESSION> OR <EXPRESSION>SUM(@Select (Key Figures\Qty))</EXPRESSION>
parse error: Parse failed:Invalid definition(UNV0023)
Thank you.
Regards,
Howard.
Edited by: flying on Apr 23, 2010 6:00 AM
Maybe you are looking for
-
Apple id has not been used with the itunes store-please review your account information
Hello, Good Day. I bought apple ipad 2 and need help. I registered online and after this i am getting the error. apple id has not been used with the itunes store-please review your account information Can any one help me in this issue. Thanks&Regards
-
Uploading photos to Shutterfly
I am trying to upoload photos to Shutterfly to order prints. I can't use my old method of copying and pasting prints to my desktop and then uploading from there because they have been edited (love this method because I can find the ones I want). Wh
-
Creating PO for multiple plants from central Pur Org
Dear Friends, we assigned Central Pur Org as 0001 with all plants. we want to make Purhcase Order for a particular material for all plants in single PO. how to define in Release Strategy for PR and PO. advice please. thanks in advance Rajesh
-
Why is it that when shooting in Raw my thumbnails look about the correct exposure etc, however when they are opened in the RAW editor they are usually washed out and need a lot of manipulating to get back to the way the thumbnail apprears. I have PSE
-
I was trying to send a cutom Object from a publisher to subscribers over RTMFP. spec = new GroupSpecifier(_groupSpec); spec.serverChannelEnabled = true; spec.routingEnabled = true;