Dashboard - Textboxes

Background

It is often necessary to use text to organize your thoughts and communicate insights gleaned from charts, tables, or other data visualizations. Redbird allows users to not only implement basic textboxes in their dashboards but also to incorporate dynamic text, allowing users to tie the text to calculations or filters run on an underlying dataset, which can be helpful to ensure data integrity and automate workflows.



How to Add a Basic Textbox

Once you have identified the dashboard and view you are interested in updating, follow the below steps to add a textbox:

  1. Click Add Object in the left Actions Panel and select Textbox.




  1. For this example, we will be creating a new textbox. Add text to the newly created textbox.




How to Insert Dynamic Text Driven by a Calculation

After you have created a textbox, you may decide to refer to a calculated number from one of your datasets. For example, you may want to highlight a single number in your dashboard (e.g. sum of sales, maximum orders, average wait time). Instead of doing a calculation outside of Redbird and manually adding it to your dashboard, you can use dynamic text to run a calculation on a dataset and tie the result to text within your textbox. You can also update dynamic text to reference new datasets as data is updated over time.

In the example below, an analyst working at a superstore is going to use dynamic text to update his dashboard with the total quantity of chairs sold.

  1. Click on the textbox you are interested in updating. This will select your textbox.




  1. Click into the part of the text where you would like dynamic text to render.




  1. Click Dynamic Text on the upper left-hand side of the textbox. This will bring you to the dynamic text configuration page.
  2. Configure the dynamic text by providing:
    1. Configuration Name: The configuration name should help you reference the data point you want your dynamic text to represent. It will appear in the textbox as you make updates to your text.
    2. Dataset: The dataset is the underlying data that you want to run a formula on.
    3. Configuration Type: Select Data Driven. This will provide a specific set of inputs that need to be completed to run a calculation on your dataset properly.




  1. Complete the necessary inputs.
    1. Formulas: Calculations that can be run on a dataset. There are two types of formulas you can use, accessed via the Formula mode toggle:
      1. Basic formulas (count, sum, average, mode, max, and min) that you can access from the drop-down menu. In our example, we want to use the sum calculation.
      2. Advanced formulas which you can type in the free-form expression box or enter via the formula builder by clicking Edit next to the free-form box. In this formula builder modal, you can also make use of other advanced building blocks such as calculated columns or scopes. See here for more on configuring advanced formulas.
    2. Calculation Column: Calculation Column is the column in your dataset that you want to run a calculation on. In our example, we want to run the sum calculation on the Quantity column, as this denotes the amount sold.
    3. Format: This is the text format in which you want your dynamic text to render. In our example, we want our data returned as a whole number.
    4. Show + sign: In the case of outputting a number you can choose to show a "+" when the number is positive.
    5. Filters: Filters will allow you to run a calculation on data that meets specific criteria. In our example, of all the product types that our company sells, listed in the Category column, we are only going to focus on chairs.
    6. More options: Here you can choose to calculate using distinct values.




  1. Click Done. This will return you back to the dashboard workspace.
  2. Review your text to ensure that the calculation meets your expectations and that the spacing is correct.




How to Insert Dynamic Text Driven by a Filter

After you have created a textbox, you may decide that you want to update your textbox by filtering data within a dataset. For example, an analyst for a large corporation may need to produce a similar dashboard for several regional stores, which could require her to manually update the region name in each textbox. Redbird can help you automate this type of workflow using dynamic text.

  1. Click on the textbox you are interested in updating. This will select your textbox.
  2. Click into the part of the text where you would like dynamic text to render.
  3. Click Dynamic Text on the upper left-hand side of the textbox. This will bring you to the dynamic text configuration page.
  4. Configure the dynamic text by providing:
    1. Configuration Name: The configuration name should help you reference the data point you want your dynamic text to represent. It will appear in the textbox as you make updates to your text.
    2. Dataset: The dataset is the underlying data that you will use to filter.
    3. Configuration Type: Select Filter Driven. This will provide a specific set of inputs that need to be completed to filter your dataset.




  1. Update the Format by selecting the Filter tab in the configuration modal. The format dictates how you want your dynamic text to render. In our example, we want the result to be returned as text.




  1. Click Done. This will return you back to the dashboard canvas.\



  1. In this case, for the number of chairs sold to update based on the region, you need to update the other dynamic text element and add the region filter. To do this, first click on the textbox to see its contents, then double click on the dynamic text element you wish to edit (in this case "Total Chairs Sold In 2023).




  1. Then click Add Filter and select the column and values you wish to apply. Click Done. This will return you to the dashboard canvas.\



  1. Review your text to ensure that the calculation meets your expectations and that the spacing is correct.


How to Style a Textbox

Once you have added a textbox to a dashboard, you most likely will want to update specific styles of the text or the textbox itself to ensure that your dashboard aligns with your company’s style guide.

  1. Click the textbox you want to update. This action will highlight the textbox in the canvas and update the Actions Panel on the left to include a list of styling options. These options include:
    1. Font
    2. Format
    3. Border
    4. Background




  1. Utilize the styling options to ensure the presentation meets your design requirements.
  2. Move and resize the textbox within the workspace to ensure proper positioning of your text.
🚧

Important:

To update characteristics of the text including the font, size, color or style, ensure that you highlight the specific text you wish to update prior to using any of the tools.