ADF - Conditionally format a column

I have built a database view which returns data in the following format where A is the value in the first column repeating:
A B
A C
A D
I would like to format the page so A does not repeat for each row. And there is no option of creating master/detail screen. In the old world, I would have compared the previous row with current value and format screen that way. How do I accomplish this with ADF????
Thanks

Hi,
You can access the "row" variable in a managed bean. Just create a boolean method e.g. isDisplayed and map the column's outputText component to it.
In the managed bean you look store the previous value and compare it with teh current. If the current == previous you return false, otherwise true
Frank

Similar Messages

  • 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

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

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

  • Conditional Formatting of a Direct Database Request Columns in OBIEE 11g

    Hi All,
    I need to do the conditional formatting like changing the
    column color based of some condition, but i can do to the conditional
    formatting in the normal answers in the column properties. But i want to do
    it in the rows of Direct Database Request.
    When i check the Column properties conditinal format is disabled.
    Regards
    Shanker

    Hi Shanker,
    It is a limitation, You cannot use conditional formatting in Direct Database Request
    Regards,
    Dpka

  • Conditional Format In Pivot Table Columns

    Hi All
    I am wondering if it is possible to accomplish conditional formatting in each column of a pivot table.
    My table looks like
    Jan/12 Feb/12 Mar/12
    Bill 1.00 4.00 7.00
    Bob 4.00 1.00 3.00
    Charlie 5.00 1.00 2.00
    What I am trying to do is highlight the max(value) in each column regardless of the other columns
    So for Jan I want to format 5.00 / Feb 4.00 / Mar 7.00
    I have tried playing around with Rank but cannot seem to get it working properly.
    Does anybody know how this is possible?
    Thanks in advance

    Hi clueless,
    Just an idea...have you already tried to create an extra object max like max(measure by period, person)...so you will obtain the max value for each combination period,person.
    Afterwards you can use this object for your conditional report : when measure = max(measure) then 'red'.
    give it a try and keep us informed.
    Kr,
    A

  • Using conditional formating on member columns in essbase hirarchy in obiee

    Hi All,
    I ws analysing an existing sample PnL report in obiee 11g.
    Wht I found that there is conditional formating used on 'Balance' member column based on one of the member column (net income) from 'income statement' hirarchy of essbase cube. I tried to open the 'Conditional Format' tab and tried to look into the conditional formating based on the columns above. Wht I noticed that , in the filter, some values are uses such as equal to is in 300000 and so on.. I thought of editing the value to specify another value, but could not edit the value as it is non editable.
    Can anyone tell me how to specify such value.? I tried to furhter investigate and found that is is actually comming from net income member, but I am not able to edit it modify it.. I wanted to used this formatting feature in my another report which I created from scratch, but not able to understand how to do it..
    Any help, please?
    Thanks and Regards
    Santosh

    Hi Dhar,
    Thank you for your quick reply.
    I have added couple of screenshot to flickr to clarify my problem: http://www.flickr.com/photos/93812026@N07/
    Picture 1:
    Yes, your assumption is correct. We are using gen x level members in report, but these members are shared members or Dynamic calculations i.e. we have created custom account hierarchy for them.
    Picture 2:
    Basic situation, when I query that hierarchy. I.e. it returns account names for both members in the hierarchy. Furthermore, so far I have used only one pair of account, i.e. WOC
    Picture 3:
    I'm able to "merge" these two account members simply by adding "case when" statement to account dimension object. It shows values correctly in a table (picture 4)
    Picture 5:
    BUT, when adding other accounts to query filter, the returned values are no longer correct, but some sort of multiplication.
    --> it seems, that OBIEE cannot figure the context it should do the calculation against and I don't know how to define it there.
    Ps. Next step was, that we tried to use dashboard prompt to return correct values to calculations, but after being able calculate correctly values for these above mentioned accounts, we ran into problem, when trying to add entity level to dashboard prompt (OBIEE gave an error refering Essbase). I believe this is a bug in this version.
    -Esa-

  • Comparing lookup columns in conditional formatting

    I have a column of type number in one table, and in that same table a lookup column of type number.  Do I have to do any special formatting or manipulation to be sure they properly compare so I can do conditional formatting? 
    First part of clause is in the main table; second part is the lookup
    This is the clause in question clause:
    $thisNode/@Due_x0020_Cycles <= @Registration_x003a_Cycles_x0020_
    (This of course, doesn't work as I expect it to)

    This might be because the Lookup is actually returning the index value rather than the actual value that displays. You may have to take the Index value from the lookup and use that to get the value from the original list.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

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

  • Is it possible to make a condition for formatting multiple column?

    I am working on financial report like Balance Sheet. So that I am going to have 2 column and 1 on left, 2 and 3 on right.
    I tried to use format multiple columns but can't find any method to define where to break.

    when you create a stored procedure or use a command file( i believe) you can create CASE statements
    CASE WHEN ='BLUE' THEN 'COLUMN1'
    WHEN ='GREEN' THEN 'COLUMN2' END AS BUCKET1
    when you use this as the dataset you will see this as a field
    you can then group by the fields created.

  • 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

  • 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

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

Maybe you are looking for

  • How can I get an alert for a birthday 4 days in advance from my Calendar?

    How can I get an alert four days in advance for a birthday from my Calendar? Thanks.

  • Very VEry urgent

    Hi All, Hi Experts ,        I am asking a basic question but not able to rectify from last one day itself. Please Do the need ful. Data : S_TRAN type mesg-erfmg. user input   s_tran  from 2 to 3 in my internal table i_output-erfmg contain value like 

  • Mass Change in Recipe Management

    Is anyone doing non-status related mass changes in RM?  Specifically, is anyone substituting substance X for substance Y in dependent formulas inside recipes?  If so, was the related work in-house ABAP development or SAP CDP?  Any helpful hints would

  • Jtapi Resync

    Can anyone tell me how long agents will be down when I do a Jtapi Resync in CCX 9.1? I updated CCM to 9.1.2 (SU1) and didn`t know that I had to do the Jtapi Resync. Now when accessing CCX admin page getting error message telling me they are out of sy

  • Is there such a thing as a 'gift certificate' for photo services in iPhoto?

    friends of ours just got back from germany and im sure will be wanting to make albums of it all. my wife and i were wanting to give a 'gift certificate' to make some books in iPhoto, but how is that done?? i know the ITMS has its own cards you can re