Hiding Matrix Visual Columns in Power BI: Unveiling with Calculation Groups

One slick way to hide columns in Power BI’s matrix visuals, especially with calculation groups, is to create a separate calculation group. In this group, include all desired measures except the one you want to hide. Then, based on your conditions, toggle the visibility of the unwanted column. Voilà! 🎩💥 No more dance around column width adjustments!


In this video, we delve into the realm of calculation groups in Power BI, specifically addressing a query raised in response to a previous video. The challenge posed was to conceal a specific column, like the order count, under certain conditions within a calculation group. Let’s explore the methods and intricacies involved in achieving this objective.

Understanding the Question

The user wants to hide the order count column selectively, for instance, during the quarter-to-date (QTD) calculation. While there are various approaches, we’ll focus on leveraging calculation groups, presenting two distinct methods to attain the desired outcome.

Using Calculation Groups

Method 1: Create a Selective Metric

Under a new calculation group named "Select a Metric," distinct calculation items (sales, quantity, and order count) are defined. This approach allows for flexibility in choosing the displayed metric, reducing complexity.

Method 2: Logic within Order Count Calculation Item

Alternatively, logic is embedded within the order count calculation item, checking if the selected time intelligence period is not equal to QTD. This approach directly controls the visibility of the order count column.

Implementation and Comparison

Both methods are implemented, showcasing the visual results and highlighting the pros and cons. The second method proves to be more straightforward, directly influencing the display based on the chosen metric.

Presidence Importance

A crucial factor to consider is the precedence of calculation groups. Presidence plays a pivotal role in determining the visibility of columns. We illustrate the impact of adjusting presidence and emphasize its significance in calculation group scenarios.


In conclusion, we explore two effective methods to hide columns in a matrix visual using calculation groups in Power BI. The choice between these methods depends on your specific requirements and preferences. Understanding presidence is vital for seamless integration and avoiding unexpected column visibility issues.

Key Takeaways

  • Calculation Groups: Provide a powerful tool for dynamic column visibility.
  • Selective Metric: Creating a separate calculation group offers flexibility.
  • Presidence Matters: Adjusting presidence is crucial to control visibility effectively.


Q: Can I use other methods to achieve the same result?
A: Yes, there are alternative methods, but we focused on calculation groups for this demonstration.

Remember, mastering these techniques enhances your Power BI skills. Stay tuned for more insights, and feel free to share your thoughts in the comments! 🚀

About the Author

About the Channel:

Share the Post: