Chart conditional formatting

Hi All,
In a report for one of our our customers I've created a line chart. When this line passes a certain value I would like to change it's color from there on and further.
Let say my threshold is 40 then I would like to have another color for 2010 and 2011, than the default color for 2008, 2009 and 2012 (when my data looks like below).
Year Value
2008 20
2009 30
2010 40
2011 50
2012 25
Could some give me a push in the right direction about how to solve this?
Thanks in advance.
Kind regards,
Machiel

The chart xml has exceptional risers element that can be added under the graph.
I researched the issue quite some time ago with Tim. Tim wrote a block on it.
https://blogs.oracle.com/xmlpublisher/entry/conditional_charting
and then he wrote a 2nd article on enhancements:
https://blogs.oracle.com/xmlpublisher/entry/conditional_charting_ii
Klaus
Edited by: KlausFabian on Jan 9, 2013 5:45 PM

Similar Messages

  • Conditional formatting in the chart  does not work after 10g to 11g upgrade

    W e have upgraded from 10g to 11.1.1.6.8 recently. For all the reports conditional formatting for charts is not working for us which used to work in 10g.
    While researching , i have found that advanced xml needs to be modified. So i changed xml where there is 'untypedLiteral' to 'decimal' and saved the report. Inspite of saving , xml wouldnt change . It still shows as untypedLiteral.
    I also tried to delete the conditional format and recreate again. But still it wouldn't work.
    Please advise.

    W e have upgraded from 10g to 11.1.1.6.8 recently. For all the reports conditional formatting for charts is not working for us which used to work in 10g.
    While researching , i have found that advanced xml needs to be modified. So i changed xml where there is 'untypedLiteral' to 'decimal' and saved the report. Inspite of saving , xml wouldnt change . It still shows as untypedLiteral.
    I also tried to delete the conditional format and recreate again. But still it wouldn't work.
    Please advise.

  • 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

  • Conditional formatting doesn't work with scatter chart

    Hi,
    I am working on OBIEE 11g(11.1.1.7.0) and trying to create scatter chart with conditional formatting. But this is giving issue and conditions are not getting applied.
    suppose I have take columns "product numer","product","office","product type","Revenue" & "Actual unit price"
    I created the scatter chart using above columns and applied below conditions.
    if revenue is equal to/ is in 1080 then color is yellow
    if revenue is less than 1080 then color is blue
    if revenue is greater than 1080 then color is red.
    After applying all the condition, 1st condition is not getting applied. All the charts are showing blue and red color only.
    Anyone have any idea about this issue?
    Thanks
    Krishna

    looks like it is bug in 11.1.1.6.2 which is not fixed in 11.1.1.7.0
    Bug 14286482
    I tried it locally with 11.1.1.7.0 on dimension column the condition filter is applying but not on measures !
    thanks,
    Saichand

  • Help for conditional formatting of a chart query!!!!!

    Dear Gurus,
    can Anyone give me a step by step for conditional formatting on the chart?
    I want my charts in my queries to be for example:
    green color when actual data <= version,
    Yellow if actual > version & 101%, red if actual >=101%.
    Thank You very much for sharing your Knowledge.

    Hi Des,
    You can achieve this through exceptional reporting. Choose your query & execute the report. click on the 'Exceptions & Conditions' button. create the exception you wish to have by choosing version & your key figure, in your case. when you click 'Transfer' it automatically gets activated & you can be able to view the colors set by you.
    Revert back for any modifications.
    Manoj

  • 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

  • Need your help regarding Conditional Chart Data formatting

    I have just started using BI, so I am sorry if what I am asking is a FAQ or a very simple question.
    I have a Line Bar Combo chart whose bars I have colored differently according to some conditions. When I drill down from a year/month series to the day of a particular month, though, the conditional formatting is lost.
    http://img141.imageshack.us/img141/5677/biimage.jpg
    Can anyone suggest me if I am missing something in the program options or if there is any workaround to this behavior?
    Thanks a lot in advance.

    Letz say you have colored the year black when it is 2008 and you display it in the graph and while you drill down from year to quarter in the back ground an adiitional column will be added (Quarter) and the conditional formatting will be still there for the year but will be very small(like a dot) as your quarter is exposed on the X axis.
    The deeper you drill the wider your x-axis will be and the smaller your formatting looks.
    You cant controll the drill. It will mimic what is present in the compound layout set up at the parent level.If you need to avoid multiple columns appearing on your X-axis and do some changes to your graphs then you need to navigate
    instead of drill. if the report is 3 levels deep then it has to be 3 diff reports(maintenance will be high)
    It will be seemless to the users whether you navigate or drill. Just a suggestion. There are some things which we need to compromise :)
    Thanks
    Prash

  • Conditional format in cross tab

    Post Author: RobotSlave
    CA Forum: Charts and Graphs
    Hello All
    Crystal 2008 12.0.0.549
    I have a crosstab report in that repeats in each GF1 that displays values for several variables over an eleven month span, for instance a shortened data set might look like this:
                           FEB     MAR      APR       MAY ....
    Claims             1233     876         666         888  ....
    sold                 987       987         7 7         8 888  ...
    etc...
    I want to display conditional formatting such that if a value in the claims row is over 800, make the font RED for that column only. When I use a conditional formatting formula in the format editor font dialog, it makes the whole row red, when the values clearly do not all meet the required "800". I have experimented with making certain my value is a number and not a string, and I'm stymied. Does anyone have any input?

    Post Author: rsvn
    CA Forum: Charts and Graphs
    use formula field. Write your condition in that formula field and in select the display string option of the column in the report.Make the display string output as the output of formula field.for eg. @formula -
      Formula Field if e>800 then   conditionelse    condition; Number -
    column in field. Display string option (at the bottom of the field format object --general tab) map the output of the formula field

  • Need help on Conditional Formating

    Hi All,
    I have hierearchy as Region to Series and Series to Model. I have created report with following fields Actual Sales, Objective Sales, % of Objective by Region. My requirement is i need to draw a line 100% Objective in chart and need to show the %of Objective values in Green when >=100% and in Red when < 100%.
    Am able to see the above conditional formating at the Region level properly. When am drilling from one particular region to Series level conditional formating is not applying.
    Any suggestions to achieve above formating will be appreciated.
    Regards,
    Rajkumar.

    Hi Rajkumar,
    nice one. :)
    First part of the solution: you need to make it yourself a little bit easier by adding an extra column and hide this column.
    Add a column with the follow formula:
    CASE WHEN % of Objective >= 100 THEN 'Green' ELSE 'Red' END
    Second part of the solution: add a pivot table view to your report.
    Put the extra column on the Rows Section. Hide it.
    Then add the pivot table chart to the pivot table view. If wanted you can remove the pivot table.
    Then add the conditional formatting to your chart. I would use line bar combo for this.
    Regards,
    Stijn

  • Conditionally Formatting One Column Based On The Value of Another Column

    I have the following requirement:
    I have 2 columns in a report showing Actual Sales & Budget Sales each year. I am using a bar chart to show the different values for these 2 columns.
    I need to conditionally format the column "Actual Sales" so that if it is less than the "Budget Sales" it will appear in red, and green if "Actual Sales" is greater than "Budget Sales." So in a nutshell,
    CASE WHEN "Actual Sales" < "Budget Sales" THEN
    RED
    ELSE
    GREEN
    END
    Thoughts anyone?

    CASE WHEN (COL1 - COL2) < 0 then Red else Green end
    regards
    John
    http://obiee101.blogspot.com

  • Oracle BI Answers Conditional Formatting

    Hi,
    Im using Oracle BI Answers and I am trying to set the colour conditioning function on the following graph:
    On the X axis I have company branches, on the Y axis I have sales figures. The two values that I have projected on the graph are sales figures for the current month (first bar - bar A) against sales figures of the same month last year (second bar - Bar B). My requirement is to condition the colours on Bar A so that for each branch if Bar A is equal to Bar B, the colour for Bar A should be amber, if Bar A is greater then Bar B for each branch the colour should be red and if the Bar A is less than Bar B, the colour should be green. The colour on Bar B is always grey. I tried using the "Format Chart Data" setting on the Chart, and when I try setting the condition for Bar A, the only options I am given are the numbers on the Y axis; I cant seem to set a condition for Bar A against another variable - Bar B for each of the divisions on the same chart.
    Any ideas how I can resolve that? Thank you in advance.

    Thank you very much for your suggestion. I am having difficulties with the fact that the helper column has different values for each branch/division, and the column A cannot be conditioned against the helper column as it is not a constant value, but several different values. Also, if I hide the helper column, its values would not be shown in the conditional formatting option.
    Do you have any ideas?
    Thank you in advance.

  • Displaying bar chart conditionally in OBIEE answers

    Hello All,
    I've a simple bar chart having one measure in x-axis and two measures in y-axis.
    I want to add a conditional formatting for the two measures scaled in y-axis.
    If first measure is greater than second measure, then i want the first measure to be displayed in red color.
    Please help.
    Thanks in advance!
    Dinesh

    Hi Dinesh,
    Create a dummy column -> fx write a case statement case when first measure > second measure then 1 elso 0 end
    and chart -> Format chart data -> conditional tab -> Add Condition -> select your column on condition (dummy column equal to 1 then red color....)
    hope hepls u....
    Don't forget to assign points and close the thread if your question is answered.........
    Cheers,
    Aravind

  • Question on conditional formatting

    HI
    I have a chart which is aggregated at year level and could be drilled down to day level, I have to specify a condition that the bars have to change color when the day level value > X. If i use conditional formatting at day level, and say change color when value >x, the year level also chart changes color as its the sum of various day values.
    My requirement is in same chart i want to change the color if the value is > X at year level and when they drill down, has to change at certain value in quater level, at certain value of month... certain value at week level... and certain vale at day level.
    Is this possible... pls advise! its urgent!

    regarding your conditional item display and our built-in dml process, it does appear that things behave the way you're saying they do. i don't think that's expected functionality (and so i'll log it if needs be), but here are some workarounds for now:
    1) consider moving your display condition to the Read Only section of your item definition screen (using the opposite of your original condition, of course). that way the lost_update value will still show on your form, but only EMILY will be able to update it.
    2) consider using two forms (or two conditionally displayed form regions on the same page): one that shows the field and one that doesn't.
    3) manually coding the page (using your own dml processes instead of ours)
    regarding your first issue: if you just want to do things behind-the-scenes, you could simply put an after_submit computation on your page that stripped out the non-numeric characters from your field so users wouldn't have to worry so much about that formatting. i'm pretty sure you could best handle your request, though, by putting a format mask into the "Format Mask" field that's on the item definition
    screen for your numeric item. if you click the flashlight icon next to that field, you'll see what i mean. if you wanted to get extra user-friendly, you'd could consider throwing in validations to check for the particular formatting in which you're interested. the trade offs are pretty obvious, so the choices are really yours.
    hope this helps,
    raj

  • Conditional Formatting in RTF templates

    HI
    I am just going around with designing of rtf templates. I have a question regarding the conditional formatting feature. The question is
    IF i am having different type of customers(corporate,individual,etc..) passed as parameters, Can an particular cell be formatted with different colors for different customers. for example, if the parameter is corporate customer the the color of particular cell should be RED in color, and if parameter is Individual the color of cell Must be GREEN in color.
    Please help me out with this.
    Thanks in advance

    Yes you can conditionally format the individual cells.
    Take a look at the guide (link provided) and search for "Cell Highlighting":
    http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm
    Example code: <?if:debit>1000?><xsl:attribute xdofo:ctx="block" name="background-color">red</xsl:attribute><?end if?> <?debit?>
    Thanks,
    Bipuser

  • Check for null values in conditional formatting when no rows returned.

    I have a report that is showing facts for different months.
    For some months there is no row in the facts table.
    But in the report, I have to show a * when there is no data.
    If there is a row in the facts table with null value for data, the conditional formatting successfully shows a * when data is null.
    But when no row is present in the facts for a particular month , conditional formatting is unable to detect any null, as none exist.
    How we can check that no rews returned for a particular month and then show *?
    thanks

    Hi,
    which obiee version r u using?
    My Blog ref:
    http://obieeelegant.blogspot.com/2011/06/replacing-null-as-0-in-obiee.html
    in obiee10g its working fine.expect obiee11g
    also see the bug reference
    How to replace null as 0 in  obiee11g pivot table view?
    obiee11.1.1.6.0 also have the same issues.
    Thanks
    Deva

