# One-click options

With Plan, you can perform various conditional formatting actions in a single click. Options include semantic formatting, color scales, segmentation, icons, ratings, data bars and many more.

A big benefit of the one-click setting is that you do not need to create rules from scratch. After you create a quick rule, you will have the option to customize it in a detailed manner if your report requires it.

### 1. Quick rule

Quick rule allows you to highlight the positive and negative values in the visual in a single click. Under 'Quick rule', there are two options - 'Positive' and 'Negative'.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.2%20Quick%20rule.png" alt=""><figcaption><p>Quick rule</p></figcaption></figure>

{% hint style="info" %}
The one-click conditional formatting options are enabled only if a cell/column is selected.
{% endhint %}

a) Select a column. You can highlight values greater than or equal to zero in green by clicking on the 'Positive' option.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.3%20Quick%20rule.png" alt=""><figcaption><p>Highlight positive values</p></figcaption></figure>

b) Similarly, you can highlight values lesser than or equal to zero in red by clicking on the 'Negative' option.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.5%20Quick%20rule.png" alt=""><figcaption><p>Highlight negative values</p></figcaption></figure>

### 2. Color scales

A wide variety of color scales such as sequential, qualitative, diverging, continuous and continuous-diverging can be applied in a single click.

a) Choose any column or cell and click on Conditional Formatting -> Color scales. Choose any of the color scales shown.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.6%20Color%20scales.png" alt=""><figcaption><p>Color scales</p></figcaption></figure>

b) A sample heatmap using the sequential color scale is shown below. Notice that the font colors are automatically adjusted to be in contrast with their backgrounds for enhanced readability.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.8%20Color%20scales.png" alt=""><figcaption><p>Sequential color scale</p></figcaption></figure>

To learn more about customizing color scales, visit [this section](/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/create-rule-basic-settings/color-scale.md).

### 3. Classification

You can apply conditional formatting based on icons/ratings and even deliver ABC segmentations in a single click. As you click on 'Classification', you can see the following options.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Classification%20(1).png" alt=""><figcaption><p>Classification</p></figcaption></figure>

Let's look at an example for the three categories - Text, Icon set, and Rating.

**3.1.** **Text**: Text-based classification is commonly used to categorize performance. A sample report with ABC classification is shown in the below image.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/Text%20Classification%20(1).png" alt=""><figcaption><p>ABC classification</p></figcaption></figure>

**3.2.** **Icons**: You can deliver conditional formatting using icons in a few clicks. Here is an example where items that contribute the most to sales are highlighted.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.9%20Classification.png" alt=""><figcaption><p>Icon-based conditional formatting</p></figcaption></figure>

**3.3.** **Ratings**: You can use ratings such as the star-based ratings commonly seen in e-commerce sites in the product feedback section.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.1.10%20Classification.png" alt=""><figcaption><p>Star-based ratings</p></figcaption></figure>

To learn more about customizing classifications, visit [this section](/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/create-rule-basic-settings/classification.md).

### 4. Data bars

Data bars can be used to insert colored bars inside a cell to show how a given cell value compares to others.

a) On clicking 'Data bars', you can see the following options. Select any of the options.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.6.2%20Data%20bars.png" alt=""><figcaption><p>Data bars</p></figcaption></figure>

b) Data bars get added as shown in the image making it easy to spot the highest and lowest values at a glance.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/5.6.3%20Data%20bars.png" alt=""><figcaption><p>Data bars</p></figcaption></figure>

To learn more about customizing data bars, visit [this section](https://docs.fabricplan.com/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/pages/sZZ2BIb2LTqZXiMV7252#2.-data-bars).

### 5. Action Analysis

#### a) Action dot

Action dots represent the degree to which the cell values deviate from the desired range/value in the measure. Adding them to the cells helps you assess how the quantities compare to the middle value or any desired value in the measure.

1. Select any measure to which you want to add them. Click **Conditional Formatting -> Action Analysis -> Action Dot.**

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1701).png" alt=""><figcaption><p>Action Dot</p></figcaption></figure>

2. By default, Planning sheet provides custom color ranges based on values or percentages. Click **Apply.** Find below a sample report with action dots applied to the *Profit* measure.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1702).png" alt=""><figcaption><p>Action dots applied to <em>Profit</em></p></figcaption></figure>

The color scale indicates a positive or negative deviation, and the number of dots represents the magnitude of the difference, with which you can focus on the values that diverge the most.

#### b) Action Color

Action colors are a variation of action dots in which the degree of divergence of cell values from the target value is expressed by color gradients. The color scale denotes a positive or negative deviation, while the gradient intensity indicates the magnitude of the deviation.

1. Select any measure to which you want to add them. Click **Conditional Formatting -> Action Analysis -> Action Color.**

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1703).png" alt=""><figcaption><p>Action Color</p></figcaption></figure>

2. By default, Planning sheet provides custom color ranges based on values or percentages. Click **Apply.** Find below a sample report with action colors applied to the *Profit* measure.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1704).png" alt=""><figcaption><p>Action Colors applied to the <em>Profit</em></p></figcaption></figure>

The conditional formatting side panel provides options to customize the action dots and action colors. The options are similar to the color scale, data bars, and classification which are explained [here](/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/create-rule-basic-settings/color-scale.md#c-custom-color-scale) and [here](/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/create-rule-basic-settings/classification.md#classification-ranges). The **middle percentage** option is used to set the desired median percentage value from which the spread is calculated.

### 6. Bubble charts

You can use bubble charts to gauge the magnitude of a measure instantly and for quick comparative analysis.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1698).png" alt=""><figcaption><p>Bubble chart conditional formatting</p></figcaption></figure>

The bubble size can be determined by comparing values in the same column or within the same row. You can also use a different measure to determine the size of the bubble.

<figure><img src="https://github.com/lumelinc/PowerTableDocs/blob/main/.gitbook/assets/image%20(1699).png" alt=""><figcaption><p>Bubble charts</p></figcaption></figure>

You can use the side panel to customize your rules. In the next section, we'll look at the [advanced options](/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/create-rule-basic-settings.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fabricplan.com/planning-sheets/how-tos/adding-business-logic-and-formulae/5.-conditional-formatting/one-click-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
