Help Regarding Conditional Formatting

Hi Gurus,
Brief background about the report, we have all the items in the inventory segregated into 3 classes "High", "Medium" and "Low" and also there is Calculated Measure called "Percent Accurate". Now we want to use Conditional Formating on the particular Item either RED or GREEN and following are the conditions to define the colour
High -> Green = 100%; Red = X<100%
Medium -> Green = X >= 98%; Red = X < 98%
Low -> Green = X >= 97%; Red = X < 97%
In the above condition the perecent refers to Percent Accurate.
How do I acheive this kind of condition.
Thanks in advance.
Chary

Hi Create a new Percent column in repository so the answers coding will be simplified.
Percent = 100.00 *( (Cycle_Count_Entries.COUNT_QUANTITY_CURRENT - Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT) / Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT )
...... or whatever your definition is
Then use a column in answers with following formula :
Case
when table.class = 'High' then
Case when table.percent = 100 then 'Green' else 'Red' end
when table.class = 'Medium' then
Case when table.percent &gt;= 98 then 'Green' else 'Red' end
when table.class = 'Low' then
Case when table.percent &gt;= 97 then 'Green' else 'Red' end
end
* If you do not have access to repository, replace table.percent in above formula with the percentage formula that you have.
Then your conditional formatting will be simplified as you will need to refer to only the above column.

