Conditional Format in crosstab report

Hello All,
Is it possible to do a condditional format in cross tab report.It works for a table but not crosstab report.
Basically my report is like this
Day1 Day2 Day3 ......Day 31
Jan 10 20 -1 60
Feb -1 45 78 -1
Mar 23 -1 12 12
Dec -1 23 67 78
I want to put in red all those negative values or put some text.If insert conditional format,it applies only for the first month,it does not apply for other months.
Is conditional format not possible in crosstab report?
Thanks

Hope the following helps...
I tested using sample xml
<ROWSET>
<ROW>
<DAY>Day 1</DAY>
<MONTH>Jan</MONTH>
<VAL>8</VAL>
</ROW>
<ROW>
<DAY>Day 2</DAY>
<MONTH>Jan</MONTH>
<VAL>128</VAL>
</ROW>
<ROW>
<DAY>Day 3</DAY>
<MONTH>Jan</MONTH>
<VAL>88</VAL>
</ROW>
<ROW>
<DAY>Day 4</DAY>
<MONTH>Jan</MONTH>
<VAL>-8</VAL>
</ROW>
<ROW>
<DAY>Day 1</DAY>
<MONTH>Feb</MONTH>
<VAL>12</VAL>
</ROW>
<ROW>
<DAY>Day 2</DAY>
<MONTH>Feb</MONTH>
<VAL>0</VAL>
</ROW>
<ROW>
<DAY>Day 3</DAY>
<MONTH>Feb</MONTH>
<VAL>-88</VAL>
</ROW>
<ROW>
<DAY>Day 4</DAY>
<MONTH>Feb</MONTH>
<VAL>-11</VAL>
</ROW>
<ROW>
<DAY>Day 1</DAY>
<MONTH>Mar</MONTH>
<VAL>-20</VAL>
</ROW>
<ROW>
<DAY>Day 2</DAY>
<MONTH>Mar</MONTH>
<VAL>12</VAL>
</ROW>
<ROW>
<DAY>Day 3</DAY>
<MONTH>Mar</MONTH>
<VAL>99</VAL>
</ROW>
<ROW>
<DAY>Day 4</DAY>
<MONTH>Mar</MONTH>
<VAL>32</VAL>
</ROW>
</ROWSET>Crosstab structure...
(1,1)<?horizontal-break-table:1?>
(1,2)<?for-each-group@column:ROW;./DAY?><?DAY?><?end for-each-group?>
(2,1)<?for-each-group:ROW;./MONTH?><?variable@incontext:G1;current-group()?><?MONTH?>
(2,2)<?for-each-group@cell://ROW;./DAY?><?if:($G1[(./DAY=current()/DAY)]/VAL)<0?><?attribute@incontext:background-color;'Red'?><?end if?><?($G1[(./DAY=current()/DAY)]/VAL)?><?end for-each-group?><?end for-each-group?>In the IF statement either you can format the color or put some text..

