Yellowfin also lets you create conditional rules using canvas widgets, such as charts, text, images and shapes on the canvas. This way you can, for example, hide charts when a rule's condition is matched.

Charts, titles and images can be hidden as a result of these rules; however shapes can also be stylised.

 

Formatting Setup

This is what the conditional formatting setup page for a widget looks like:

 

Option

Description

Value Field

Select the field you wish to use for the conditional formatting rules from the list.

Total Aggregation

Select the aggregation to be applied for these formatting rules.


The Process

Before creating a widget rule, ensure that the widget's conditional formatting feature is switched on. To learn how to do that, see below.

Follow these steps to switch on the conditional formatting feature on a widget:

  1. Once a widget is added to the canvas, click on it to make a menu appear on top of it
  2. Click on the dotted menu icon here to control with the widget's settings

  3. Expand the Conditional Formatting label
  4. Click the button to enable its feature
  5. You can also click on the Edit Rules button at the bottom to jump to the conditional formatting window

 

 

Follow the steps below to create a rule on the different types of widgets:

You can simply hide charts, images and text titles from your canvas as a result of meeting a conditional format rule.

Follow these steps:

  1. Choose a widget from the left side under the Conditional Widgets section, on which the formatting will be applied.

  2. Select the value field

  3. Choose a total aggregator
  4. Click on the +Add Another Rule link; a new popup to format canvas widgets will appear
    1. Start creating a rule by choosing an operator
    2. Then enter a value

    3. Click on the Submit button to save the rule
    4. The widget will now disappear whenever the rule is matched

For the shapes, lines and icons in your canvas, you can set a style for them whenever the rule's condition is met.

Follow these steps:

  1. Choose a shape widget from the left side under the Conditional Widgets section, on which the formatting will be applied.

  2. Select the value field

  3. Choose a total aggregator
  4. Click on the +Add Another Rule link; a new popup to format canvas shapes will appear
    1. Start creating a rule by choosing an operator
    2. Then adding a value
    3. Style the widget so that its appearance changes on meeting the condition

      IconStyle typeDescription
      Hide shapeHide the widget shape from the canvas.
      Shape colourChange the inner colour of the shape widget.
      Border colourChange the border colour of the shape widget.
      Border sizeSet up the size of the border.
      OpacityDrag this bar to change the value of the opacity, making is lighter or more vivid.

      These styling options appear depending on your canvas' widget template settings. You may not be able to view all of them.

    4. Click on the Submit button to save the rule
    5. This shape will alter its appearance wherever matched data is found in your report

 

 

 

 

 

Related links:

Conditional Formatting

Conditional Formatting on Report Columns

Yellowfin Canvas