Similar Messages

  • 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

  • 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

  • Urgent help on conditional formatting using XML publisher

    Folks can any one help me. I am trying to do conditional format in my xml publisher rtf template and I am having issues to render data in specific format. Please see the sample xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <ColTrn:CollegeTranscript xmlns:AcRec="urn:org:pesc:sector:AcademicRecord:v1.0.0" xmlns:ColTrn="urn:org:pesc:message:CollegeTranscript:v1.0.0" xmlns:UseExt="urn:org:pesc:useextensions" xmlns:core="urn:org:pesc:core.CoreMain:v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:org:pesc:message:CollegeTranscript:v1.0.0 http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/CollegeTranscript_v1.0.0.xsd urn:org:pesc:useextensions http://www.regents.state.oh.us/articulation_transfer/AT/ATC/XML/Standards/Postsecondary/Transcript/v1.0.0/OBRExtensions_v1.0.0.xsd">
    <Student>
    <Person>
    <SchoolAssignedPersonID>0001567740</SchoolAssignedPersonID>
    <Name>
    <FirstName>WENDELL</FirstName>
    <MiddleName>ROBERT</MiddleName>
    <LastName>MORRISON</LastName>
    </Name>
    </Person>
    <AcademicRecord>
    <AcademicAward>
    <AcademicAwardLevel>2.4</AcademicAwardLevel>
    <AcademicAwardDate>2004-03-20</AcademicAwardDate>
    <AcademicAwardTitle>BACHELOR OF SCIENCE IN EDUCATION</AcademicAwardTitle>
    <AcademicCompletionIndicator>true</AcademicCompletionIndicator>
    <AcademicCompletionDate>2004-03-20</AcademicCompletionDate>
    <AcademicAwardProgram>
    <AcademicProgramType>Major</AcademicProgramType>
    <AcademicProgramName>INTEGRATED SOCIAL STUDIES (BS6308)</AcademicProgramName>
    </AcademicAwardProgram>
    <AcademicAwardProgram>
    <AcademicProgramType>Minor</AcademicProgramType>
    <AcademicProgramName>PSYCHOLOGY (OR4101)</AcademicProgramName>
    </AcademicAwardProgram>
    <NoteMessage>EDUCATION AND HUMAN SERVICES</NoteMessage>
    <AcademicSummary>
    <AcademicSummaryType>SenderOnly</AcademicSummaryType>
    <AcademicSummaryLevel>Undergraduate</AcademicSummaryLevel>
    <GPA>
    <GradePointAverage>2.835</GradePointAverage>
    </GPA>
    <ClassRank>408</ClassRank>
    <ClassSize>533</ClassSize>
    </AcademicSummary>
    </AcademicAward>
    <AcademicAward>
    <AcademicAwardLevel>2.4</AcademicAwardLevel>
    <AcademicCompletionIndicator>false</AcademicCompletionIndicator>
    <AcademicAwardProgram>
    <AcademicProgramType>Minor</AcademicProgramType>
    <AcademicProgramName>HISTORY (OR4211)</AcademicProgramName>
    </AcademicAwardProgram>
    </AcademicAward>
    </Student>
    </ColTrn:CollegeTranscript>
    I am trying to generate the output in the below format -
    [ The University Degrees Conferred section is printed if  /AcademicRecord/AcademicAward/AcademicCompletionIndicator = true and  AcademicProgramType = 'Major' Then ]
    ********** UNIVERSITY DEGREE(S) CONFERRED ******************
    DATE : Mar 20, 2004 => <AcademicAwardDate>
    COLLEGE : EDUCATION AND HUMAN SERVICES => <NoteMessage>
    DEGREE : BACHELOR OF SCIENCE IN EDUCATION => <AcademicAwardTitle>
    PROGRAM(S) : INTEGRATED SOCIAL STUDIES (BS6308) => <AcademicProgramName>
    ACCUM GPA : 2.835 => AcademicSummary/GPA/GradePointAverage
    GRAD RANK : 408 IN TOTAL OF 533 => <ClassRank> and <ClassSize>
    [ The below section should print if the student has AcademicProgramType = 'Minor' and Academiccompletionindicator = true ]
    ******OTHER UNIVERSITY PROGRAM(S) COMPLETED******
    DATE Mar 16, 2002 PROGRAM : PSYCHOLOGY (OR4101) => <AcademicProgramName> where AcademicProgramType = 'Minor'
    [ The below section should print if Academiccompletionindicator = false print all majors and minors.
    CURRENT PROGRAM(S) OF STUDY
    PROGRAM(S) : HISTORY (OR4211)
    => AcademicProgramName where AcademicAward/AcademicCompletionIndicator = 'false'
    Please help me guys. I really appreciate your help.
    Thanks
    Pradeep

    I have sent you a modified template. Please take a look.
    Assign points and close out the thread if you are satisfied.
    Thanks,
    Bipuser

  • Help on conditionally Formatting Field in a Cross Tab

    Hi all,
    I like to conditionally format a number field in a cross tab, ie. on a certain column the number should show 2 decimal places, otherwise no decimal places.  I have tried a formula in the Decimals of the Format Field, If {Command.COL_TITLE}= "G"
    Then
    2
    else
    0.
    Column G is the one that is to display the number in 2 decimal places.  The formula runs, but it never  {Command.COL_TITLE}= "G" is never true, ever.  COL_TITLE is the columns of the Cross Tab.
    Any ideas ?
    Thanks
    Austin

    Austin,
    If you are trying to format a column then try using the GridRowColumn function.
    In the Customize Style tab highlight the column field and check what the alias for formula is. Then format the decimal places for the summarized field with a formula similar to the following;
    If  GridRowColumn("Alias for formula value") = "G" then 2 else 0

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

  • 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

  • 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

  • Conditional formatting in report designer.

    Hi All !
    What is conditional formatting & how to do it ?
    does it act like condition which we do in BEX query designer ?
    Can we restrict values using this at the report designer level ?
    Regards
    Tom.

    Hi,
    Conditional Formatting: You use this function to set a design that deviates from the design for selected characteristic values, hierarchy nodes, and so on, that is set by the default row patterns.
    Conditional formatting can only be applied to characteristic values in dynamic sections of a data provider. A query (or query view) with one or more characteristics in the drilldown forms the basis of a data provider with a dynamic section.
    Take a look at the URL below:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/f4b8c3a7dd7065e10000000a1553f6/frameset.htm
    Regards,
    Kishore
    Message was edited by:
            Kishore Sivakumar

  • Excel 2013 Conditional Formatting problem

    Hello!
    A customer of mine has recently transitioned from Office 2007 to Office 365. This has been a major hurdle for them, and they're still experiencing some issues with things not behaving the way they used to. I'm not an Excel expert, so I have no idea if the
    following issue is some sort of bug or compatibility issue, or if the user is just expecting behavior that isn't going to occur in this version of Excel.
    She has a spreadsheet that she uses to schedule people. She uses conditional formatting to change the color of numbers based on their size. For example, everything less than 2 is red, everything between 2 and 4 is green, etc.
    So, let's say she has two rows that have been formatted already. Then she adds a third row, inputs the data, then highlights the entire row and tries to format it. Once she adds her rules and clicks "Ok", that row is formatted...but rows 1 and
    2 have now been cleared of all formatting. So basically, she can't format things on the go, as she puts them in, she has to format everything at the same time, every time.
    It doesn't happen to every row that has already been formatted. If she has 20 rows that are formatted, sometimes only 2 of them will lose their formatting after she applies her rules to a new row. It's usually the rows that are right next to the new row.
    I have very little experience with Excel conditional formatting, so I don't know what would cause this, or if there's a fix or workaround. Also, I'm not sure if I'm explaining it clearly. Any help or suggestions would be welcome!

    Hi,
    According to your description, this issue seems occur with the special spreadsheet. In my view, it might be more related to the file itself, such as incorrect range with conditional formatting rule, double rule with same cell range or other.
    would you like to send the sample file to me ([email protected])  if possible? I want to test it.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Conditional formatting and extensibility in Power View for SharePoint 2013 on-premises

    Good day,
    Is there a way we could apply conditional formatting in table objects, specifically at cell level (green, yellow and red) to a Power View dashboard in SharePoint 2013?
    If not, is there a way to extend Power View to support these requirements. I know that SSRS and PowerPivot provide a wide range of customization tools, unfortunately so far the only customization capabilities that I've found in Power View are themes , fonts
    and backgrounds but nothing that could allow this level of formatting. What are the available options, only SSRS and PowerPivot?
    Thanks in advance for your help,
    Marcelo Estrada MCP-MCTS-MCITP-MCSA-MCSE

    Hi Marcelo,
    As you know, generally themes , fonts and backgrounds are supportted in power view, more details information:Format Power View reports
    Currently, there is no way to extend Power View to support these requirements. I recommend you to submit
    an wish at https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level of service
    provided.
    Thanks for your understanding.
    Regards
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Conditional formatting with another column in pivot table

    Hi everbody please help me!
    My question is simple.
    On my example I have
    --------------------year1------year2----dif(my calculated item)
    measure1-------100-------50---------50
    measure2-------75-------100---------(-25)
    For measure1;
    I want to make "dif" green if year1 is < 100 and want to make "dif" red if year2 = 100 and etc...
    Is it possible, I tried but could not achive conditional formatting when I use different column then dif...
    Thank you for your help
    Regards,
    Can
    Edited by: canmurt on Dec 27, 2009 9:44 AM

    Thank you for quick answer, but there is no "Admin General privileges" :(
    Do u know anything about first question
    Access to Dashboards
    Access to Answers
    Access to Delivers
    Access to Briefing Books
    Access to Disconnected Analytics
    Access to Administration
    Access to Segments
    Access to Segment
    Access to List Formats
    Access to Metadata Dictionary
    Access to Oracle BI Publisher Enterprise
    Access to Oracle BI for Microsoft Office
    Regards;

  • Using a function as condition for conditional formatting

    Hello,
    I am trying to switch from Excel to Numbers and I'm having trouble figuring out the conditional formatting in Numbers. In Excel, cell(s) can be highlighted, font changed, etc based on a function linked to another cells value. That is, cells A1:A4 can be highlighted if cell A5 has a particular value or not. I can't figure out how to do this in Numbers. Is it possible?
    Thank you in advance for any help.

    rstod7878 wrote:
    Sorry, I haven't had a lot of time lately. Thanks to Peggy for the link to instructions on posting pics. Thanks to Barry for his response (which I haven't explored in detail yet). Here is a pic that may explain what I'm trying to do a little more clearly.
    Here's your image, pulled in with the (edited) HTML code supplied by Flickr
    The editing consisted of removing everything in front of "<img". The essential difference between this code and what you used is the addition of double quotes ( " ) enclosing the whole URL (from "http: to .jpg").
    Both conditions look identical, except for the cell being referenced by the formula.
    Can you restate, in English, the condition under which the cell to which these rules apply would be formatted to have a dotted green fill and text in italics and with a strike through applied?
    Also, to what cell is the conditional formatting applied, and what is the value in that cell?
    Regards,
    Barry

Maybe you are looking for

  • Crashing of PC while loading latest blackberry link in Windows 8.1

    Is there a common issue of PC crashing everytime while loading latest Blackberry link 1.0.28. Even sync with outlook is stopped in windows 8.1. Assistance required.

  • Some questions on Zen Visio

    Hi I'm considering to buy Creative's Zen Vision:M. Before that however, I've some questions. Power Adapter . Does it come bundled with the power adapter? If not, how much does it cost. The website doesn't seem to state this. Battery Life 2. It's rate

  • Certain folders on a server are always completely expanded (in List view). Why?

    Hello, All. This is an issue that has bugged me for years (possibly since OS 9, although my memory isn't what it used to be and I can't confirm that). I currently work for a design marketing studio and have spent most of my career in this field. I of

  • How to fit the images within textframe in indesign using javascript?

    Hi, We are using the update script for updating the values in table. If i am using images within textframe, the table is not fitting after updating it. Without using images the table is fitting. First i have dragged the table in Indesign document. Th

  • Transaction problem..

    Hi .. Iam having a session bean and its transactiion is container managed .and my transaction attribute is "SUPORTS" (CASE 1) Now iam calling a method from a client which is not "participating in a Transaction". Now in my bean method when i call Sess