Sorting a variance column in Webi report

I have the need to sort a report by a variance that I have calculated in the report.
For example, a report has inventory for end of prior month and current day. I am calculating the variance between the two columns. (how much inventory has changed by product)
I need to be able to sort this table descending so that I can see the big inventory movers first.
When I select the variance column, the sort options are disabled.
I have also tried to save my function as a variable and that does not seem to help.
I am using WEBI XI 3.1.
Any ideas?
Thanks in advance.

Rodney,
The "column" parameter is used as such:  ;col which is added to the end of your formula like this:
([Stock Quantity] Where([Calendar Day]=Max([Calendar Day]) In Report) - [Stock Quantity] Where([Calendar Day]=Min([Calendar Day]) In Report);col )
When you add the ";col" portion it tells WebI to calculate by column (the alternative keyword to this parameter is "row").
You mention that you'll lose your calculated column, however, instead of building a formula with a cell, you can also construct a local variable to the report executing the same formula.  This method is handy when you'll have the same computation to do in perhaps several tabs, and you just want to code once and reuse in multiple places within your report.  So, if you can somehow work on establishing a local variable with the same formula, then demote the table to a horizontal or vertical table, put your objects in that grid configuration, apply sorts, then reposition as crosstab, you might be able to achieve your desired results.
Thanks,
John

