Conditional Formating

I am the newest of new users of APEX. Are multiple CASE statements or nested DECODE statments allowed?
I can change the color of a cell in a report based on various conditions but I need to do it for up to 5 on the same row (i.e. 5 variables Red, Yellow or Green depending on their values)

Hi,
I am the newest of new users of APEXWe all were at one point ;)
Are multiple CASE statements or nested DECODE statments allowed?The way to look at it is -
"If you can do it in SQL and/or PL/SQL, then you can do it in APEX".
Without a specific example it's hard to see exactly what you're trying to do though.
Hope this helps,
John.

Similar Messages

  • 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

  • Conditional Formatting in Discoverer 10g

    Hello All,
    I have created a workbook and applied conditional formatting to use colour coding basis come conditions.
    Now when I export the workbook to excel, formatting is not retained. All colour coding is gone. Is this expected or am i missing something ?
    Thanks,
    Vishal.

    Hi
    Can I make a recommendation for a great Excel plug-in for relational databases? It is called Excel-DB and is available from here: http://excel-db.net
    It is priced at only $395 per user, with a 20% discount for 10 or more. I bought it myself about two weeks ago and have been amazed by its ease of use.
    If anyone here does decide to buy it please put the code ASC on your purchase screen. That will let them know who recommended the product to you.
    You can also see demos of its functionality by clicking here:
    http://www.excel-db.net/demos.htm
    I've not seen a better database plug-in for Excel in all my 25 years of working in the industry. A blog posting is in the works but for now you'll have to follow these links and take a look for yourself.
    Best wishes
    Michael Armstrong-Smith

  • Problem with Conditional Formatting

    When I use a an if end if statement to conditionally format a field I end up with double spacing between the rows. For example I have the following if statement:
    <?if:@RealNum!=’0.000000’ or @ColCnt=’c1000’?> the field here<?end if?>
    With just the field there is just a single space between the rows but when I add in the if statement the rows get double spaced.
    Can anyone please help me to figure out why this happens?
    Thanks,
    Stephanie

    check whether you added any enter character in the word in that column.
    if so, delete that.
    try this
    <?if@inlines:@RealNum!=’0.000000’ or @ColCnt=’c1000’?> the field here<?end if?>if not working drop me the template and xml to my id in profile.will have a look at it.

  • Conditional formatting over block structure is not working properly

    Hello there,
    This is on BPC 7.5 NW.
    We have used block structure in one of our reports for Account dimension. i.e. we have used EVRNG function for MemberSet  instead of any other expansion.
    Again in this Block structure we have applied the below conditional formatting for some range.
    The rule is:-
    If the value (which is fetched using EVGET function in this range)
        1. is less than 0.45 then apply Icon1
    Else
      apply
        2.icon2 if values lies in between 0.5 and 1.5
        3.icon3 if value lies between 1.5 and 2.5
        4.icon 5 if value lies between 2.5 and 3.5
    So when the report is expanded, the icons are getting displayed as above conditional formatting only if the number of rows (data range) is less than 1000. If the number of rows exceeds 1000 i.e. then it displays values only not the icons.
    Can anyone please suggest what might have gone wrong here.
    Thanks
    Lakshmi

    Hi Nilanjan,
    Please find here the screenshot of the conditional formatting used.
    the cell values here are got  by EVGET  function.
    So when the block gets repeated ,if the expansion crosses more than 1000 rows , then we are facing  the issue of getting only values instead of arrows(icons mentioned in the above condition).
    Thanks
    Lakshmi

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

  • Conditional Formatting with multiple characteristics in report designer

    Hi,
    I'm trying to build a report with images in conditional formatting for two characteristics (=columns). Each of which can have one of the following three status values:
    1 - green
    2 - yellow
    3 - red
    For each status value i want to show a different image (traffic light). It works fine with only one characteristic. The conditional formatting creates three details rows in the row pattern (one for each status value) and depending on the status value the corresponding details row with the traffic light is shown.
    But if there is more than one characteristic with conditional formatting in the report it only works with a different row for each characteristic value, as the two characteristics belong to different group levels of the row pattern. That means I finally have 2 rows showing the two status values.
    To show them all in one row, which is the goal, I have  put all the conditional formatting definitions (6=3 for each characteristic) into the detail rows of the row pattern.
    But then for one characteristic incorrect images are shown, e.g. although the status value is red, a green traffic light is displayed, because the status value of the other characteristic is green.
    Obviously the conditional formatting only works with the characteristic, for which the details rows in the row pattern have been created.
    Any ideas how I can manage to show all the conditional images in one row?
    Thanks in advance.
    Regards,
    Sven

    Sven,
    your scenario is not supported yet.
    Right now, a conditional format is based on one condition.
    In the future it is planned to allow more conditions to be applied to the rowpattern, using "AND, OR" operators.
    The availability of the feature will be announced via the BI Functional Enhancement List (see BIFAQ)
    regards, karim

  • AR Invoice Conditional Formatting

    Hello
    I've done some customizing of our AR invoice, which includes some conditional formatting on several fields. If it’s a credit note change the colour of a border & font and hide some details. The report works fine if I run the report for one invoice/credit note. Unfortunately, when I run the report for a range of invoices e.g. inv nums 1000 - 1020, (which can contain a mixture of credit notes and invoices), only one field does the conditional formatting.
    The field that keeps the format is a Formula column in the inv header fixed frame (above it are 2 repeating frames) If contents of field = CREDIT NOTE then change font colour.
    The fields that won't do the conditional formatting are in the margin (page footer on the invoice). The field I use for the test is the same as the test used in the header. I’ve had several error messages, the most common being ‘…wrong frequency…’ I’ve tried putting the value in a Summary and Placeholder columns and I’ve tried adding these columns to the query in the data model. In fact I’ve tried that many things I can’t remember what I’ve tried.
    To complicate matters all the fields in the margin are either Placeholder, Summery of Formula columns. None of which holds anything that I can do a test on (They are either address/account or payment details etc).
    Any help would be greatly appreciated as I can’t afford to loose anymore hair.
    Cheers
    Mike

    Hi Mark
    I think its solved. I've extended the header frame as far as I can and placed some of the footer info in the header. I've ran a couple of tests, so far things are looking good. Format is working and feilds stay where I want them. Unfortunately it means me extending other frames to allow me to extend the header frame to the bottom of the page etc as well as moving all the stuff from the margin, but I suppose thats what I get paid for.
    Thanks for your help.
    Mike

  • Issue with conditional formatting in XML publisher report

    Hi All,
    I am working on a XML report where in I am required to use conditional formatting to highlight changes, if there is change in any of the column value. The condition is required to be implemented on a text column as well as a number column. I have tried to use the conditional formatting available in the BI Publisher Release 10.1.3.2, wherein I have compared the two columns, and when they are not equal to, then formatting should change to red color; but the same is not working in the excel output.
    Can anybody help here?
    Thanks,
    Nitin

    Cross conditional formatting ie formatting based on some other column is not supported in pivot view.
    There are some workaround.See if that helps
    http://www.obinotes.com/2010/03/pivot-view-conditional-formatting-in.html
    Regards,
    Sandeep

  • Can you transfer data from one numbers spreadsheet to another using conditional formatting?

    I have a tracker document set up for client payments and when I indicate payment received, it  flags green using conditional formatting. However I would like these to automatically transfer to another sheet - without having to cut and paste the associated data to the other sheet. Can I set up conditional formatting to do this? If not how could I get and automatic transfer?
    thanks forum.

    Hi Kangers,
    There are a number of ways to transfer data from one table to the next. It should not be hard to set up.
    Conditional formatting would not be involved it moving the data but you could set it up to flag the data in the new table.
    Without knowing what your tables and data look like it is hard to propose a solution.
    quinn