Maybe you are looking for

  • Error while loading data from DSO to Infocube for 0Fiscvarnt

    Hi All, Could you please help me  any one to resolve the below error. *"Fixed value discrepancy with InfoObject 0FISCVARNT value 'K4 ', expected 'K2 "  (MessageClass RSAU). We have two  Staging DSO's upto Second level DSO FiscalyearVariant  both K2 a

  • Wrong data type when writing XML file

    We are trying to write an XML file from ODI but we get the following error: ODI-1217: Fallo de la sesión CMT_PAQ_CREA_XML (15001) con código de retorno 8000. ODI-1226: Fallo en el paso WRITE_XML_SCHEMA después de 1 intento(s). ODI-1232: Fallo en la e

  • Downsizing: in camera, ACR, or Photoshop

    I'll start by quoting Jeff Schewe on a upsizing thread: "In any event, I _DO_ agree that the whole sizing function in ACR needs a rev. I also agree thst upsampling in ACR is better than after the fact in PS because the sharpening and noise reduction

  • Is there a flaw with two step verification?

    hello all, apologies if if this is posted in the wrong community. I couldn't see a community associated with security. So, am I going mad? i have setup 2 step verification/authentication with my apple id.  I have nominated 2 mobile phones and my iPad

  • Exporting trimmed clips

    Hi, how do I export a trimmed clip from a Premiere Elements project to another project or just to a folder on the hard drive? I have about 10 hours of raw footage (from a number of contributors) for a community video. I've captured it all on my 1.5 t