Using Hierarchy in Query Designer

Dear all
When I use hierarchy of InfoObject 0WBS_ELEMT, there is a hierarchy which has structure following:
WBS 1
     WBS 1.1
     WBS 1.2
In every WBS, I focus on 3 infos (start date, finish date and duration)
WBS 1.1 has startdate: 2/8/2010, finish date: 10/8/2010, duration: 7
WBS 1.2 has start date: 5/8/2010, finish date: 17/8/2010, duration: 9
As my understanding, WBS 1 is parent of WBS 1.1 and WBS 1.2, so start date of WBS 1 is 2/8/2010 and its finish date is 17/8/2010 and duration is 12 (only included working day).
In Infocube, I received correct duration of WBS 1, but in Query Desinger, duration of WBS 1 = duration of WBS1.1 + duration WBS 1.2, This is incorrect.
Please help me way config for duration of WBS correctly in Query Designer.
Thanks
DaoBX

Hi,
An Heirarchy is always an addition of the below nodes. hence. WBS 1 = WBS 1.1 + WBS 1.2. since youre looking at durations. it will add up 7+9 instead of looking at earliest start and latest end dates.
dont know if itll work but a suggestion would be to get the start date and end date for WBS 1 and then do the calculation for duration in a formula in query designer.
regards,
Dilanke

