Key Figures in Row an Column section for Query...

Hi,
Is there is any way I can keep one of my keyfigure in Row section and rest in Column section of my BW query.
Vishal

Hi Vishal,
What exactly do you need to do with one KF in the row and rest in the columns...that is no tpossible in BW (doesn't make much sense with the data as well). With the table layout you can just inter-arrange the KF and chars as columns, but you lose some navigation options.
Hope this helps...

Similar Messages

  • Converting key figures from rows to column using DSO and start routine

    Hi SDNer:
    I need some help to convert key figures from rows to column.
    The source is DSO 1 and I am thinking about writing ABAP in the start routine to do the conversion. The target is DSO2.
    Below is the  more detail information with example. Basically, for each record in DSO 1 I need to create 3 records (because there are 3 KF's) and output to DSO2.
    I would really appreciate some help on this.Thank you.
    Tony
    DSO 1 data format (SOURCE)
    Period   ID   KF1  KF2  KF3
    200702 100  300  200   750
    Output to DSO 2 (TARGET)
    Period   ID    KF  LABEL
    200702 100  300  KF1
    200702 100  200  KF2
    200702 100  750  KF3

    This is the code in BI 7.0.
    u need to put a field "Label" in DSO1. u dont need to populate this in DSO1 but it helps the code to populate the field in DSO2.
    DATA: wa_result TYPE _ty_s_sc_1,
    t_result TYPE STANDARD TABLE OF _ty_s_sc_1.
    DATA:counter(2) TYPE n.
    LOOP AT SOURCE_PACKAGE INTO wa_result.
    counter =0.
    while counter < 3 .
    wa_result- Period = wa_result-Period.
    wa_result- ID = wa_result-ID.
    if counter  = 0.
    wa_result- KF1 = wa_result-KF1.
    wa_result- Label = 'KF1'.
    elseif counter = 1.
    wa_result- KF1 = wa_result-KF2.
    wa_result- Label = 'KF2'.
    else.
    wa_result- KF1 = wa_result-KF3.
    wa_result- Label = 'KF3'.
    endif.
    APPEND wa_result TO t_result.
    counter = counter+1.
    endwhile.
    endloop.
    CLEAR: SOURCE_PACKAGE,wa_result.
    LOOP AT t_result INTO wa_result.
    APPEND wa_result TO SOURCE_PACKAGE.
    ENDLOOP.

  • Key figures in rows and columns at same time

    Dear experts,
    I'm making a report in HR in Bex query Designer 7.0.
    I have most of my key figures in the row, but for my structure in my row, i need a key figure in the column. As you already might know, you cannot do this just by drag and drop. But i was wondering if there's a way to do this anyway? and if so, how?
    thanks in advance,
    Jessica

    I have in the row
    a structure:
    exits - end of contract
    exits - voluntary
    exits - unvoluntary
    key figures
    And in the column i need the key figure: number of actions
    -> this tells me how many of the sort exit their are in the specified period.
    And the other keyfigures need to be in the row.
    So i don't know how to solve this
    Edited by: Jessica on Mar 19, 2008 12:07 PM

  • Key figures in row and column.

    Dear all,
    I have a requirement in my BEx query to have to key figures in both the row and column. This is the scenario, I have a formula defined in the row which does a total up and the user would like to see this key figure formula in the column while still maintaining all other key figures in the row. How can this be done?
    It seems that once I have a key figure in either the column or row I can only use either one- not both at the same time.
    Thanks in advance and points will be awarded.

    Hi,
    You can use KF in either in Row or Column.It's not possible to use in both in rows and columns.
    Regards,
    Jayapal

  • Multiple Key figure in a single column of a query

    Hi,
    Is it possible to use muliple key figure like Amount and Qty field together in a column of a query?
    Please advise,
    Best Regards,
    UR

    Hi,
    You will be able to do it with the help of cell definitions.
    Say,you have a structure in Rows :
    A
    B
    For A ..in corresponding column cell,use cell definition with KF1
    For B.....in corresponding column cell,use cell definition with KF2
    this way,you will be able to see both in one column
    I m not sure how much it is relavant to your requirement.But this is one way of gettin it

  • BEx Broadcaster Send button - No Broadcast Wizard with Key Figures in Rows

    Working in BI 7.0 SP 16, we are having an issue with BEx Broadcaster.  For a typical horizontal query (key figures in columns), the send button in BEx on the Portal works properly and returns the Broadcasting Wizard.  However, when using a query in a vertical format (key figures in rows), the window opended by the send button displays the "spinning wheel" and never procceds on to the Broadcasting Wizard.
    I have checked for SAP notes related to BEx Broadcaster and was not able to find anything relevant.
    The same query was tested with the key figures in columns and in rows.  The Broadcast Wizard comes up when the key figures are in columns, but not in rows.  Since it was tested both ways with the same query, I am assuming that the issue is related to the orientation (horizontal vs. vertical).
    Has anyone else run into this issue?  Is there a known limitation, or a patch available?  Does anyone have a BI system with a query you could flip the key figures from columns to rows and give it a try?
    thanks,
    -Shawn

    Shawn,
    I'm having my own issues with BEx Broadcaster in the Portal, but from BEx Query Designer - Query - Publish - BEx Broadcaster, the BEx Broadcaster Wizard is available in both cases (Key figures in columns and key figures in rows).
    Kim

  • Reporting Agent - Print Layout - Issue in Displaying Key Figures in Rows

    Hi,
    We have issue while printing reports using Reporting Agent. As part of Query Definition we have Structure of key figures in Rows. But while creating Reporting Agent , in Print Layout option – Under Table – Rows – we are not able to drag Structure of key fig.
    What could be the solution to this issue. How can we use key figures in rows?
    Thanks in advance.
    Samir

    Hi,
    putting product in the rows will slove the issues as the unit cost  depends upon the  prdoduct and therefore it will uniquely identify each of the material and then it will get multiplies with the qty and therefore you will get the correct result.
    this kind of issue you will always face when you are going to multiply cost with the Qty and as the cost differ with the individual material.
    Also putting material into the rows will cause the no. of rows to increase as all the materials will show up in the individual rows for the particular month.
    Also you can make a claculated key fgure for the multiplication and use before aggregation.
    But for that your both the key figures should be in the same cube i.e. in the same rows or the before aggregation will not work you will not even get an option of before aggregation in the CKF if the key figures belong to two different cubes.
    Since your qty and cost are coming from two different cubes before aggreagtion will not work here.
    And if you do before aggregation then you report will become quite slow as it will do all the multiplication anf then will bring the result.
    So it depends on your requirement and your design how to proceed.
    Hope it helps
    Thanks

  • Average in Results row in calculation properties for Bex Key figure does not work in Analysis for Office 1.4.7

    We are moving from Bex 3.5 to Bex 7.0 and using Analysis for Office 1.4.7
    We have queries that do an average for the results rows of dynamic calculations and the queries will not open in Analysis for Office 1.4.7 (example is below)
    We get an error message that can be found below
    We were able to open the queries in Analysis 1.4.5 with the correct results.
    We do not understand why it worked in an older version and not the new one.
    Is there something missing in the version 1.4.7 of Analysis for Office that is preventing our queries from running?
    We do not want to move back to 1.4.5 because the performance is better in 1.4.7.
    Help.....

    Hi Patty,
    I just checked 1.4.7 by making "Calculate Results As.." for Key figure and formula to Average(and also tried others as well). No error is coming in Analysis Office. reason might be because of other reason
    Any way, As Tammy Powlas suggested can you check with SP8

  • Calculated Key Figures - Result row sum is wrong

    Hello all,
    Using the example below, I built a calculated key figure for TotalPrice (material amount * material price per unit).  I set TotalPrice to calculate the result as a "total".
    OrderID OrderLineID MaterialID Quantity PricePerUnit    TotalPrice
    1                 1                1            1              5.00           5.00
    1                 2                2            1              3.00           3.00          
    2                 3                1            2              5.00          10.00
    2                 4                2            1              3.00           3.00
    3                 5                2            3              3.00           6.00
    ResultRow:   -                 -            7            19.00          27.00        
    Now, if I remove OrderLineID and MaterialID drilldown (or from the query rows), I get the following (wrong) results for TotalPrice:
    OrderID Quantity PricePerUnit TotalPrice
    1                 2              8.00         16.00*
    2                 3              8.00         24.00*           
    3                 3              3.00           9.00*                   
    ResultRow:  8             19.00         39.00* 
    - wrong results
    Is it possible to be able to remove the orderlineid and materialid fields from the query rows and still get correct results for TotalPrice?
    Thanks!
    -B

    I solved the problem by adding an Exception Aggregation to the TotalPrice calculated Key Figure. 
    To be more specific, I added an Exception Aggregation (set it as type "Total"), then set the reference characteristic to OrderLineID.
    As a result, the exception aggregation takes into consideration the orderlineID row when calculating the total price (quantity * priceperunit).  Therefore if you place the orderlineid in the free characteristics instead of the query row, the calculation is still performed correctly.

  • Two Key figures in Report Painter column?

    Dear Experts,
    We have some company codes with group currency setup and others without this. I have created a report painter report with table GLT0. I want ability to produce a consolidated report for all the company codes.
    However, when I define the report column, I can only select one basic key figure in the column viz. HSL - Local currency or KSL - Group currency for example. In my report I have selected HSL since majority of the company codes report on local currency.
    Is there a way that the program can be told to change the basic key figure during report execution to KSL - Grp Curr for select company codes only?
    Or is there a way to have two basic key figures in a report painter column? I know I sound foolish on this question. But still I ask this.
    Any thoughts, pls share with me. Thanks.
    Vishal Thakur

    You are right Sue. But unfortunately way back in the 90's when our company implemented SAP, those company codes did not activate the 2nd LC as USD. Thus, these companies only have figures updated in the 1st LC which is USD.
    Subsequently, we acquired new companies overseas and then for these co's we switched on the 2nd LC as USD with the 1st LC as the country specific currency.
    Vishal.

  • Converting rows to columns using dynamic query.

    I am trying to use the below code that I founnd on the web to conver rows to columns. the reason that I want to use dynamic query is that the number of rows are not know and changes.
    declare
        lv_sql varchar2(32767) := null ;
    begin
        lv_sql := 'SELECT Iplineno ';
        for lv_rec in (SELECT distinct vendor from bidtabs  where letting = '10021200' and call ='021')
        loop
            lv_sql :=   lv_sql
                        || CHR(10)
                        || ', MAX( DECODE( vendor, '
                        || chr(39)
                        || lv_rec.vendor
                        || CHR(39)
                        || ', bidprice, NULL ) ) as "'
                        || lv_rec.vendor
                        || '" ' ;
        end loop;
        lv_sql :=   lv_sql
                    || CHR(10)
                    || 'FROM bidtabs  where letting =  ''10021200''  and call =  ''021''  and lineflag = ''L''  '
                    || CHR(10)
                    || 'GROUP BY iplineno ;' ;
    here is the result
    BIDPRICE     CALL     IPLINENO     LETTING     VENDOR
    9,585     021     0010     10021200     C0104        
    1,000     021     0020     10021200     C0104        
    1,000     021     0030     10021200     C0104        
    17     021     0040     10021200     C0104        
    5     021     0050     10021200     C0104        
    11,420     021     0010     10021200     K0054        
    1,100     021     0020     10021200     K0054        
    1,100     021     0030     10021200     K0054        
    5     021     0040     10021200     K0054        
    3     021     0050     10021200     K0054        
    8,010     021     0010     10021200     V070         
    900     021     0020     10021200     V070         
    1,320     021     0030     10021200     V070         
    11     021     0040     10021200     V070         
    3     021     0050     10021200     V070         
    and here is the desired output
    CALL     IPLINENO     LETTING      C0104              K0054              V070         
    021     0010     10021200      9,585                     11,420                                   8,010
    021     0020     10021200      1,000       1,100     900
    021     0030     10021200      1,000     1,100     1,320
    021     0040     10021200       17     5     11
    021     0050     10021200      5     3     3

    Here is the error message I am getting:
    RA-06550: line 22, column 43:
    PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    begin case declare end exception exit for goto if loop mod
    null pragma raise return select update while with
    <an identifier> <a double-quoted delimited-identifier>
    <a bind variable> << close current delete fetch lock insert
    open rollback savepoint set sql execute commit forall merge
    pipe

  • Using Key figure attribute of a characteristic in a query

    Hi All,
    I have the following scenario. I have defined a key figure attribute for a characteristic Infoobject. I have included this characteristic infoobject in an Infocube. I now want to use the key figure attribute as a regular key figure when I create a report based on the Infocube. Is it possible and if so how is it possible?
    Thanks
    Sundar

    Hi Saundar,
       There's another way.Set the characteristic with key figure attributes as a data target under your info area. Create a MultiProvider and include your Cube and this characteristic. Here you can set the key figure as your MultiProvider key figure.
       Don't forget to take care of the identification of MultiProvider.
       Hope this helps.
    Regards,
    Aaron

  • How to color Rows and Columns of BI Query

    Hi to all,
    I have created BI query in query designer, with 2 structures for rows and Columns.
    Now I need that certain rows can be colored orange and certain columns as green color.
    I knew that it can be done in Query designer, but slice and dice reporting can not be done, which I required in my report.
    Is there any way I can do in WAD.
    or any other way to do that.
    i shall be thankfull to you for this.
    Regards
    Pavneet Rana

    Hi Rana,
    You can do the coloring of KF values using the report designer tool.
    Check the below links
    http://help.sap.com/SAPhelp_nw70/helpdata/en/dd/cea14119eb9f09e10000000a155106/frameset.htm
    [Creating Formatted reports using BEx Report Designer|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00ae5173-6112-2d10-d78f-e7779d269f25?QuickLink=index&overridelayout=true]
    Regards
    KP

  • Key figures display limitation in BI 7.0 query

    Hi,
    When i converrt my 3.5 query which has 12 key figure columns displayed all in 1 page into 7.0 version it only displays 4 columns at a time.
    Please how can i resolve this? I need to see all KF columns in once like the 3.5 version.
    Tahnks a lot.
    Cesar

    1. Start BEx Web Application Designer tool
    2. Open your webtemplate if you have one or (0analysis_pattern)
    3. Go to the "Overview" tab which lists all the webitems in that template.
    4. Find the web item with name "ANALYSIS" and go to its properties(or edit) using context menu.
    5. find the property "Number of Data Columns Displayed at Once" and  change the default value of 4.
    Assign points if helpful
    Regards, Uday

  • New key figures in multiCube not available in old query

    Hello every one,
    I created new key figures in a mult Cube but not I wish to put them in the query based on this multi Cube and the figures are not there.
    I already actived the multi Cube, also sign on and sign off the BEx, generate the query using rsrt but until now no solution.
    Can you help me out?
    Thnaks

    did you add the fields using the query designer....
    also make a double check that this query is based on that multiprovider...
    rgds, Ghuru

Maybe you are looking for