> For the complete documentation index, see [llms.txt](https://docs.powerviz.ai/powerviz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerviz.ai/powerviz/activity-gauge/advance-settings-introduction/show-condition.md).

# Show Condition

The Show condition option allows you to control the visual rendering. The user can control the situations in which visuals should be rendered or not. To enable this option, the user must have a calculated column or measure of the Boolean type. When the minimum value is 1, the visual will render, and when it's 0, the visual will show the error message.

How to enable the show condition?[​](https://docs.powerviz.ai/sunburst/advanced-settings/show-condition#how-to-enable-the-show-condition)

Show bucket accepts Boolean(0/1) type column. Visual will only render if the minimum value is 1.

1. You need to add a 0/1 type column or measure in the show field. There are 4 ways to create a show field column.

o   Already exists in the source data (recommended aggregation, minimum),

o   A new column using the power query editor (recommended aggregation, minimum),

o   Calculated column using DAX (recommended aggregation, minimum),

o   DAX measure

2. Drag this column/measure into the Show field.
3. Go to Show condition in the advanced settings.
4. Enabling the option to change the error message and formatting.
5. Hit Apply, to save.

Result: If any selection is made that breaches the set condition and the value is 0, then Heatmap will not render and show the error message.

<figure><img src="/files/8o4LWLWS8dMLeaw2KZqj" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.powerviz.ai/powerviz/activity-gauge/advance-settings-introduction/show-condition.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