Similar Messages

  • Creating customer formula to be used in the Query Designer

    hi,
    How can i code a specific formula to be used in the query designer. As an example, i need to calculate dynamically working days between two dates.
    i tried to find the corresponding BAdl interface with no success..
    Do you have any suggestion ?
    Ludovic

    Hi..
    I have a scenario ...  it may help..
    The group HR administrator wants a detailed line item report that lists all employee absences in a given period. The report is to show the employee number, the absence start date, together with the end date of the absence and show the number of calendar days the employee was absent.
    The good thing about using this technique is that no redesign work is needed from your technical BW team, no ABAP is involved and best of all, it quick and easy.
    Solution:
    For this example I created an ODS object called Absence that holds basic employee information along with individual absence record data.
    Follow the steps below:
         Open the BEx Query Designer and create a new report on your chosen InfoProvider.
                  Drag the Employee, Valid from and Valid to characteristics into the Rows section of the screen.
    If needed, apply data selection restrictions to the characteristics as pop up
         Right click on the Key Figures structure and select New Formula
         In the new formula window right click on Formula Variable and choose New Variable
         The Variables Wizard will launch and will require you to specify the variable details.
    ( Click the NEXT button if the Introduction screen appears )
         Enter the variable details on the General Information as shown in  pop up
    Enter the Variable Name , Description and select Replacement Path in the Processing by field.
    Click the Next Button.
         In the Characteristic screen (pop up) select the date characteristic that represents the first date to use in the calculation (From Date).
    Click the Next Button.
         The Save Variable screen (pop up) displays a summary of the new variable.
    Click on the Finish button to save the variable.
         Repeat steps first four  for to create a second variable for the second date to be used in the calculation.
    In the example shown, the characteristic 0DATETO is used to create the variable ABSEND (Absence End Date)
    Define the Calculation............
                The new calculated key figure will now show in the columns section of the BEx query designer
    excute...
    with regards,
    hari

  • How to use "%CT" in Query Designer

    Hello everyone,
    i read that to calculate "Percentage Share of Result" in Query Designer we can use "%CT operator".
    But in my Query Designer (Version 7.10, SP10, Patch1) only "%" and "%A" are available to use. There ist no operator named "%CT".
    Can someone tell me how to use this operator?
    Thanks a lot and best regards,
    Susanne

    Hi,
    In the % Functions in a Formula you can find %, %A, %CT, %GT, %RT all 5 of them .
    My BW system is at Following Upgrade level:
    Software Component    Release    Level    Highest Support
    SAP_BW                701       0007            SAPKW70107
    If at a lower upgrade level, you need to upgrade till Specified BW Release to view these Fxn.
    You can check yours at System (Top of the window) --> Status . Click the Icon of magnifying glass named Componenet Info to view yours.
    Regards
    Raj Rai

  • Unable to see  hierarchy nodes for a hierarchy in Query designer

    For IO 0GL_ACCOUNT, we have many hierarchies defined.
    In the query designer when i am trying to restrict the 0GL_ACCOUNT with one of the hierarchy say Hier1 the corresponding hierarchy nodes should be displayed so that i can select any nodes of my choice and can restrict.
    Strangley instead of showing hierarchy nodes,it is showing" [ ]" with out any values.Checked in RSA1 ,the hierarchy with all nodes visible perfectly.No authorization settings created on any of these hierarchies.
    hierachy is in active state.
    Appreciate any suggestions on this.
    Regards,
    Swapna.G

    Before restricting you need to select hierarchy for the characterstic and tick the activate hierarchy display checkbox

  • How can I know, which RFC connection is used by my query designer ?

    HI,
    I would like to know,
    which RFC connection is used when i launch the query designer or the report designer or the web designer.
    Thanks.
    Guillaume

    Hi,
    Go to TCODE SM59 and see.
    Regards
    Nilesh

  • How to design a query without using Net Weaver Query Designer

    Does anyone know if any alternative way to <b>design an query without using Net weaver GUI</b>? in order to reduce the time consuming, I am wondering if there have any method which can define/modify a stack of cells, characteristics and structures without work through the GUI.
    Deeply thank for any of your advices.

    Can you give an example?
    Just from what you write, I would assume that you talk about something like a mass-property-changer. As far as I know the BEx this is not really possible, but what I do normally is building one query and then either using query-views (saving more or less the navigation state) or by copying and changing the properties of the few characteristics and key figures.
    But without a specific example it's difficult to exactly understand what you exactly need.
    Mario

  • Pareto without using Condition in Query Designer

    Hi,
    Is there any way we can achieve the Pareto effect without using condition?
    This is because Condition is not supported by OLAP BAPI via MDX interface.
    Can someone helps?
    Thanks.

    Hi Shweta...
    Plz find the below links this may help ful to solve the issue or can get much info.......
    http://help.sap.com/saphelp_nw70/helpdata/EN/80/3424429e905033e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    Regards
    Sudheer

  • 0ORGUNIT hierarchy version assignment problem using BI7 Query Designer

    Dear All,
    I have a problem with Hierarchy Version for 0orgunit using BI7.0 Query Designer.
    for activating heirarchy i have selected the hierarchy in  the query designer but version it is not showing , instead of 01 it is showing as #.
    what may be the problem with BI7.0 Query designer.
    If I use BW3.5 query desingner there version in showing and I can able to show the heirarchy.
    We are using BI7.0 and SP level is 13.
    Best Regards,
    SGK

    Dear SGK,
    did you get this problem solved ?
    I have the same problem.
    Regards,
    Gerhard

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • What is the use of Condition is Query Designer  ??

    What is the use of Condition in Query Designer  ??
    How to use condition in   Query Designer  ??

    Hi,
    Conditions in a query can be defined for both characteristic combinations and key figures.
    Characteristic combinations can be used using the ranking list functionality (e.g Top N or Last N customers with highest sales).
    Key figures can be assigned the value limit conditions ( for e.g. display only rows in the query for which the key figure > 10 ).
    For your specific requirements in which you need to display only a limited set based on the key figures, then you can go for conditions.
    The conditions can be allowed to work on all the drill down characteristics independently, single characteristics or combination as well based on your requirement.
    While execution the report, you can activate or deactivate the condition anytime by right clicking on the data cells.
    Regards,
    VA

  • Bex Query Designer not using default browser

    hello all, i have disabled my Internet Explorer from being my default browser, however, when i use the Bex query designer and test, it initiates my Internet Explorer, and not my default Safari browser.
    does anyone know where this setting is made ?
    thanks
    g

    Skype uses IE ("Internet Explorer") as the browser interface on Windows based systems, this currently includes many windows such as the logon screen and add Contacts screen. This is fairly normal when a program uses browser logic internally, it is not changing what you use as a default browser.
    About Me You can also use a IP Camera as your camera for Skype video Example Instructions

  • BW query designer - create formula using percentage variable

    Hello BW Experts! 
    I am using Business explorer query designer 7.x (based on 7.2) and I want need to create a formula based on 1 KF and a variable that the user would be able to enter when running the query.  The variable I want to pass is a percentage that will change each time they run the report and then I will multiply that percentage by the desired KF.  Any ideas?
    Thanks in advance,
      Jim

    hi Jim,
    you can achieve this using formula variable. This variable is going to be user entry variable and you can use that variable for further calculation, in your case for formula.
    thanks.
    Wond

  • Unable to see the variable in Query Designer

    Hello Experts,
    I am running one report and it is showing me 0calday variable selection screen at run time. I am unable to see this Variable on my Query designer but when I am opening query properties its showing me in this.
    Kindly let me know where is this Variable using in my query designer ?
    Thanks,
    Anoop

    Hi Anoop,
    The variable is probably being used to restrict a key figure.
    Go to the key figures,
    Display the technical names
    Check the key figures for which the technical name is not appearing even though the key figure is not a formula.
    Here you will see one of the key figure being restricted by a variable for 0calday
    Hope this helps.
    Regards,
    Joe
    Didnt notice the question is answered :P
    Edited by: lazarus_joey on Feb 17, 2012 6:48 PM

  • Adhoc query designer in BI 7.0

    Hello BI Experts,
    How and where to use the Adhoc query designer in BI 7.0 Web application designer. Is this web item available. what is the new name for it.
    Please help.
    Thanks in advance
    BWer

    Hi BWer,
    The Ad Hoc Query Designer Web item is no longer available in the BI 7.0 runtime, only with the BI 3.x tools. The BEx Web Analyzer is the tool now used - you can create new query views from an existing query or directly against an InfoProvider.
    Regards,
    Katie Beavers
    SAP NetWeaver Product Management

  • BEx Query Designer and Exceptions

    I have a simple enough task.  I was tasked, with marking items on a query with an exception, however the value is not static.  I have a column marked hours, and five columns for each day of the week.  The current day with data should yield an exception if the current day has less hours the the calculated hours column.  So my first approach was to create a formula where I evaluate both the hours calculated from the query and the current day. I called this field fday1.  I created an exception stating that if fday1 = 1 then to mark the field Bad3.  but I want the affected structure to be the Actual Day such my column days are: Day 1 (current date), Day 2 (current date + 1) etc... but when I visit the query (ie, adhoc query) only the formula field fday1 has the exception day triggered.  In the exceptions list  I define the keyfigure fDay1 (time of evaluation [before list calculation]) Under the display tab I have exception affects data cells for the following structure elements: Day 1 (current date).
    like If I execute this query through the portal the exception shows up correctly on the proper field.  if I execute the query through the adhoc (BEx Ad Hoc Analysis) view, then the wrong field has the exception.
    any thoughts on a better way to approach this query?

    Nobody has a solution in order to highlight the whole row (characteristic and key figures) for a value of a key figure ?
    With WAD or Query Designer, I'm trying to highlight a line with an exception on a key figure but it apparently colors only key figures.
    For example i would have entire colored rows for negative key figure :
    field1:a field2:x field3:e key_figure:1
    field1:b field2:x field3:e key_figure:7
    field1:b field2:y field3:e key_figure:-5
    field1:d field2:z field3:j key_figure:1
    I can use WAD or Query Designer but not Visual Composer or Report Designer...
    Thanks for help.

Maybe you are looking for