Similar Messages

  • How to sort on Multiple columns in WebI report

    Hi
             I am working in BO XI R2. I have a report containing two columns in a section. Section is on Fiscal Year- Fiscal year includes calendar year 2010 and 2011.
    data for fiscal year 2010 is from october onwards.
    The two columns in the section are
    column 1- calendar  Year
    column 2- calendar Month
    I want to display results as follows
    2010 oct
    2010 nov
    2010 dec
    2011 jan
    2011 feb and so on.
    I first sorted calendar year column so that it shows
    2010
    2011
    but when i try to sort calendar month, for 2010 I am able to display oct, nov, dec in a ascending order but for 2011 the months are displayed randomly. Business user wants to see them in ascending order from Jan to June.
    Please let me know how to get this functionality in the report.
    Thanks in advance.

    Hello Gurus,
    I have same issue with me I am working on XI3.1 and I want to apply Sort on multiple columns on Single block.
    So as you can see the "Org Name" is decending Order and " Emails Sent" total is 63 and   "BCB" have 18 total.
    How would I apply sorting based on email sent from high number to low number. Please help.
    Thank you.
    Adil
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Shot
    11111111
    22222222
    [email protected]
    32
    0
    11111111
    22222222
    [email protected]
    12
    0
    11111111
    22222222
    [email protected]
    10
    0
    11111111
    22222222
    [email protected]
    9
    0
    Well Shot
    Subtotal:
    63
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Play
    444444444
    33333333
    [email protected]
    1
    0
    WellPoint KY Test Org - Central
    Subtotal:
    1
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    BCB
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    2
    0
    BCB
    Subtotal:
    18
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Ghazi, Foundation
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    Ghazi, Foundation
    Subtotal:
    5
    0
    Availity Orgnaization Name
    Org Tax ID
    Org ID
    Email
    Number of Emails Sent
    Undelivered Emails
    Ghazi, Foundations
    66666666
    1234567893
    [email protected]
    1
    0
    66666666
    1234567893
    [email protected]
    1
    0
    Ghazi,  Foundations
    Subtotal:
    2
    0
    Totals:
    89
    0

  • How to Sort prompt date in BO Webi report

    Hi Gurus,
    I am facing a critical issue in selecting date prompt in my webi report.
    Please find the below image as the dates are not getting sorted as per year.
    Please suggest solution for this.
    Regards
    Bikash

    Hi Bikash,
          Create a predefined filter in the Universe. The edit the date object by changing the LOV SQL, ordering it on the date field. Now click on the option 'Export with Universe" in the propereties tab and the export the universe.
      Hope it should wok.
    Thanks and Regards
    Ram
    09038887788.

  • (Urgent) Sorting search help values in Web Report

    Hello Friends,
    We have a web report which uses a variable made on 0CALMONTH. The order of display of values for this variable search help is 02/2004, 03/2004, 01/2005, 07/2006, 08/2006, 05/2007. In this order we have the latest date (05/2007) displayed at the end of the list. What we want is that the values in the search help of 0CALMONTH should be displayed in the reverse order i.e. latest date first (05/2007, 08/2006, 07/2006... etc).
    Thanks in advance for your assistance.
    Regards,
    Prem.

    Hi Premanand,
    If u display the report in Internet Explorer there you can see differnet buttons like
    Save View, Book mark, Variable Screen etc...There click Save View give tech name and descryption. After Sorting use this in WAD instead selecting query , select this view and execute.
    Assign Points Pls...
    Best Regards,
    SG

  • Removing Columns in Web Reports

    Hello Experts,
    I would like to remove a column in a We report. I would like to remove the first column in a web report it should be this way by default. Is there any way to do this. Please do help me out....

    Hi Sweatha,
    you can try the following step:
    In the specific properties of your table web item you can set the "Data Display from Value Column" to 2. This should work. But if you use any graphics this will have no effect to your graphics. Otherwise i would recommend to create a view in the Bex Analyzer and hide the column in the view. Then you can assign the view to your data provider.
    Regards,
    Adem

  • Different column detail webi report

    Dear experts,
    Is it possible to have a webi report with the following columns' layout:
    Country | Average 2009 | Jan 2010 | Feb 2010 | .... | Dec 2010 | Average 2010
    I've created a variable directly in the webi report but I'm not able to have detail by month in 2010 and a column with the 2010 total.
    Any ideas?
    thank you!
    Best,
    Inês Santos

    Hey Inês,
    Country | Avg 2009 | Jan10 | Avg 2010 | Feb 2010 | Avg 2010 | .... | Dec 2010 | Avg 2010.
    You're correct foreach Month-Year it will append one column, yesterday I didn't find enough time to see this.
    Solution:
    1. just drag Cross-tab from templates.
    2. In Column section(far left) Drop object.
    3. In Rows Just right-click on it and Say Insert row above.
    4. on Newly inserted row, Drag object
    Note: object should contain only years only like 2009, 2010 etc...,
    5. In below row , just drag object (which has Jan10,Feb10 etc...,)
    6. Now Click on object and say Insert column right
    Here, use formuls to calculate Avg(2009) == See my earlier post
    7. Now on Object , the top one (row), apply Break.
    8. It will append two columns for you. One is exact size with Column and one more with small size(white background). Here you can remove small one.
    9. Now on newly added/appended column , write Avg(2010) formula.
    10. On object (top one== row), go to properties == Make Text and Back ground color to White and Width and height to 0(Zero- it will take 4 pixels== which is default)
    Now you can see exact report, what you are trying to achieve.
    I tried and tested. Hope it should work for you.
    Thank You!!
    Sent from iPhone

  • Freeze header columns in web reports

    Hello Gurus,
       I am looking for a solution to freeze the header columns. I tried
    with the java script code from the below link.
    Forum post in BI Suite – Business Explorer: Re: Freeze Panes in web
    reports
    Re: Freeze Panes in web reports
    but did not work.   please suggest me.
    points will be awarded.
    Thanks & Regards,
    Kumar.

    no proper solution.

  • Hide/Unhide Columns in WEBI Report output

    We have a WEBI report which has 2 columns/measures to display the cost in EUR and USD. User would like to have the flexibility to filter the column so as to display USD or EUR cost column. Is it possible to hide/unhide column in WEBI. Can we have a input control on multiple measures so that user can dynamically select which measures they want to see on report.
    Its possible in BEx Analyser using filter option on key figure. Is simillar functionality available in WEBI? We're on BO 3.1 XI. Is thre any other way to achieve this?
    Thanks,
    Milind

    hi,
         i think it is not possible to hide a column based on condition. but in webi 4.0 u have an option using which, u can hide/ show a table based on the user selection. in ur scenario, create two tables, one with value in USD and other in EU, super impose the table. then right onthe table and select "Format cell". in that u ll have a option to hide the table based on condition. select that and apply the condition.
    see the follwoing url for more info : http://bihappyblog.com/2011/11/05/dynamic-visibility-in-webi/
    thank u,
    Edited by: aady89 on Mar 9, 2012 7:39 AM

  • RE: Hide a column in web report using table interface class

    Hi,
    I want to hide first column in web template using table interface class. Following is the code i used in CAPTION_CELL and CHARACTERISTIC_CELL. Is this correct?
    method CAPTION_CELL.
    *First column
    if i_x = 1.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    endmethod.
    method CHARACTERISTIC_CELL
    First column
    if i_x = 1.
    save start-time column
    move I_CHAVL_EXT to L_STARTTIME.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    endmethod.
    When i execute the web template it is still displaying the first column. Do i have to code in any other method?
    Thank you,
    Mala Venkatesh

    Hi , the implementation should look like...
    method CAPTION_CELL .
    *CALL METHOD SUPER->CAPTION_CELL
    EXPORTING
    I_X =
    I_Y =
    I_IS_EMPTY =
    I_IOBJNM_ROW =
    I_ATTRINM_ROW =
    I_TEXT_ROW =
    I_IOBJNM_COLUMN =
    I_ATTRINM_COLUMN =
    I_TEXT_COLUMN =
    I_IS_REPETITION =
    I_COLSPAN =
    I_ROWSPAN =
    CHANGING
    C_CELL_ID =
    C_CELL_CONTENT =
    C_CELL_STYLE =
    C_CELL_TD_EXTEND =
    First column
    if i_x = 1.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    Second column
    if i_x = 2.
    close comment tag
    concatenate '--> '
    C_CELL_CONTENT
    into C_CELL_CONTENT.
    endif.
    endmethod.
    method CHARACTERISTIC_CELL .
    *CALL METHOD SUPER->CHARACTERISTIC_CELL
    EXPORTING
    I_X =
    I_Y =
    I_IOBJNM =
    I_AXIS =
    I_CHAVL_EXT =
    I_CHAVL =
    I_NODE_IOBJNM =
    I_TEXT =
    I_HRY_ACTIVE =
    I_DRILLSTATE =
    I_DISPLAY_LEVEL =
    I_USE_TEXT =
    I_IS_SUM =
    I_IS_REPETITION =
    I_FIRST_CELL = RS_C_FALSE
    I_LAST_CELL = RS_C_FALSE
    I_CELLSPAN =
    I_CELLSPAN_ORT =
    CHANGING
    C_CELL_ID =
    C_CELL_CONTENT =
    C_CELL_STYLE =
    C_CELL_TD_EXTEND =
    First column
    if i_x = 1.
    save document-item number
    move I_CHAVL_EXT to l_docitem.
    add comment tag
    move '<!-- ' to C_CELL_CONTENT.
    endif.
    Second column
    if i_x = 2.
    close comment tag
    concatenate '--> '
    C_CELL_CONTENT
    l_docitem
    into C_CELL_CONTENT
    separated by space.
    endif.
    endmethod.
    Activate the methods/class and add this in the Web Template!
    for example:
    <param name="MODIFY_CLASS" value="ZHCOLAPP">
    ZHCOLAPP is the table interface class in this case.
    Best,
    Michael

  • Sorting on fiscal period in webi report

    Hi
    In webI chart x-axis i have the fiscal period field which are displaying as period 01, period 02....and in sorted order.
    But i need to show like august 2010, septmeber 2010... instead of period 01. period 02, I am able to do it but not able to sort on august, september, october..
    It is showing up randomly like aug, jan. sep, dec...and not able to sort.
    any inputs please.

    your message i need to show like august 2010, septmeber 2010... instead of period 01. period 02
    your month object like jan, feb, march, april..........December
    create a variable for your Month object regording yor information like jan 2010, feb 2010, march 2010.................December 2010
    create variable------> Formula:     Month object + " 2010" 
    you are looking for sorting:    So,drag the objects create a table,  Right click on column----> sort->custom->set your order---> jan 2010,feb 2010........December 2010
    again Right click on table---> turn ->chart->select your chart
    All the best,
    Praveen

  • Hierarchy Analysis Authorization in BW and BOBJ Webi Report

    Hello,
    We have a scenario wherein we have implemented Analysis Authorizations (Hierarchy) on Organizational Unit info object (0ORGUNIT) and need to report on BOBJ WEBI. Our scenario is as following
    ORGUNIT    - L0 (Overall Enterprise Level)     
    -     L1 (Enterprise - Continent Wise Split)
    -     L2 (Enterprise u2013 Country Wise Split)
    -     L3(Enterprise u2013 City Wise Split)
    E.G- 
          LO (Company ABC) MANAGER 0 will have access to the entire organization
               -L1 (ASIA) MANAGER1 will have access to ASIAN Subcontinent
                      -L2 (India) MANAGER 2 will have Access to country India
                                -L3 (New Delhi) MANAGER 2.1 will have access to city Delhi
                                -L3 (Mumbai) MANAGER 2.2 will have access to city Mumbai
                       -L2 (Malaysia) MANAGER 3 will have access to Country Malaysia
                                  -L3 (Kuala Lampur)
                                  -L3 (pahang)
                 - L1 (Europe)
                                            u2026..
    The requirement is that the CEO of the company should be able to see the entire set of data ( L0-L4).We have continent managers who can see that data specific to their continent, similarly at L3 Level the city manageru2019s should see the data only for their specific city.
    In BI we have used analysis authorization based on hierarchies. We have created an authorization object say ZAUTH1 and have assigned the hierarchy L0 from RSECADMIN. Now, in Webi when we create a report a sample row comes as :
    L0 Org Unit     L1 Org Unit     L2 Org Unit     L3 Org Unit     SALES Key Figure
    Company ABC     Asia          India          Mumbai          1000
    Now, we have MANAGER 2.2 who has only access to the data specific to his city (Mumbai). There is an Analysis Authorization object created for him ZAUTH2, by ONLY assigning the org unit hierarchy L3 (for Mumbai). When we run the bex report with the user MANAGER 2.2 u2013 it correctly displays the result and the user is only able to see the data for L3 Org Unit (Mumbai). However when you bring this data to Webi u2013 the report comes in the below format:
    L0 Org Unit     L1 Org Unit     L2 Org Unit     L3 Org Unit     SALES Key Figure
    Mumbai                                           1000
    The L3 org unit has now got assigned to L0 Org unit , as this is the only org unit assigned to the MANAGER 2.2 user .
    In such a case we are not able to write any generic formulae for the report. Is there a way to correct this issue? u2018Mumbaiu2019 should either get assigned to the L3 OrgUnit column is webi report , or is there a workaround that is possible ?
    Thanks and Best Regards,
    Vj

    Hi Vijay,
    The problem you speak of is known and comes from the fact that the hierachy is flattened in the process of delivering it to WebI. Therefore there is no real 'solution' to the problem, just some work-arounds you can think of...
    1)
    Create a report variable that starts looking at the lowest level, if it is empty check one up, and so on until you found what you were looking for (the lowest leaf available), which by definition must be there (even if it is top level).
    Using similar logic you can also get a 'number of levels avaible' and so fill in the complete tree (duplicating the highest level).
    This is difficult to explain when end users create their own reports, though you could provide a template report with these variables in there already.
    2)
    Extend the hierarchy with duplicates below the lowest level.
    So i.e. L0 Company - L1 Continent - L2 Country - L3 City- L4 City - L5 City- L6 City.
    This will give back on the four levels for top authorization
    L0 Company - L1 Continent - L2 Country - L3 City
    For authorization on Continent:
    L0 Continent - L1 Country - L2 City- L3 City
    For autorization City
    L0 City- L1 City - L2 City- L3 City
    So in all situations the fourth level, the L3 Object will hold the City level.
    This you can then use in your report.
    Hope this helps,
    Marianne

  • Repalce comma with Space in Webi report.

    Hi Experts,
    My address Column in Webi report is showing data is like :
    Address (this is the field coming for BW)
    House No1,Flat J10,New Delhi,INDIA.
    Can we replace Comma with the space so that the ablove data would be like :
    House No1 Flat J10 New Delhi INDIA.
    Thanks.

    Hi Abdi
    Use the formula
    = Replace("House No1,Flat J10,New Delhi,INDIA";",";" ")
    then you will get
    House No1 Flat J10 New Delhi INDIA.
    Use the object in place of Text
    =Replace([Address];",";" ")
    Regards,
    Mahi

  • Live Office does not retain the Custom Sorting applied in a Webi report

    Hi,
    We have a Webi report in which we applied "Custom Sorting" to sort the Business Names in the required order. However, when we import that to excel using live office, excel doesnt retain the same format and there are not much options that are available within xcelsius to do the sorting. I have gone through various posts here but none resolved this specific issue.
    Here is our environment:
    Xcelsius 4.5
    Live Office Frame work 11.5.5.525
    BOXI R2 SP1 and MHF1
    I tried using different options under "Report View formatting" within live office options but none seem to have made any difference. Unfortunately we can't make any changes to the universe in this case. I checked for few paid addon's but they seem to be for Xcelsius 2008. We have a release next week and would appreciate if any of you can guide me to solve this issue.
    Thanks
    Pavan

    hi pavan
    i can just tell you that i had no issues with custom column sorting in webi with Enterprise XI 3.0 and Xcelsius 2008.
    Best Regards
    Ulrich

  • Date Column not getting sorted in a table in web Dynpro Java

    Hi All,
    I am facing an issue while sorting the date column in a table in my web dynpro java application.
    When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
    Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
    Thanks & Regards,
    Anurag

    Hi,
    You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
    As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
    In your table, add a new column and bind to this new attribute, and hide your original date column
    If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
    Cheers,
    Robin

  • Need help in sorting a column in classic report

    Hi I am trying to create and classic report and I need to do sorting on the columns. Also I am using a select list to filter the records in the column. When I am not using the select list the sorting is working but when I am using the selcet list and select the sort option then it is showing error. Can anyone help...
    Thnaks,
    Rik

    Select lists prior to v4 will sort on the return value. In v4, it sorts on the display value (as you're probably expecting). There's nothing really for you to fix here except if it's really important, see if you can get upgraded to v4.

Maybe you are looking for

  • Permanent sorting the open items list by document number descending

    Hello, I want to store, that the "Sales -A/R - Sales Report - Open Items List"  is allways sorted by document number descending. I am able to sort the list, but the system doesn't store this configuration. Next time when I enter the list, I have to s

  • Serial no Fiscal year wise

    sample data year          Month          Srno 2010          05          1          ----Fianacial Year 09-10----- 2010          05          2 2010          05          3 2010          06          4 2010          06          5 2010          06         

  • How to use about:config to REMOVE Delta Search from my new tab

    I am desperate to remove Delta Search from my new tab page. What do I do after I open about:config? I have done at least a dozen resets, have removed DS via add/remove, am running a virus scan at present...this is TERRIBLE, and there HAS to be a way

  • SharePoint Risk Management

    Hi, I want to create Project Risk Management in SharePoint 2013. Can you please provide some idea how to create it. Thanks,

  • Stereo Pairs

    I have a question in regards stereo pairs is there any way around that when creating a stereo pair from two audio clip that final cut will not take the audio level settings from the clip above. I am doing mainly weddings and we use two wireless mics