Formatting metrics in a pivot table differently based on a unit of measure

I have a generic metrics table with columns for METRIC NAME, UNIT OF MEASURE, ACTUAL VALUE, BUDGETED VALUE, and PRIOR YEAR VALUE. Each metric has a unit of measure associated to it, and I need to be able to format these metrics differently in the same field based on that unit of measure.
For example, I may have an actual value for a "cost per unit" that needs to be formatted in dollars to 3 decimal places (Unit of measure = USD3) while another metric may be a simple "number of items" that needs to be formatted as numberic to 0 decimal places (NUM0).
Has anyone ever formatted the same column in OBIEE with different data formats depending on the unit of measure needed? I know I can conditionally format the cell with colors or images, but I haven't figured out how to change the data format in a table or pivot table.

Hi,
I've read all the tips that are offered in this forum. I tried all the solutions provided here, but I can not get the grand total formatted conditionally, what I get is the following error nell'answer:
DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None
Error details
Codici di errore: YV3KVTDM
Location: saw.hypercube.dxeApi, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
I'm use the version: OBIEE 11.1.1.6.2
Anyone have any ideas for me?!

Similar Messages

  • How to retrieve the values from a table if they differ in Unit of Measure

    How to retrieve the values from a table if they differ in Unit of Measure?

    If no data is read
    - Insure that you use internal code in SELECT statement, check via SE16 desactivating conversion exit on table T006A. ([ref|http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa0122493111d182b70000e829fbfe/frameset.htm])
    If no quanity in result internal table
    - There is no adqntp field in the internal table, so no quantity is copied in itab ([ref|http://help.sap.com /abapdocu_70/en/ABAPINTO_CLAUSE.htm#&ABAP_ALTERNATIVE_1@1@]).
    - - Remove the CORRESPONDING, so quantity will fill the first field adqntp1.  ([ref|http://help.sap.com/abapdocu_70/en/ABENOPEN_SQL_WA.htm])
    - - Then loop at the internal table and move the quantity when necessary to the 2 other fields.
    * Fill the internal table
    SELECT msehi adqntp
      INTO TABLE internal table
      FROM lipso2
      WHERE vbeln = wrk_doc1
        AND msehi IN ('KL','K15','MT').
    * If required move the read quantity in the appropriate column.
    LOOP AT internal_table ASSIGNING <fs>.
      CASE <fs>-msehi.
        WHEN 'K15'.
          <fs>-adqnt2 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
        WHEN 'MT'.
          <fs>-adqnt3 = <fs>-adqnt1.
          CLEAR <fs>-adqnt1.
      ENDCASE.
    ENDLOOP.
    - You could also create another table with only fields msehi and adqntp and then collect ([ref|http://help.sap.com/abapdocu_70/en/ABAPCOLLECT.htm]) the data to another table.
    Regards,
    Raymond

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • Conditional formating in a pivot table field based on another field

    Hello All,
    I have a pivot table with fields like Division, Day, Current DayTotal, Previous DayTotal. I have to set the background color of CurrentDayTotal field based on PreviousDayTotal. I searched all the blogs and they say Crossconditional Formatting is not possible in 10.1.3.4 pivot table.
    Conditional formatting works fine with the same field but not with a calculated field. I have tried these two options (Java Script and setting XML in Advanced tab) on a similar solution based on Grand Total.
    Conditional formtting in Grand total
    But not able to make it work for my current situation. Can you help.
    Regards,
    -Srini

    Hi,
    I've read all the tips that are offered in this forum. I tried all the solutions provided here, but I can not get the grand total formatted conditionally, what I get is the following error nell'answer:
    DXE compiler error. No table 'GTGT' found in DXE. Source name: DxeAPI. XML: None
    Error details
    Codici di errore: YV3KVTDM
    Location: saw.hypercube.dxeApi, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    I'm use the version: OBIEE 11.1.1.6.2
    Anyone have any ideas for me?!

  • Filter Pivot table data based on custom calculated item in obiee 11g

    Hi,
    I have requirement as below. Please provide your valuable suggestions
    Please note that "Diff" is the calculated item using the formula "$2-$1"
    Pivot table View:
    Sales ID 20120207 20120220 Diff
    1 0 0 0
    2 100 0 -100
    3 100 200 100
    4 100 100 0
    5 200 300 100
    6 0 0 0
    Requirement:
    1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
    2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
    3) filter rows where diff is equal to 0
    expected Output:
    Sales ID 20120207 20120220 Diff
    3 100 200 100
    5 200 300 100
    Please provide an workaround to implement in OBIEE 11.1.1.6.0
    Thanks
    Edited by: Nagendran Rajendran on Jul 19, 2012 11:42 AM
    Edited by: Nagendran Rajendran on Jul 19, 2012 11:54 AM

    Hi,
    Many thanks for your Response.
    Actually, I have only three columns in the *"Selected Columns"* Section of Answers and they are
    Opportunity Id Effective Date Current
    Effective Date is based on Dashboard Prompts with 2 Presentation Variables say Effective Start & End Date and that has been used in answers to have a Revenue Variation report for these 2 dates ONLY.
    So, As per my Requirement,
    1) I have created a Pivot table by having Opportunity ID in Rows Section, Effective Date in Columns Section and Current in Measures Section
    2) Created a Calculated Item for Revenue Difference using the formula $2-$1
    So, Everything worked fine so far.
    and Next Requirement is to filter the rows from the Pivot results which i have mentioned in the post and they are
    Pivot table View:_
    Sales ID 20120207 20120220 Diff
    1 0 0 0
    2 100 0 -100
    3 100 200 100
    4 100 100 0
    5 200 300 100
    6 0 0 0
    Requirement:_
    1) Filter rows where measure for both Effective dates(20120207 & 20120220) is equal to 0
    2) filter rows where measure for effective date 20120220 is equal to 0 & measure for effective date 20120207 is not equal to 0
    3) filter rows where diff is equal to 0
    expected Output:*
    Sales ID 20120207 20120220 Diff
    3 100 200 100
    5 200 300 100
    Please provide an workaround to implement in OBIEE 11.1.1.6.0
    Edited by: Nagendran Rajendran on Aug 8, 2012 4:53 PM

  • Is it possible to do conditional formatting in pivot table

    I have created a duplicate layer of no of transactions which displays % of transactions.I need to highlight % above 50 in diff color.Is it possible in pivot table?

    Hi,
    Try this
    In the criteria create one more column with formula as
    100.0 * "Sales Facts"."Amount Sold" / REPORT_SUM("SH"."Sales Facts"."Amount Sold" BY ) ....this gives you the same result as percentage in Pivot table.
    Replace Amount Sold by your measure column % of transactions.
    Now set the conditional formatting in Criteria tab using this column. i.e if *100.0 * "Sales Facts"."Amount Sold" / REPORT_SUM("SH"."Sales Facts"."Amount Sold" BY ) > 50* then RED or whatever you want.
    Hope this works.
    Thanks

  • Display value and percentage of row in pivot table w/o double counting...

    Hello,
    I am wondering how/if one can show a metric value and the row percentage it represents without double counting. So far, I have attempted to duplicate the metric value layer, move the duplicated layer in the measures section of the pivot table next to the original layer (i.e. I have the value twice in the measure section), and set the format of the duplicated layer to "show data as > percent > row".
    This makes the trick in terms of the data I see in the table; however, the values displayed in the table are double counted in the chart. I guess this makes sense since I have duplicated the metric value.
    Any thoughts on how I could tackle this issue differently?
    Thanks,
    JP

    You can do all that in the Pivot Table... Go to the measure properties and Duplicate Layer...than Show as...
    Dont need to duplicate the criteria...
    Antonio
    BExpert Brazil

  • Increasing the width of Pivot table Columns

    Hi Gurus,
    Small pivot table --> ( ie having less no of columns which generally can be seen in a single page without scrolling to the right)
    If i have a small pivot table , then in the column properties through additional formatting options i can increase the width of an individual column.
    However if the pivot table is Big,I am not able to increase the width of the individual column .
    I tried setting width in the additional formatting options in the Content Properties( just above Rows and below Section there is a small grey box containing finger).
    Now the Content Properties indeed increases the width of the column, but it also increase the width of the whole Pivot Table.
    See...If i have a fixed number of columns in a PIVOT Table that do not change with prompt, then this solution work fine...
    but the problem comes when the no of columns in pivot Table reduces based on the prompt selected.
    In this case the less no of columns tries to occupy the whole width set in the content properties.
    In short, with Content Properties the width of the PIVOT Table becomes fixed, irrespective of the no of columns coming.
    Also after setting content properties, I am not able to print the report to PDF.
    So the Question is... Can we increase the width of a Big Pivot Table whose no of columns keeps on changing based on the prompt....
    Big pivot table -->
    (ie table having no of columns which exceeds a single window frame and have to scroll to right to see the rest of the columns)
    I hope i have not made things messy...
    Thanks
    Ashish

    Ashish,
    Yes, you can set a fixed size for these. I'm sure you are fixing these because of PDF issue which might be irregular in sizes. Just play arnd with Custom CSS options.

  • Pivot Tables in BI Publisher

    When including multiple Criteria in the "Rows" section of Pivot Table we get a desired format of Pivot Table in BI Analytics Answers. However, when creating a Pivot Table in a BI Publisher Template, Adding multiple measures in "Rows" results in the creation of duplicate rows.
    For example, the desired format is as follows:
    https://docs.google.com/spreadsheet/ccc?key=0AisK8m4TPhzKdDMzeDhfUjBZNTF5NWhleEEtX3piLXc&hl=en_US#gid=0
    this appears in BI Analytics Answers.
    However, when this table is made in BI Publisher Template, the format is as follows:
    https://docs.google.com/spreadsheet/ccc?key=0AisK8m4TPhzKdFlDQjBGU0NORWltNXp3STE1WTJZUVE&hl=en_US#gid=0
    Please help on how to obtain a pivot table in BI Publisher in the desired format.
    Regards

    While making Pivot Tables in RTF, make the rows "inline" rather than "outline".

  • Problem in pivot table view

    Hello gurus,
    I need a help in pivot table view. In pivot table, I have to show measure in accordance to month. For example show sales as per region by month name.
    Region               Sales                         
              Jan     Feb     Mar     Apr …………..Dec     Avg     Total
    A          10     40     92     92          32     xxx     xxx
    B          73     83     39     78          87     xxx     xxx
    So this is what I have to do. I am able to do this with one measure with created new calculated item. Now I have to create this report using two measures and the in the new measure I have to show only average and total.
    For example
    Region               Sales                              Target
              Jan     Feb     ………Dec     Avg     Total Avg Total
    A          10     40          32     xxx     xxx          xxx          xxx
    B          73     83          87     xxx     xxx          xxx          xxx
    Here sales and target are two different measures. The problem is when I add target column in measures; it will show all the month which I don’t require at all because I need all the month for sales only and for target I just need average and total. I try from head to toe but not getting any thing like this.Can i do this using other view if possible.
    Help me guys. If you need more explanation then please let me know.
    Thanks
    Regards,
    Suhel

    Anybody replies please.....
    Is this possible that we can use Calculated column in other calculation in pivot table. For example, total of one measure divided by total of another measure in pivot table.
    Regards,
    Suhail

  • Calculate a daily average in pivot table view

    I am new to biee 11g and would appreciate any assistance with the following.
    I have a pivot table view which includes a hierarchy column and a single measure, units. The pivot is filtered based on date that is prompted.
    I need to include a column in my pivot table that displays the average unit sales for the period being displayed based on working days. ie total units for the period divided by the number of working days in the period selected. The date dimension contains a flag indicating whether a date is a working day or not.

    Measure Columns can't be hidden like an attribute. How ever you can use custom style sheet for Value and Header Properties to not show the measure.
    for the "Custom CSS Style Options (HTML Only)" under measure properties of the column set "Use Custom CSS Style" value to 'display:none'.
    Let me know if this worked.
    Regards,
    Jay

  • Sorting data by clicking on pivot table header in excel

    Hi,
    Do you have an elegant idea how to sort pivot table data, based on power pivot model,
    by clicking on header (not by using the arrow on the first one).
    I'm Using Excel 2013
    Thank you in advance!
    Dina

    You could implement a solution using slicers:
    http://www.powerpivotpro.com/2011/10/user-friendly-report-sorting-with-slicers/

  • Running sum per column in pivot table

    Hello,
    I am facing a problem with a running sum in a pivot table. As you know, the running sum provided by OBIEE spans across rows and columns. My requirements force me to have a running sum per each column (I have four columns, one for each quarter of the year). My pivot is as follows:
    ------------------------------|| 1st Quarter / 2nd Quarter ...
    type of product / status || (Measure / Running Sum) / (Measure / Running Sum) ...
    I've tried using the evaluate function with a "sum over" but that doesn't seem to work either.
    Do you have any ideas that could be useful to solve this?
    Thank you in advance for your time,
    João Marques

    Do not use the "running measure" button in pivot table, but try this :
    edit the formula of your measure and type :
    RSUM(mesure by dimension)
    where dimension is the attribute dimension that you put on the ROWS of your pivot table
    Exemple : I've got the criteria REVENUE, YEAR, CUSTOMER TYPE
    I put the YEAR in the Columns of the pivot table
    I put the CUSTOMER TYPE on the rows of the pivot table
    I put the REVENUE in the measures of the pivot table
    Measure has the formula : RSUM("Facts Revenue".Revenue BY Customers."Customer Type")

  • What is differenence b/w table & pivot table?

    hai........
    what is differenence b/w table & pivot table?

    1. In Pivot table View you can view the data in cross tab fashion where as in Table View you can not....
    (CrossTab means you can create a report where you can see (for example) Sales Values with Region in rows section and Year in Columns Section)
    ------------Year----------------Year-------------Year
    ------------2001---------------2002-------------2003
    East------ 200--------------500-----------------100
    West-----300---------------600----------------5000
    South----100---------------4000--------------30002. In TableView you can use the WriteBack functionality but in Pivot Table view you can not.....
    3. In Pivot table you must have at least one measure in the measures section other wise it won't display the results, But in table view there is no such a constraint....
    HTH

  • Units of measure are different

    Hi friends,
    I am trying to reverse the material document and its giving me erros as below please suggest how to solve this
    Units of measure LB / EA are different
    Message no. M7182
    Diagnosis
    The stockkeeping unit contained in the material document to be cancelled is not the same as the stockkeeping unit contained in the material master record. However, a document can only be cancelled if the stockkeeping units are identical.
    System Response
    In this case, the system will not cancel the material document.
    Procedure
    To carry out the reversal, re-enter the given transaction using the relevant reversal movement type.
    Regards
    Vishal

    Hi,
    Sales Unit is basically Unit of measure in which the material is sold. A value in this field significes that you want to use a unit of measure differing from the base unit of measure.
    If the field does not contain an entry, the system will assume that the unit of measure is the base unit of measure.
    Whereas, Base Unit of Measure in which stocks of the material are managed. The system converts all the quantities you enter in other units of measure (alternative units of measure) to the base unit of measure.
    You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.
    Now, if you change Sales Unit (as you can't Change Base unit of Measurement*), System will prompt the canged Sales Unit as an alternative to BaseUoM at time of Sales Doc. Creation.
    IMP: You can't change UoM in Sales Doc, once subsequent processes are carried-out.
    Best Regards,
    Amit.
    *NOTE: refer link:
    http://www.sap-basis-abap.com/mm/changing-base-unit-of-measure.htm
    for better understanding.

Maybe you are looking for

  • ORA-02393 Exceeded Call Limit on CPU Usage

    I have created a Profile and attached it to a user, in this example: Create Profile percall Limit CPU_PER_CALL 10 IDLE_TIME 5; I have attached it to one user - USER1 When USER1 runs a SQL Statement - SELECT COUNT(*) FROM TABLE1 A WHERE A.EFFDT = (SEL

  • Help with EXECUTE IMMEDIATE and DROP

    Hi all, we are trying to create a procedure to do the following: * We have in the database some tables named like C$_XXXXXXXXX * We want to drop some of these tables that have a common prefix (f.e C$_1203101) DECLARE v_sql VARCHAR2(300); BEGIN SELECT

  • Yammer: How to make an External Network the default network to where to join?

    Can I make an external Network the default Network which users join when the join Yammer. By default it's the Home Network (home domain) which they join when they register in Yammer.

  • Conditional Stored Procedure

    how can i run an update procedure only if 2 fields values already exist, in which case i would run an insert procedure? i am using asp vbscript something like ..... if field1 = value1 and field2 = value2 then update...... else insert.....

  • SRM standalone scenario

    Hi all, I would appreciate ur help in the following area. If I have a stand-alone SRM scenario with an ERP system as my backend system(currently being used for FI related tasks) and I wish to transfer all locally created PO's in SRM to the ERP system