Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

SQL for Confluence
Results will update as you type.
  • Get started
  • Data Center 11.x
  • Cloud
    • Overview - cloud
    • Key concepts - cloud
    • SQL Query macro - cloud
    • Use cases - cloud
      • How to format the Date column type
      • How to hide and show columns
      • How to format the Numeric column type
      • How Administrators can protect from XSS vulnerabilities in SQL Query macro
    • Installation and configuration - cloud
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    How to hide and show columns
    Updated Aug 11

    How to hide and show columns

    The SQL Query macro editor gives the option to hide or show certain columns. This article explains the steps to learn how to hide or show the required columns. 

    Instructions

    1. In the relevant Confluence page, add or update the required SQL Query macro. 

    2. Specify the required Data source profile, enter the SQL query in SQL statement, and click Run to view the retrieved data if the macro editor is opened for the first time, or proceed to the next step.

    3. Click the down arrow above the column to be hidden and click the Hide column menu option.

    The selected columns are hidden and a small solid black dot (•) is shown above the column name before the now hidden column.

    1. Click the black dot (•) and select Show column to make the hidden column visible again.

    2. Publish the page. Note that only visible columns are shown, and the black dots (•) are not displayed once the page is published.

    Additional references

    • Key concepts

    • SQL Query macro

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 21, "requestCorrelationId": "92349fa75ef8429095f9566c92bbd75c"}