Maybe you are looking for

  • Macbook pro takes long to boot up 30 minutes

    Hi all, First of all, thanks for all the help this community has provided so far. Unfortunately I haven't been able to find a solution so far. Product: MacBook Pro (13-inch, Mid 2010) OS X 10.6.8 2.4GHz Intel core 2 duo 4GB 1067 MHz DDR3 It is quite

  • Final Cut HD Tutorial Problem

    After reading some of the responses to what were called "Dumb Questions," I'm reluctant to add mine to the list...but here goes. I'm new to Mac...although quite proficient with PCs and audio editing...so I'm not a novice there...however, something as

  • Database recovery in a replication environment

    Hi everybody, I've configured a replication environment with Oracle 11g (Multimaster synchronous replication). Apparently it works fine, when replication is started any change in a table that belongs in a node is replicated in the rest of the nodes.

  • FCC undefined structure

    Hi all, I am doing FCC to FCC scenario. My message is picking up from source...and in moni it is showing inbound message. But while giving output it is showing structure is not correct... My input is as follows...... 3936A20070501122019393600INOAC  

  • Data for iphone in japan

    I'm have a Verizon iphone5 and will be traveling to Japan.  I'd like to have data access while there for navagation primarily.  Can I have my phone unlocked and get a data plan with a Japan carrier when I arrive there?