How to Remove Column from Hierarchy in Power BI

Cody Schneider••8 min read

Removing a column from a hierarchy in Power BI seems like it should be a simple drag-and-drop or a quick right-click, but as you've likely discovered, it's not quite that intuitive. This common point of frustration can lead to wasted time clicking around, trying to find a hidden menu. This article will walk you through the clear, step-by-step process to correctly remove a column from an existing Power BI hierarchy and explain what to look out for afterward.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

What is a Hierarchy in Power BI?

Before jumping into the "how," let's quickly clarify what hierarchies are and why they're so useful. In Power BI, a hierarchy is a defined, logical structure that groups related columns together to enable drill-down and drill-up functionality in your reports. Think of it as creating a pre-set path for deeper analysis.

For example, a standard Date Hierarchy might be structured as:

  • Year
  • Quarter
  • Month
  • Day

When you use this hierarchy in a visual, your users can start by viewing data aggregated by Year. Then, with a single click, they can "drill down" to see the data broken out by Quarter, then Month, and finally by Day. This creates a powerful and intuitive interactive experience without cluttering your report with multiple separate visuals.

Common examples of hierarchies include:

  • Geography: Country → State/Province → City → Postal Code
  • Product: Category → Subcategory → Product Name → SKU
  • Sales Team: Region → Manager → Sales Representative

Why Are Hierarchies So Valuable?

Creating hierarchies is a best practice in data modeling for a few key reasons:

  • Improved User Experience: They provide a natural and expected path for users to explore the data. Instead of needing multiple charts to show different levels of granularity, users can do it all within one visual.
  • Cleaner Fields Pane: Instead of having several related fields listed individually (Year, Quarter, Month, Day), you can group them under a single, expandable hierarchy. This makes your data model cleaner and easier for you and other report builders to navigate.
  • Simplified Report Building: You can drag the entire hierarchy into a visual's axis at once, instead of adding each field individually and then organizing them. It saves time and ensures consistency across your reports.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Reasons for Removing a Column from a Hierarchy

Data models and reporting needs evolve. What was once a useful part of a hierarchy might become unnecessary or even unhelpful. Here are a few common reasons you might need to make this change:

  • Irrelevant Level of Detail: Perhaps your original date hierarchy included "Day," but you've found that your stakeholders only ever analyze trends at the monthly, quarterly, or yearly level. Removing the "Day" level simplifies the drill-down path and removes a step that no one uses.
  • Data Granularity Mismatch: You might create a geographic hierarchy like Country → State → City, but later realize your sales data is only available at the state level. The "City" level in the hierarchy is empty and just adds a confusing, blank step in the drill-down experience.
  • Business Logic Changes: A company reorganizes its sales regions. The old hierarchy of Region → Territory → Representative is no longer accurate. You might need to remove "Territory" and restructure the hierarchy completely.
  • Model Cleanup and Performance: As your Power BI files grow, simplifying the model becomes more important. Removing unused or redundant levels in hierarchies is a small but effective way to clean up your model and sometimes offers minor performance improvements.

The Correct Way: A Step-by-Step Guide to Removing a Column

Trying to right-click the specific column inside the hierarchy in your Fields pane won't give you a "remove" option. The trick is to edit the hierarchy from its top level. Here’s the most common and reliable method to do it.

Step 1: Locate the Hierarchy in the Fields Pane

First, open your Power BI Desktop file. On the right side of your screen, you'll see the Fields pane, which lists all of your tables and the columns within them. Find the table containing the hierarchy you want to edit and expand it if it's not already. You'll see your hierarchy listed with a special icon, typically showing multiple stacked layers.

Example: You want to remove 'Quarter' from your 'Date Hierarchy' in the 'DimDate' table.

Step 2: Right-Click the Hierarchy Name

This is the most important step. Do not right-click on the individual column you want to remove. Instead, move your cursor over the name of the hierarchy itself (e.g., 'Date Hierarchy') and right-click. This will bring up a context menu with a different set of options.

Step 3: Select "Edit hierarchy"

From the context menu that appears after right-clicking the hierarchy name, you will see an option labeled "Edit hierarchy." Click on it. This action opens a new dialog window specifically for managing the structure of that hierarchy.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Step 4: Select the Column and Remove It

Inside the "Edit hierarchy" window, you'll see a list of the columns that currently make up your hierarchy. Click on the column you wish to remove to select it. Once it's highlighted, you'll see options to either move it up or down or remove it entirely. Click the 'X' icon next to the selected column name, or a similar 'Remove' button, to take it out of the hierarchy.

Step 5: Click "OK" to Confirm

After you've removed the column, click the "OK" button at the bottom of the "Edit hierarchy" window. This saves your changes and closes the dialog box. You should now see the Fields pane update almost immediately, reflecting the new structure of your hierarchy.

An Alternative Method: Using the Model View

For those who prefer working in the Power BI Model view, you can also manage hierarchies directly from the properties of a table. This can be faster if you are already working on your data model's relationships.

Step 1: Switch to the Model View

In Power BI Desktop, click on the Model view icon on the left-hand navigation bar (it looks like three connected boxes).

Step 2: Select the Table and Find the Hierarchy

In the Model view, click on the table that contains the hierarchy you want to edit. With the table selected, look at the Properties pane (usually on the far right). If it's not visible, go to the "View" tab on the ribbon and make sure "Properties" is checked.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 3: Edit the Hierarchy in the Properties Pane

Within the Properties pane, you will see a section called "Hierarchies." Expand it to see all hierarchies in that table. Click on the name of the hierarchy you want to change. This will display the list of columns within it. Simply hover over the column you want to remove and click the 'X' that appears to its right. The change is saved automatically.

What to Check After Removing a Column

Changing your data model, even in a small way, can have effects on your report. After you remove a column from a hierarchy, it's wise to do a quick check of your report pages.

  • Impact on Visuals: Any chart, table, or slicer that was using the hierarchy and was drilled down to the level you just removed will either reset to a higher level or might show an error. Go through your report and ensure all visuals are displaying data as expected. The drill-down path has been altered, so test it to confirm the new behavior is correct.
  • Bookmarks and Saved Views: If you use bookmarks to save specific report states (like a chart drilled down to a specific level), any bookmark that depended on the removed column may no longer function correctly. It's a good practice to test your bookmarks after making model changes.
  • Understanding The Underlying Field Still Exists: It's important to remember that removing a column from a hierarchy does not delete it from your table. The original field (e.g., 'Quarter') is still available in your Fields pane and can be used as a standalone column in any visual.

Final Thoughts

Modifying a hierarchy in Power BI is a perfect example of a task that’s very simple once you know the secret - right-clicking the hierarchy's name itself, not its components. Following the steps laid out here will help you keep your data models clean, relevant, and perfectly aligned with your business reporting needs.

Building effective reports often involves countless small adjustments like this. You spend time tweaking models, finding the right visualization settings, and making sure hierarchies work perfectly. We found this manual process time-consuming, which is why we built Graphed. It's a far simpler way to get the insights you need from your sales and marketing data. Just connect your apps like Google Analytics, Shopify, or Salesforce, and ask for the dashboard you need in plain English - like "create a report showing sessions vs. Shopify revenue by campaign." Graphed builds the live, interactive dashboard for you, saving you from the hours of manual setup in tools like Power BI.

Related Articles