Conditional format in graphs

I'm using BI EE 10.3.1.2 and tested the new feature of conditionally formating a graph.
Works fine. However, if I drill down in that graph , conditional format get lost, all other formats remain.
Is this a bug or a feature?
/Mike

Mike, Did you test it with a table. Is the conditional format condition still valid at the level you drill down to ?

Similar Messages

  • Conditional formatting a graph vertical axis in SSRS 2012 charts

    Hi,
    I have a situation where i want to color the label on vertical axis of graph depending on certain condition. Say when values are positive the color would be Black and when negative color would be Red.
    I tried following condition but its not working.  
    =iif(Fields!MyField.Value < 0 , "Red", "Black")
    I know there are few threads already mentioning that this feature is not supported in SSRS 2008 but just wanted to know if its adddressed in SSRS 2012 or later?
    Thanks and Regards,
    Oliver D'mello

    Hi Oliver,
    According to your description, you want to use an expression to specify different color for Axis Labels based on values in a chart.
    As we tested in our environment, when we apply condition in expression to give dynamic color for Axis Labels, the color setting applies to all labels based on the condition. This issue happens in both SQL Server 2012 and 2014. Please refer to the screenshots
    below:
    In this scenario, I would recommend you submit this issue to the Microsoft Connect at this link
    https://connect.microsoft.com/SQLServer/Feedback. This connect site will serve as a connecting point between you and Microsoft, and ultimately the large community for you and Microsoft
    to interact with. Your feedback enables Microsoft to offer the best software and deliver superior services, meanwhile you can learn more about and contribute to the exciting projects on Microsoft Connect.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • Conditionally formatting a graph in ADF

    Hi,
    We've developped an ADF application in which tasks are assigned to users. Each task has a due date and depending on the proximity of this due date the color of the task changes from green over orange to red. Now, what we are trying to do is showing the number of tasks in a chart (preferrably a pie chart) grouped by color. And of course, the colors of the slices/bars need to match the color of the task (so the number of green tasks will be a green slice, ...).
    We've tried to add the following seriesSet to the graph
    <dvt:seriesSet>
    <dvt:series color="#63a500" index="1"/> <!-- green -->
    <dvt:series color="#ff8400" index="2"/> <!-- orange -->
    <dvt:series color="#e70000" index="3"/> <!-- red -->
    </dvt:seriesSet>
    and this works fine untill not all colors are present. For example, if there would be no orange tasks, the red tasks become the second series and will be shown in orange.
    A possible solution would be to use the styleRuleBundle attribute of the <dvt:graph> tag but it seems like we can only add rules that compare to the values (= number of tasks) and not to the group/slice name (= color of the task).
    // Set color to YELLOW if value < 5
    rule = new DiscriminatorRule();
    rule.setDiscriminator(new NumberValueDiscriminator(5.0, ValueDiscriminator.LT));
    gs = new GraphStyle();
    gs.setFillColor(Color.yellow);
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Any ideas of how we can add rules that compare the group/slice name with a specified string ? We have tried the following but it doesn't seem to work:
    // Set color to GREEN if value is 'G'
    rule = new DiscriminatorRule();
    rule.setDiscriminator(new StringValueDiscriminator("G", StringValueDiscriminator.EQ));
    gs = new GraphStyle();
    gs.setFillColor(Color.GREEN);
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Thanks in advance for any help!

    ok, we've managed to determine the color of the bars in a bar chart using a QDRDiscriminator like this:
    rule = new DiscriminatorRule();
    colorQDR = new QDR("DataLayer");
    colorQDR.addDimMemberPair("Processcolor", new QDRMember(QDRMember.FIXED, "G"));
    rule.setDiscriminator(new QDRDiscriminator(colorQDR, QDRDiscriminator.SUPERSET));
    gs = new GraphStyle();
    gs.setFillColor(new Color(99, 165, 0));
    rule.setFixedMergeable(gs);
    bundle.addRule(rule);
    Too bad you loose all fancy gradients when using this technique. Doesn't work on a pie chart either :-( , although it does work on the legend of the pie chart :-S
    Other ideas or improvements are still welcome.

  • Graph Quadrant Colour/Conditional Formatting

    Hi Experts,
    I have scatter graphs representing the % growth YoY (Y axis) and MoM (X axis.)
    Due to the variable percentages, the axis are not fixed and the scales on various graphs are different.
    There is a requirement to colour the quadrants of the graphs with the top right being green, top left amber, bottom right orange and bottom left red.
    Alternatively, the points can be coloured/changed based on which quadrant they are in.
    Can anybody help?
    Kind Regards,

    Thanks for the help but this does not give the desired effect.
    The entire quadrants need to be coloured or the points within that quadrant coloured.
    This is because the points on the graph vary to an extent that one graph may show ve X, ve Y, another, -ve X, -ve Y.
    Should there be a way to conditionally format the points such as they are a particular shape/colour depending on whcih quadrant they are in, is there a way to label the points on the graph with the same labels in the legend, thus ensuring that there can be no confusion over what each point represents?
    Any ideas/help would be greatly appreciated.
    Kind Regards,

  • Error while processing conditional formatting formula in crosstab

    This conditional formatting formula must return one of the following Color Constants: ' A number, currency amount, boolean, date, time, date-time, or string is expected here. Details: errorKind
    The above error is displayed on the the Business Objects Report Server when running my report.
    The XI server version information is as follows:
    BusinessObjects Enterprise XI Release 2
    Business Objects
    11.5.0.3135
    20060628
    Crystal Reports XI Release 2
    Business Objects
    11.5.0.31327
    20060628
    My IDE is Crystal Reports 2008.
    The error is being generated for the following conditional formatting formula which is in my crosstab:
    evaluateafter ({@concatAppTypeAppMethod});
    if CurrentRowIndex = 1 then
        color(0,153,153)   
    else if CurrentRowIndex = 2 then
        color(168,146,101)
    else if CurrentRowIndex = 3  then
        color(0,51,153)
    else if CurrentRowIndex = 4  then
        color(204,51,51)
    else
        color(153,153,153)
    This formula is applied via the Crosstab "Format Field>Font" tab.  In the report developer (Crystal 2008) the report runs without error.  When deployed to the server it fails with the above error.
    Heres the details of {@concatAppTypeAppMethod}:
    whileprintingrecords;
    "Designs filed " + {Command.APPLICATION_METHOD}
    The crosstab is structured as:
    Row = {@concatAppTypeAppMethod}
    Column = {@getMonth}
    Summary = Count of {@concatAppTypeAppMethod}
    Details for  {@getMonth}:
    right(totext(year({Command.ACN_COMPLETED_DATE}),"#"),2) + totext(month({Command.ACN_COMPLETED_DATE}),"0#")
    The above functions Row i.e. {@concatAppTypeAppMethod} and {@getMonth} use fields from the SQL command. 
    {@getMonth} parses the ACN_COMPLETED_DATE field, obtains the record month and year and concatenates these as a string which can be displayed as follows in the crosstab:
    May-08, Jun-08 etc.
    {@concatAppTypeAppMethod} parses the APPLICATION_METHOD field and obtains the application filing method i.e. Online or Internally and concatenates the pretext "Designs filed " to the filing method (also a string).
    I have tried various combinations of whilereadingrecords, whileprintingrecords and evaluateafter() with no success.  The problem occurs because the conditional formatting formula is being executed before the records being formatted are ready. 
    I believe this is a problem with the crystal reports software and/or XI server. 
    Please prove me wrong.

    Hi Raghavendra,
    Thanks for your prompt answer!  Can you confirm?  Is it because I'm using calculated members in the report and these are not support by the XI server specified in my error report above?
    If so, do you have any suggestions with regard to how I might be able to create a graph with the following attributes:
    Show summary (count) of records per month per application method (i.e. online or internal. this is a database field retruned by the SQL command).  In addition I need to add a series to the graph that shows the totals number of records per month irrespective of the relative application method (i.e. sum of online and internal) and finally I need to show the total number of online applications (i.e. application method = online) as a percentage of the total number of applications for the month.

  • 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

  • OBIEE 11g: Gauge (Bulb) Conditional Formatting

    Hi everyone,
    Is there a way to conditionally format a bulb gauge based on a dimension value = presentation variable?
    I conditionally formatted the column in question and then put it as the "row" of the gauge but the gauge didn't inherit the formatting.
    Does anyone know how I could do this?
    To be honest, what I'm really trying to do have a set of stop light metrics (green/yellow/red) across the top of the report. Each one gives you quick insight into how they are performing, and then you can click on them to refresh all the metrics on the existing dashboard to that particular metric.
    For example:
    Metric 1 Metric 2 Metric 3 Metric 4
    Green Yellow Red Green
    (other graphs and details about metric 1 as default, but when users click on the other metrics, all reports refresh to show details about the other metrics).
    I'm envisioning something more like a glorified column selector. The goal is that you can see everything at a high level and then view specifics if you think the situation warrants that. The bulb gauges are pretty to look at and give the right feel but I'm not getting the right functionality out of them.
    Does anyone know how to accomplish this?
    Thanks!
    -=Joe

    Not clear!!
    Value A/B*100  5%
    is for any new column or as Summary?

  • 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.

  • 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

  • How do i use conditional formatting to edit the color of other selected other cells?

    I have been playing around with the conditional formatting feature of Numbers, I have figured out how to change font and background color of the cell i am working with.
    However what i am looking to do is apply a background color formatting to another cell (i.e. F2) if conditions are met in (B2).
    the end game is this,
    I want to make a column of check boxes, and using contional formating i want adject cells to change color (I.e. the example above: if (B2) is a check box, then when unchecked the reffered Cell (F2) does nothing, but when check the color of (F2) changes)
    I can make this happen with Logic equations, the give (i.e. F2) some letter or number value, then using conditional formats i can have the color change. but this leaves that particular cell useless to me (i.e. F2) I am not free to enter or edit text in that cell. (i.e. =IF(B2=TRUE,"Paid","Due") ----> then add a conditional statement that chages color when the value is either "Paid" or "Due")
    How do i have F2 change color, when B2 is checked and still retain the ability to enter information (or potential have another formula) in F2? (The Cell is not used up by "Paid" or  "Due" it is editable just like any other cell)
    is there anyway to change cell characteristics like font, color, and background color inside a formula, because in that way i would be able build it manually
    i tried using the formula editor inside the conditional format pane, but the only infor it will allow me to retain is one partictular cell. i cannot add modifiers like "+" or "=" or anything else. what is that space used for then?
    thanks for anyones help

    MC,
    You can do what you want in Numbers. It requires an auxiliary column and it's a bit tedious to set up because conditional formatting by comparison to another cell isn't relative, so each cell has to be programmed individually with no option to Paste or Fill to other cells in a range.
    For explanation purposes, let's say your checkbox is A2, your cell to be conditionally formatted is B2, and your auxiliary cell is  C2. To have the format of B2 determined by the checkbox status in A2, you will:
    1. In C2 write: =IF(A, B, " ") The " " is any string or value that you don't expect to encounter in B normally, and using the space character means you don't have to worry about having it visible if C is in View.
    2. In B2 use Conditional Format: "Equal To" cell C2 and set your text and fill attributes to be used when the box in A is checked.
    That's it. Do that for every cell in the range.
    Jerry

  • How do I apply conditional formatting using SharePoint Designer 2013?

    I'm attempting to apply Conditional Formatting to a list view web part via SharePoint Designer 2013, and I can't seem to find the option to do so.
    I've a horrible feeling I'm just being daft, but here's what I've done so far:
    - Created a new page (I've tried both web part and wiki)
    - Added a list "App part" and saved the page
    - Checked-out and opened the page via Designer
    - Clicked the "Edit file" option
    - Selected the XsltListViewWebPart tag
    So far I can't find any options to add it. If I open the Conditional Formatting pane via the View menu it tells me the following:
    > To use conditional formatting, select an HTML tag, data value, or
    > range of text, and then click Create to specify formatting options.
    I've tried selecting the web part tags in all manner of combinations with no luck. In previous version I would have simply selected the previewed data rows in the now-absent Preview pane.
    Am I missing something?

    Create and edit a Wiki Page
    Click Inset > Data View and Select “Empty Data View”
    Click Inside the <DataSources> tags </DataSources>
    Click Insert > Data Source “Your Data Source Name”
    Hold down Ctrl button and select the Rows in the order you want them to appear from your “Data Source Details” Window.
    After the Rows are selected click on the drop down “Insert Selected Fields as…” at the top of the “Data Source Details” Window. 
    Select “Multiple Item View” option (This will create the xsl where we need to add the conditional formatting to)
    Find the <tr> tag that contains the Row Data.  Insert the following right below the <tr> tag:
    <xsl:attribute name="style">
    <xsl:if test="@FieldName = 'Something'">background-color: #FF0000;</xsl:if>
    </xsl:attribute>
    I hope this helps.  I figured this out by using the old 2010 Designer to figure out the where to place the code and how to do this.

  • Sharepoint Foundation 2013 - Conditional formatting

    Hey all,
    I'm trying to pull of conditional formatting for the outcome of a "Yes or No" column within a Custom List, however all the searching I have done shows that it seems to have been removed in Sharepoint 2013 without using a Jquery (I'm having problems
    getting my head around Sharepoint 2013 at the moment, dont want to add Jqueries to it as well lol).
    Have I missed something stupidly easy? I have http://www.cdpdev.com/Blog/Post/7/Conditional-Formatting-in-SharePoint-2013 but it seems to be using Sharepoint
    2013 with Sharepoint designer 2010 which I dont really want to have to do as the will be in time handed over the my 'manager' who will self manage and using 2 different pieces of software is kinda out of the question.
    Regards
    JB

    Hey @ITechbrij
    it seems the above post doesn't work for Sharepoint 2013 as I'm getting a syntax error but this maybe due to me not being able to find the formula box so put it into the "Column Validate" section as I'm missing the formula box that is shown in the 2010 screenshots.
    If this is not possible what do you suggest? Going with the Sharepoint designer 2010 approach? As I cant find how to do it in 2013 and wouldn't know where the start with a jquery lol.
    JB

  • Report generation toolkit conditional format - how to?

    Hi
    We are using the Report generation toolkit (2010 version), and have a question regarding this tool.
    I see functions for setting the number format, but not a conditional format. Does this not exist?
    http://zone.ni.com/reference/en-XX/help/372120A-01/lvoffice/excel_set_cell_format/
    This page refers to an example which from the name sets a conditional format. However as I understand it, this example is setting a custom number, not a conditional format.

    Hi,
    the simplest way to do this I guess you can provide a template for your Excel sheet, where you can set the conditional format there.
    From LabVIEW you can just send the values into this sheet-template.
    Maybe you can try these if you want
    http://forums.ni.com/t5/LabVIEW/Using-conditional-formatting-in-excel-through-LabVIEW-activeX/td-p/1...
    http://forums.ni.com/t5/LabVIEW/Excel-Colour-properties-modified-via-LabVIEW/m-p/573748?query.id=218...
    Regards,
    Yan.

  • SSRS 2012 Conditional Formatting Color Issues When Exporting to Excel

    Hi all,
    We recently upgraded to SQL 2012 from SQL2008 R2. I'm having a strange issue with SSRS2012.
    One of the report has conditional formattings on cell background colors. Everything works fine when render the report in browser or preview mode. However, the conditional formatting stop working when export the report to Excel (no issues if
    export to pdf). All cells are high-lightened with pre-defined color although it should only high-lighten those cells that fulfil the condition.
    Has someone encountered this issue before ? Thanks for any help.

    Hi ZZ02,
    I have test the scenario in my testing environment, however, everything goes well when exporting to Excel format. The issue might be related to the expression for the conditional background color. To make further analysis, please post the expression as well
    as the report design structure.
    Additionally, in SQL Server 2012 Reporting Services, the Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010, the format of which is ExcelOpenXML. By default, the previous version of the Excel rendering extension,
    compatible with Microsoft Excel 2003, is disabled. At this time, I suggest that you enable the Excel 2003 rendering extension by modifying the RSReportServer.config file. After that, the Excel 2003 rendering format will be available on report manager (not
    available in Report Designer). So, please export the report from report manager and check the result again.
    For more information about enable the Excel 2003 rendering extension, please see:
    http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/0713de27-dcc0-4e51-81ac-5272647d171f
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here. 
    Mike Yin
    TechNet Community Support

Maybe you are looking for