{"id":3740,"date":"2016-07-13T03:00:55","date_gmt":"2016-07-12T19:00:55","guid":{"rendered":"http:\/\/www.finereport.com\/en\/?p=3740"},"modified":"2019-10-24T14:51:11","modified_gmt":"2019-10-24T06:51:11","slug":"condition-attribute","status":"publish","type":"post","link":"https:\/\/www.finereport.com\/en\/product-functions\/condition-attribute.html","title":{"rendered":"Change Condition Attribute."},"content":{"rendered":"<p>Sometimes we can change condition attributes in order to highlight texts meeting certain conditions in <a title=\"FineReport BI and reporting tool report designer\" href=\"http:\/\/www.finereport.com\/en\/features\/report-designer\" target=\"_blank\">report designer<\/a>.<\/p>\n<h3>1. Overview<\/h3>\n<p>You can change condition attributes of FineReport <a href=\"http:\/\/www.finereport.com\/en\/\" target=\"_blank\"><span style=\"color:blue;\">BI<\/span><\/a> to highlight texts meeting certain conditions. For example, you can highlight examination scores below 60 as red or display them as Failed; or you can customize the pieces of data displayed in each page of a display template.<\/p>\n<h3>2. How to set condition attribute<\/h3>\n<p>Right click the cell and select Condition Attribute in report designer. Click <img src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671126.png\" alt=\"\" \/> button in the pop-up Condition Attribute window. Select the attribute to be changed from 12 attributes like row height and column width, as shown below:<\/p>\n<p><img class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671124.png\" alt=\"\" \/><\/p>\n<p>The changed condition attribute can work under all conditions (with no condition setting added) or only work when certain conditions are met. As shown below, only when the current value is below 60, the background will become red.<\/p>\n<p><img class=\"aligncenter\" src=\"http:\/\/www.finereport.com\/en\/wp-content\/themes\/fanruan\/images\/201671125.png\" alt=\"\" \/><\/p>\n<p><span style=\"color: red;\">Note: If there are several conditions, use AND or OR for connection. In addition, you can add or remove brackets, and take UP and DOWN operations.<\/span><\/p>\n<p>For application examples of condition attributes, refer to <span style=\"color: blue;\">Condition Attribute<\/span> application.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes we can change condition attributes in order to highlight texts meeting certain conditions in report designer. 1. Overview You can change condition attributes of FineReport BI to highlight texts meeting certain conditions. For example, you can highlight examination scores below 60 as red or display them as Failed; or you can customize the pieces&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[111],"tags":[117],"yst_prominent_words":[1507,1503,1505,1502,1508,1498,1493,1497,1492,1495,1504,1506,1499,1494,1490,1496,1501,1509,1500,1491],"_links":{"self":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3740"}],"collection":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/comments?post=3740"}],"version-history":[{"count":5,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3740\/revisions"}],"predecessor-version":[{"id":8496,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/posts\/3740\/revisions\/8496"}],"wp:attachment":[{"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/media?parent=3740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/categories?post=3740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/tags?post=3740"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.finereport.com\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=3740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}