Similar Messages

  • Conditional Format a CrossTab

    Hello I have an existing cross-tab report that I need to do a conditional format on.  In my report I have a sum of QTY Required by Day in the Summary section of the cross-tab.  I also have a field call Balance on Hand on each Row.  I would like to change the color for any of daily QTY required that are greater than the Balance on Hand.  This is simple in a Standard Report, but for some reason Iu2019m struggling figure out how to make it work in a cross-tab.  Thanks

    If I understand correctly you have 2 summary values in the crosstab and you want to highlight the first summaryvalue, required, based on whether or not it is greater than the second summary value, on hand. If you were to switch the summary values around so that on hand appeared first then you could right click on it, format field, background and conditionally enter in a formula that assigns the currentfield value to a variable but output no color;
    numbervar a:= currentfieldvalue;
    crnocolor
    Then in the second summary value right click, format field, background and conditionally compare the currentfieldvalue to the variable value;
    numbervar a;
    if currentfieldvalue > a then crred else crblack

  • Apply conditional formatting when a report is exported to CSV format

    Hello
    OBIEE dasboard has the option to export the report data to CSV format.
    But the problem is that on some columns of the report, it uses various different types of conditional formatting that tells, what to display when data is equal to one of those edge cases. So hence the report on the dashboard page shows accordingly which is fine.
    But when the report is exported to CSV format, no conditional formatting is applied and all the raw data is shown without any formatting.
    Is there any way to make sure that the conditional formatting is applied even in the data exported to CSV format.
    thanks

    CSV is supposed to be a data dump .. i dont think you can have formatting saved when u download csv file.. try downloading it to excel and changing it to CSV

  • Conditional formatting in Webi report

    Hi,
    I have a  requirement wherein I need to conditionally format column to make the coulmn value "red colored"  as per a certain condition and also need to display a small image next to the column value. Does anybody have an idea to achieve this?
    Thank you,
    boe user1

    Hi,
    You can use Alerters for the conditional formatting.
    Click on the Alerter icon from the tool bar.
    New-> define condition -> click ok for default formatting else click on format.
    You can define any formatting to the column values you want e.g you can change the font color or you can change the back-ground too.
    To display a image you can add one more column and insert it as a background image. If this is also conditional then again insert it using alerter or you can write if else formula with image url.
    Regards,
    Rohit

  • Conditional format in Matrix report

    Hi all,
    I have the column wise matrix output which I am require to put some highlight on the entire row if the condition meet.
    The output will be something like this :-
    Name ____________JOB A______JOB B _______JOB C
    AAAA____________2___________2____________2
    BBBB____________4___________4____________4
    CCCC____________5___________0____________5
    With the above displayed, I will like the last row to be highlighted as one of the matrix cell column was not having the same qty with the rest.
    It is possible to do that ?
    Please advise.
    Regards,
    Lim

    Hope the following helps...
    I tested using sample xml
    <ROWSET>
    <ROW>
    <DAY>Day 1</DAY>
    <MONTH>Jan</MONTH>
    <VAL>8</VAL>
    </ROW>
    <ROW>
    <DAY>Day 2</DAY>
    <MONTH>Jan</MONTH>
    <VAL>128</VAL>
    </ROW>
    <ROW>
    <DAY>Day 3</DAY>
    <MONTH>Jan</MONTH>
    <VAL>88</VAL>
    </ROW>
    <ROW>
    <DAY>Day 4</DAY>
    <MONTH>Jan</MONTH>
    <VAL>-8</VAL>
    </ROW>
    <ROW>
    <DAY>Day 1</DAY>
    <MONTH>Feb</MONTH>
    <VAL>12</VAL>
    </ROW>
    <ROW>
    <DAY>Day 2</DAY>
    <MONTH>Feb</MONTH>
    <VAL>0</VAL>
    </ROW>
    <ROW>
    <DAY>Day 3</DAY>
    <MONTH>Feb</MONTH>
    <VAL>-88</VAL>
    </ROW>
    <ROW>
    <DAY>Day 4</DAY>
    <MONTH>Feb</MONTH>
    <VAL>-11</VAL>
    </ROW>
    <ROW>
    <DAY>Day 1</DAY>
    <MONTH>Mar</MONTH>
    <VAL>-20</VAL>
    </ROW>
    <ROW>
    <DAY>Day 2</DAY>
    <MONTH>Mar</MONTH>
    <VAL>12</VAL>
    </ROW>
    <ROW>
    <DAY>Day 3</DAY>
    <MONTH>Mar</MONTH>
    <VAL>99</VAL>
    </ROW>
    <ROW>
    <DAY>Day 4</DAY>
    <MONTH>Mar</MONTH>
    <VAL>32</VAL>
    </ROW>
    </ROWSET>Crosstab structure...
    (1,1)<?horizontal-break-table:1?>
    (1,2)<?for-each-group@column:ROW;./DAY?><?DAY?><?end for-each-group?>
    (2,1)<?for-each-group:ROW;./MONTH?><?variable@incontext:G1;current-group()?><?MONTH?>
    (2,2)<?for-each-group@cell://ROW;./DAY?><?if:($G1[(./DAY=current()/DAY)]/VAL)<0?><?attribute@incontext:background-color;'Red'?><?end if?><?($G1[(./DAY=current()/DAY)]/VAL)?><?end for-each-group?><?end for-each-group?>In the IF statement either you can format the color or put some text..

  • Conditional Formatting in Crystal Reports

    Hi,
      I am trying to create a layout where in need the child items to show up in Italics. Can any one help me with this?
    Thank you.

    You can consider the following:
    1. Highlighting Expert.
    You can select the field you want with the Italic format, right click it and the select Highlighting expert.  put in the condition, and select Font style = Italic.
    2. You can also put in formula the field itselg.
    If you rightclick on the field you want,, go to the font tab, on the right of the "Style", click on the pen and put in the condition.  Italic = crItalic.

  • 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

  • Graphic/Image not displayed with conditional formatting in Report Designer

    We are facing problems with displaying an image in a conditional formatting in the Report Designer. The image itself is in the mime repository and can be displayed in the report if no conditional formatting is used. But if it is used the image doesn't appear in the report.
    Backend setup: SP 8
    Frontend setup: Patch 8, hotfix 2, Revision 95
    Any help is highly appreciated.
    Sven

    Hi,
    I could not reproduce your problem in internal SP8 system. Also images in rows with conditional formatting are displayed.
    Do you get any errors after the execution in the portal?
    Try to use exactly the same image in both rows (drag-and-drop with CTRL key pressed).
    If then your problem still occurs, open a customer message. Describe your problem in detail and write technical name of the report you used.
    Regards, Karol

  • Can we preserve Conditional Formatting in excel even after export ?

    Hi,
    I have requirement where I need to preserve the formulae and conditional formatting when exported in excel format.
    The user is supposed to be changing the values and so the final result values and cell formats should change as well.
    I tried the workaround to preserve the formulae as directed in other threads but would like to know if we also have a workaround to preserve the conditional formatting of the cells.
    I know OfficeWriter can help me to get this requirement done but still I wonder if we have any workaround for this requirement.
    Thanks.

    Hi Rikz,
    According to your description, you want to preserve the formula and conditional formatting when export report to excel format.
    According to my knowledge, In earlier versions of Reporting Services, there was limited support for translating expressions in RDL to Microsoft Excel formulas. Since SSRS 2008, when you export a report to Excel, RDL expressions are not translated to Excel
    formulas, which is documented at
    http://msdn.microsoft.com/en-us/library/ms143380(v=SQL.100).aspx by Microsoft. When we export a report to excel, only the final data is exported. If some user want to preserve specify cells’ conditional formatting, we can use IIF function as a workaround
    as below:
    IIf(Globals!RenderFormat.Name Like "EXCEL*", Excel Formula, RDL Formula)
    For more information about export formulas to Excel, please refer to the following feedback:
    https://connect.microsoft.com/SQLServer/feedback/details/488517/ssrs-2008-export-formulas-to-excel
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

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

  • How to set a Conditional Format in a Crosstab

    Hello,
    I think I have a straight forward problem, but after reading the instructions I can't seem to make this work.
    I am using BI 10.1.3.4.1
    I have a crosstab that I have build as an RTF template that looks like the following
    name
    rolename, priv name, priv desc muser
    The report puts a 1, 2 or 3 value in muser. If it is a 1 or 2 I want the cell to be green if it is a 3 I want it to be Yellow
    Here is my conditional format that I am trying to make work for just the 1's
    <?if:MUSER=1?>
    <xsl:attribute
    xdofo:ctx="block" name="background-color">green</xsl:attribute>
    <?end if?>
    It doesnt seem to work. To make matters worse is NULLs out the value in Excel
    What am I doing wrong?

    Hi,
    I too use a cross tab with for-each@column/cell. For me the below code works. It colors the background.
    For NULL values do ensure that you print the MUSER value within the IF block.
    Thanks.

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

  • 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

  • Does Conditional Formatting does not work in HTML report editor - BO 4.1

    Hi
    I have just upgraded to BO 4.1 from BOXI 3.1
    I see conditional formatting option is grayed out for me in BO 4.1
    I dont have java installed and running launchad on HTML (Preference ->WEBI-> Modify Report -> HTML )
    Is there any relation between Applet option and Conditional formatting or is there anything wrong with Access which i need to correcr explicitly as compared to BO 3.1 ?

    Hi Saurav,
    This is expected behavior; We can modify the Conditional formatting only though Applet mode or using Webi Rich Client.
    For more feature differences between Viewers go through following link;
    http://scn.sap.com/community/businessobjects-web-intelligence/blog/2013/12/16/feature-differences-between-the-web-intelligence-clients-bi41-sp02
    Regards,
    Veer S.

  • Conditional formating in report painter (GRR2)

    Hi all,
    An end user ask me if it's possible to do a conditional formatting in a cell of report painter (run with GRR3) if the value is true (i.e. as in excel, you can colour a cell if it's less than zero and so on). I know that it's possible with the BEx (for SAP BI), xcelsius, crystal reports and surely with bussiness object. I can see that it's only available do the format for the all column or for a line, but I don't  find the option for a cell with a condition (surely because it isn't available).
    Please, confirm me if it is not available, because I'm a long time looking for a reply but I only find info about BEx, xcelsius and so on (nothing related with report painter, GRR2 and so on). But if it's possible, please let me know how to do it.
    Thanks in advance
    Best regards,
    Eduardo

    Hi,
    I don't think that we can put the conditional formula. but we can do the calcualtion by row wise or column wise.
    Thanks.

Maybe you are looking for