OBIEE 11g : Conditional formatting in Chart view based on different column

Hi ,
I would like to add formatting to the bars based on another column.
Ex: I just want to highlight bars(metric) when it is less than target value.
We have conditional formatting option in charts but , its working on the same column but not comparing with other columns.
Thank you..

Hi, If you have column A and column B , and for example you want the values of column A to get formatted if the the correspoding value of column B less than a specific value. You just go to Criteria -> Get to Column A -> Column Properties -> Conditional Format -> Add Condition -> Choose your Column B , and then make sure the condition is " Less than the value you want"
Now, In case you want the values of your column A to be formatted if they are less to the corresponding value of colum B, Well, I don't think it is natively integrated, but still, here is an idea :
You drag again your column B , so that in Criteria -> Selected Columns , you'll have the columns A - B - B , then, you go to the newely added B Column -> Edit Formula and modify the formula to be ColumnA Minus ColumnB.
Then go back in selected columns to your A Column -> Column Properties -> Conditional Format -> Add Condition -> Choose now the new column ( ColumnA Minus ColumnB ), and then make sure the condition is " Less than the value *0* "
You can later, go and hide the colum A Minus B from Edit View in Results.
Hope this helps.
Cheers
Salma

Similar Messages

  • 11G Conditional Formatting : bug?

    Hello,
    I need some info on the conditional formatting in 11G. Has anyone seen behaviour like this before, probably a bug?
    Just for testing purposes I've a column with the values lower, higher and between.
    Initially I've added some background colouring based on the values of the column.
    So far so good.
    But when I add a measure to my report and create a pivot table, my conditional formatting is ok within the pivot view, but no longer in my initial table where it's lost?
    Any one an idea about this kind of behaviour?
    Txs,
    A

    Hi ADB,
    Might be this is a bug,cant say as many bugs has come up in 11g.....But something strange for me.
    Can we try anything with XML tags??playing with it like 10g follow this link http://forums.oracle.com/forums/thread.jspa?messageID=4025463&#4025463
    Any solution please let us know.
    Cheers,
    KK

  • OBIEE 11g - help formatting graphs / trellis displays

    Hi, in OBIEE 11g I'm trying to display a simple trellis graph of win % for various baseball teams over a 10 year period. On the trellis - I would like to NOT show the vertical scale or horizontal scale. I.e. vertical currently showing 20%, 40%, etc. up to 100%, and horizontal showing 2001, 2002, etc.
    Is there any way to turn off the scales on the various axis? I can turn off the "labels" so that it doesn't put the word "Year" under the horizontal axis, but I haven't been able to figure out how to actually turn off the year values.
    This pretty much holds even on a "normal" non-trellis graph - I can't see how to turn off the axis values there either.
    Thanks!
    Scott

    Dear Maqsood...
    Assalam Alaikum,
    I donno this question has been answered or not. if not please refer below. ( Obiee 11g)
    Edit Graph properties - > Style Tab -> Grpah Data- Style and Conditional Formatting -> Conditional Formatting -> Add Conditional Formatting.
    You can add Conditional Formatting similar to Column Properties.
    Mark Correct if its answered.
    Regards,
    fiaz

  • Conditional format of one cell based on contents of another cell

    Preparing list of appointments for visitors with time for each. There are four possible status categories for visitors based on projected activity and whether they have shown up or not. (A Group Scheduled, A Group Showed, B Group Scheduled, B Group Showed). I've created the calendar in iCal with different calendars, then accessed that through Bento iCal Events. Bento adds the column with name of calendar from iCal. Info is now in Numbers. (iWorks 09)
    It shows Title, Start Date, Location, Calendar. I'm adding more fields using Lookup in Numbers drawing on entire data base brought over from Bento. I'm trying to get what info I need, but none that I don't, so the form isn't too crowded and busy.
    I would like to be able to conditionally format the Time column based on the contents of the Calendar column. If successful, the color of the Time column would tell me all I need to know about visitor status, and I could hide the Calendar column and clean up the form.
    I hope I've described it adequately. Can this be done, and if so, how?
    Thanks! Have a great Thanksgiving!

    jpcranch wrote:
    Does it work to format two cells based on contents of one of them?
    Conditional formatting of a cell depends on the contents of that individual cell, compared with another value, so no.
    But you could use a two-table approach.
    In general terms, the technique is to:
    • make the original table's cell fill transparent,
    • Add a second table to the sheet,
    • Set the second table to copy the control values into a column of cells,
    • Select the cells in that column of Table 2,
    • Apply conditional formatting rules for each possible control value (see below)
    • Set the text opacity for these cells to 0 (full transparency),
    • Click on Table 2 in the sidebar, then use (shift and) the arrow keys to slide Table 2 behind Table 1 to align the highlighted cells with the cells to appear highlighted in Table 1.
    • Set the colour of the cell borders on table 2 to none.
    Using the information you gave regarding the calendar column, you'll need four rules for conditional formatting of this column. All are of the same format:
    Text contains: A Group Scheduled
    With the text changed to match each possible entry.
    Regards,
    Barry
    BTW: by changing the width of the formatted column on table 2, you can appear to highlight as many columns as you wish on Table 1.

  • Conditional Formatting for Charts in Drill down - Disappears

    Hi All,
    I have a "Vertical Bar Chart" that is plotted against Time on Y-axis and Unit on the X-axis; it has drill feature selected.
    The chart also has conditional format specified and the color of the Vertical bar will change on a condition. Eg: The bar will show Red color if the Average Time taken is more than 60 minutes for an Appliance Unit. All this works fine.
    Problem
    As the chart has Drill feature enabled I can drill down on the chart say from Year - > Month -> Day. The issue is the conditional formatting disappears when you drill down the chart.
    It looks strange as the main chart shows Red color for a Unit and when you drill down I don't see the conditional format applied any more.
    Did anyone had similar problem, is there any work around here.
    Appreciate your help.
    Regards
    B

    Hi,
    Create a dummy column and in fx write this,
    Case when Table."Average Time" >60 then 0 else 1 end
    Add this also in th part of chart axis,
    Go to conditional formatting set the formatting on the dummy column when 0 set to Red color.
    Now you will have the conditional formatting even if you drill down.
    Thanks,
    Vino

  • Conditional highlighting in standard report based on a column -disappearing

    Hi All,
    I implemented some conditional formatting on a standard report based on the thread below
    Highlighting a ROw in a tablular form based on a column in the row
    Everything works well, except when you pass the cursor over the report the highlighting disappears. It reappears if you refresh the page or scroll to the next page in the report.
    In my style tag in the template I'm just using
    style="background:red"
    Is it something to do with the template? I'm using builder 2 theme.
    Any ideas?
    Andrew

    Hi Andrew,
    this is coming from the report template - Before Each Row: <tr #HIGHLIGHT_ROW#>
    Just remove the #HIGHLIGHT_ROW# if you do not need it.
    Regards Garry

  • How to create a view based on Lookup Column?

    Hi All,
    I am working as a SharePoint developer 2013.
    When i tried to create a view based on look up column it is not showing lookup column.
    How to fix this problem?
    Please help me out here.
    Thanks & Regards,
    Santhoshi

    can you elaborate the issue? Do you mean you cannot view the column name in the filter section when creating a new view for the list or the column is not getting displayed in the view created?
    --Cheers

  • Conditional formatting: greatest and lowest values in a column?

    I have a column of data, with about 30 rows of values. Is it possible to setup conditional formatting so that Numbers highlights the top three highest values and the lowest three values in the column?
    thanks!

    How's this:
    1. Create the second table for the large and small formulas. I did one column, you should be able to copy it to the rest of them.
    2. Create the conditional format for the first data cell in the first row of your data table (go to the cell inspector and choose "show rules" to get to the conditional formatting pane).
    3. Select the cell, Copy Style, select all the other data cells in the row and Paste Style to copy that conditional format to the other columns. At this point, the conditional format in the other columns will be incorrect (they will all refer to the large/small values for the first column), you'll have to modify each manually so they refer to the correct cells in the "large/small" table.
    4. Copy Style and Paste Style each of those conditional formats to the rest of the cells in each column.
    One caveat: You may get more than three smallest/largest values highlighted under certain conditions. For instance if you have four 1's and "1" is your smallest value, all four would get highlighted. If you have two 1's and two 2's, and they are your smallest values all four would get highlighted. If you have 1,2,3,3 and they are your smallest values you would also get four highlighted. Similar case for the largest values. It doesn't appearthat this would be a problem for your data.

  • Conditional Display of Interactive Report Based On Different SQL Query

    Hello,
    I have two drop down list on top of my page and below that I have a interactive report.
    Based on user selection of values from drop down, interactive report should change based on different SQL queries.
    Is it possible to have different SQL queries based on values from drop down and generate interactive report based on that?
    Thanks

    I am passing my drop down value to apex_collection like the following:
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY( p_collection_name => 'IR_LIST',
    p_query => REQUEST_VIEW(:P12_VIEW));However when I change the values from the drop down, :P12_VIEW is not getting the value from drop down even though I could see value being changed in URL. I have created page process for apex_collection
    Process Point - OnLoad - Before Header
    Run Process - Once Per Session or When ResetCould someone suggest as why I cannot get the values in function when drop down is changed?
    Regards

  • Conditional formatting of a cell based on a value in another cell

    I want to change the color of the text in a cell based on the value in a different cell. How can I accomplish this?

    drmjdoyle,
    There Numbers User Guide, http://support.apple.com/en_US/manuals/#iwork, will show you how to do that. Also, doing a search in these forums will provide many hits answering your question.
    Click in the cell you want the color to change: click Format > Create custom cell format, in the first dropdown in that dialog box click Choose Rule, then follow the prompts.
    Cordially,
    RicD

  • Conditional formating in pivot view using combine similar request

    Hello,
    I have a report using combine similar request. It's a union report with around 6 reports.
    Now for first 2 report results the user wants red and 2 report results green and last two yellow.
    Is there a way we can do this?
    also the report is in pivot view.
    thanks,
    deep

    Instead of combining those 4 different criteria I would suggest to go by metric level filters or and then do the final calculation or else 'Filter based on results of another request'.
    Pls mark if helps

  • Conditional Formatting for Report Rows based on page item

    Hi,
    I have a report and a page item on a page. I would like to somehow highlight any report rows where a particular column in the report (e.g. "Customer_ID") matches the page item (e.g. P2_CUSTOMER_ID).
    Any idea how to do this?
    Thanks,
    Forrest

    You can also achieve this by jquery ( Please note - I just started learning jquery , so my way of doing it may not be a good way of doing it)
    1. Download jquery from [http://www.jquery.com]
    2. In Page Header enter
      <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery.js"></script>
       <script type="text/javascript">
       $(document).ready(function(){
          //t20data is the class for table cells in theme 20 .. change it as per you theme - right click view source and find it
             x = $('.t20data').length;
         //i=7 is the column index of customer id
        // i = i + 10 , 10 is the number of column
           for( i = 7 ; i < x ; i=i + 10)
                if($('.t20data').eq( i ).html() == $x('P2_CUSTOMER_ID').value)
                    // i-7 is the first cell of row and i+2 is the last cell of row 
                    for( c = i - 7 ; c <= i + 2 ; c++)
                         $('.t20data').eq( c ).css("background","red");  
    </script>[ E X A M P L E | http://apex.oracle.com/pls/otn/f?p=62171:1]
    Regards,
    Shijesh

  • How to fetch the Alias column values based on different column values?

    Hello Gurus,
    I have a table with the following struture -
    "drop table T;
    create table T(Name, Symbol, Amount,dep) as select
    'Anderia', 'AA', 1050000,'HR' from dual union all select
    'Michael', 'ML',150000,'Sales' from DUAL union all select
    'Bill', 'BL', 1050000,'Finance' from dual union all select
    'Nancy', 'NY', 4000,'HR' from DUAL union all select
    'Anderia', 'AA',3000,'HR' from dual union all select
    'Michael', 'ML',1050000,'Sales' from DUAL union all select
    'Bill', 'BL', 1200000,'Finance' from DUAL union all select
    'Anderia', 'AA', 1200000,'HR' from DUAL union all select
    'Vish', 'VH', 1200000,'Marketing' from DUAL;"Ans try to find out the values of the column like
    Name,symbol,dep,Amount,%Total,$Cumm Total, Rank but some additional columns like -
    HR Amount, %HRTotal,$HR Cumm Total,
    Finance Amount, %FinanceTotal,$Finance Cumm Total
    Sales Amount, %SalesTotal,$Sales Cumm Total,
    Marketing Amount, %MarketingTotal,$Marketing Cumm Total
    then i am using the following query to fetch the Name,symbol,dep,Amount,%Total,$Cumm Total, Rank columns -
    select name
         , decode(grouping(symbol), 0, symbol, 'Total') symbol
         , dep
         , sum(amount) amount
         , sum(per_total) "% Total"
         , decode(grouping(symbol), 0, max(Cum_per_total), null) "% Cumm Total"
         , decode(grouping(symbol), 0, max(rank), null) rank
      from (
              select name
                   , symbol
                , dep
                   , amount
                   , per_total
                   , sum(per_total) over(order by rk) cum_per_total
                   , rank
                   , rk
                from (    
                        select name
                             , symbol
                    , dep
                             , sum(amount) amount
                             , round((sum(amount)/max(total_amount)) * 100,2) per_total
                             , dense_rank () over (order by sum(amount) desc) as rank
                             , row_number() over(order by sum(amount) desc) as rk
                          from (
                                 select name
                                      , symbol
                                      , amount
                          , dep
                                      , sum(amount) over() total_amount
                                      , sum(amount) over ()
                                   from t
                         group
                            by name, symbol, dep
      group        
         by grouping sets((name, symbol, dep), ())
      order by rank, max(rk) nulls lastBut i want to fetch the following columns as well.......how can i do it?-
    HR Amount, %HRTotal,$HR Cumm Total,
    Finance Amount, %FinanceTotal,$Finance Cumm Total
    Sales Amount, %SalesTotal,$Sales Cumm Total,
    Marketing Amount, %MarketingTotal,$Marketing Cumm Total
    as i want all of the records, then going to specific to the dep.....do i need to use the case here?
    Thanks for all of your time and effort in advance

    Hello Frank Kulash/Łukasz Mastaler,
    Thanks for your time and effort.
    I am using the Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    I am looking forward to have some additional columns (column alias) along with the the returned by the mentioned query - which are named as -
    1- HR Amount
    2- %HRTotal
    3- %HR Cumm Total
    4- Finance Amount
    5- %FinanceTotal
    6- %Finance Cumm Total
    7- Sales Amount
    8- %SalesTotal
    9- %Sales Cumm Total
    10 -Marketing Amount
    11- %MarketingTotal
    12- %Marketing Cumm Total
    based on the logic like -
    HR Amount = sum of amount case dep ='HR'
    %HR Total = % of amount case dep ='HR'
    %HR Cumm Total (cumulative % based on the cumulative total of %HR Total) = Cumm % of amount case dep ='HR'
    similarly rest of the column........
    Now how do i use case with a logic so that it returns me the columns as i want them ...using the above mentioned query .......
    Kindly help me .....thanks in advance for all of your time

  • Trying to join two views that have different column types

    I want to join view1 and view2 on region and city int columns. Need to break apart View1 varchar field into two Int fields and replace any non-numeric values with zeros.
    View1 has a single Region_City field that is VARCHAR. the last record is erroneous. the individual values for Region and City should always be Int. 
    0001-8374
    0222-0034
    3333-0001
    XXA-EEE
    View2 has Region and City as two seperate Int columns (i will seperate with comma just for display)
    Region,City
    1,8374
    222,34
    3333,1
    I want to create two new individual columns in view1 that will have Region and City each as a Int. And for any Region_city that is invalid numeric just use zeros in Region and City.
    I currently have this (in house ParseDelimited sproc), but am having trouble with the invalid numeric values (XXAA-EEE)
    REPLACE(LTRIM(REPLACE(dbo.ParseDelimited (Region_City, '-', 1), '0', ' ')), ' ', '0') as Region,
    REPLACE(LTRIM(REPLACE(dbo.ParseDelimited (Region_City, '-', 2), '0', ' ')), ' ', '0') as City,

    This is a way to do it, by no means the only way, but a way.  (The other way to achieve this would work fine, but would require functions inside functions inside other functions, including repeating at the very least "Patindex('-', RegionCity)"
    a few times.  In this situation, the APPLY statement comes in handy by making it a little easier to read.
    Declare @ExampleTable Table (RegionCity Varchar(99))
    Insert @ExampleTable /* This is just to recreate a test table */
      Select '0001-8374'
      UNION ALL Select '0222-0034'
      UNION ALL Select '3333-0001'
      UNION ALL Select 'XXA-EEE'
      UNION ALL Select 'a really bad error, no numbers or dash at all'
      UNION ALL Select '1-2'
      UNION ALL Select '12345678-98765432'Select RegionCity
        , Cast(  Coalesce( Case When IsNumeric(RegionCode) = 1 then RegionCode else '0000' End, '0000') as Int)  as RegionCode
        , Cast( Coalesce( Case When IsNumeric(CityCode) = 1 then CityCode Else '0000' End, '0000') as Int) as CityCode
      From @ExampleTable
     Outer Apply (Select CharIndex('-', RegionCity) as DashPos) CaDash
     Outer Apply (Select Substring(RegionCity, 1, DashPos - 1) as RegionCode
                        , SubString(RegionCity, DashPos + 1, 99) as CityCode where DashPos > 0) as CA2
    You didn't mention how bad the source data might be, how unpredictable it might be, whether it's always coded exactly as listed.  This way is reasonably flexible.
    EDIT: I used "IsNumeric" in this example.  It's quite an imperfect function, often best avoided, but I used here just because it's probably OK in this example.  
    This is probably better:  "Case When PatIndex('%[^0123456789]%', CityCode) = 0 Then CityCode else 0 End"

  • Formating the Row Based on one column value

    Hi Friends
    I am trying to format the Entire row based on the value of the first column in my Answers.
    Example if first column value in 'F' now i want the Entire row to be colored
    I can do conditional formating on one column but i want to do it on the entire row
    F     8.1 %     12.0 %
    E     5.2 %     3.5 %
    M     2.3 %     3.3 %
    If any one has done this or any suggestions please respond
    Thanks
    Sang

    Its a Pivot View
    F 8.1 % 12.0 %
    E 5.2 % 3.5 %
    M 2.3 % 3.3 %
    the column 1 --> F,E,M are the Product
    the column 2 --> 8.1% , 5.2% , 2.3% are the sales in year 2008
    the column 3 --> 12.0 % , 3.5 %, 3.3 % are the sales in year 2009
    So will i be able to apply the formating in pivot view based on one column to other column If yes please let me know how or
    suggest if this can be done using the BI Office , or BI publisher
    sing the BI Office i can do the formating in Excel but once i refresh the data all the formating is gone ... :(
    I am donno BI Publisher if we have to use BIP please suggest any solution its very very very urgent and important report formating they need here ....
    Thanks in advance David
    sango

Maybe you are looking for

  • Saving one page from a multipage document

    I posted this first in the Reader forum not realizing I should have here. In Acrobat CS3, can I save one page from a multipage pdf document? I know I could tediously delete all the pages except the one I want in thumbnail view but is there a simpler

  • Iphoto 6.0.6 hangs

    Any time I try to order prints, books or cal.. iphoto 6 hangs. I tried clearing the net services from the key chain and made sure all s/w is the current version. I'm running 10.4.11 and iphoto 6.0.6. Any ideas would be great! Thanks.

  • Uneven Distribution of Objects Around a Circle

    Hi, I'm trying to figure out a way to distribute objects in a circle but make them uneven. Well, "uneven" in that the objects begin to space out more as they approach the top of the circle like the sample shown. I know how to distribute object evenly

  • The new update makes it impossible for me to connect to any website

    The update to Firefox 35 was made automatically when I opened the browser and now not a single website can appear. The browser says it can't connect to the website and that the "waiting delay is over". Usually I get this page when my Internet is off,

  • Working with ripped MPEG in FCP

    Bad form I know but what is the best way to get DVD video m2v into a format I can use in FCP projects DV PAL? I've been playing with MAC MPEG2Encoder but am struggling with quality and settings. Also I tried compressor and got initially excited but l