How to Remove Blank from Slicer in Power BI

Cody Schneider9 min read

Seeing "(Blank)" pop up in a Power BI slicer is a common and frustrating distraction that can make your reports look unprofessional and confusing. This isn't a bug, but rather Power BI's way of telling you there's a disconnect in your data. This tutorial will walk you through exactly why this happens and provide four distinct methods to remove it, ranging from a quick fix to the best long-term solution.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Why Does "(Blank)" Show Up in a Slicer?

Before jumping into the fixes, it helps to understand the root cause. The "(Blank)" value almost always points to a data integrity issue, specifically a problem with the relationships between your tables. Think of it as an item with no category.

Here are the two most common scenarios:

  • Mismatched Relationship Keys: This is the number one cause. Imagine you have a Sales table and a Products table, linked by ProductID. If your Sales table contains a record for a ProductID that does not exist in your Products table, Power BI doesn't know which product name to associate with that sale. When you create a slicer using the ProductName column from the Products table, Power BI adds "(Blank)" as a placeholder to represent those uncategorized sales.
  • Actual Blanks or Nulls: Sometimes, the issue is simpler. The column you are using in your slicer may contain actual blank cells or NULL values directly from your source data (like an Excel sheet or a database). Power BI simply represents these empty values as "(Blank)" in the slicer.

Understanding which situation you're in helps you choose the right method below. Let's start with the simplest fix and work our way to the most robust solution.

Method 1: The Quick Fix with a Slicer Filter

If you need to fix a report immediately or don't have the permission to edit the underlying data model, using a simple visual-level filter is your fastest option. This method essentially tells the slicer to ignore the blank value and hide it from view.

This is a patch, not a permanent fix, but it's incredibly effective when you're in a pinch.

Step-by-Step Instructions:

  1. Select Your Slicer: Click on the slicer visual on your Power BI report canvas to make it active.
  2. Open the Filters Pane: You'll find the Filters pane to the right of the Visualizations pane. If it's collapsed, just click on its title to expand it.
  3. Find the Slicer's Field: In the Filters pane, under the "Filters on this visual" section, you’ll see the data field that your slicer is based on.
  4. Apply the "Is Not Blank" Filter:
  • Click on that data field to expand its options.
  • Change the "Filter type" drop-down from "Basic filtering" to "Advanced filtering".
  • In the "Show items when the value:" settings, select "is not blank" from the dropdown menu.
  • Click the gold-colored "Apply filter" button.

Instantly, the "(Blank)" option will disappear from your slicer. All done! Be aware that you will need to repeat this process for any other slicers where the same issue appears.

Pros: Fast, easy, and doesn't require altering your data model or Power Query transformations.

Cons: Hides the symptom instead of curing the disease. The underlying data integrity issue still exists, which might cause problems in other calculations or visuals.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 2: Clean the Data at the Source with Power Query

For a more permanent solution, it's best to address the problem before the data is even loaded into your Power BI report. The Power Query Editor is your tool for this job. This method involves filtering out the rows that are causing the blank values in the first place.

Use this method when you know that rows containing blanks or nulls in a specific column are invalid or unnecessary for your analysis.

Step-by-Step Instructions:

  1. Open Power Query: In the Power BI Desktop "Home" tab, click on the "Transform data" button. This will launch the Power Query Editor in a new window.
  2. Navigate to the Right Table: In the "Queries" pane on the left, select the table that contains the column used in your slicer (e.g., your "Products" table or your "Sales" table).
  3. Locate the Relevant Column: Scroll horizontally to find the column that's creating the blank values.
  4. Filter Out Blanks and Nulls: Click the small filter arrow in the column header for that column. This will show a dropdown list of all the values in that column.
  5. De-select the Empty Values: Uncheck the boxes next to (null) and any entry that appears as an empty value (often shown simply as " "). Then, click "OK".

Power Query will automatically add a "Filtered Rows" step to the "Applied Steps" pane on the right. This action is now part of your data refresh process and will be applied automatically every time your data updates.

Finally, click "Close & Apply" in the top-left corner of the Power Query Editor to save your changes and return to your report. Your slicer will now be free of the "(Blank)" value, and your data model will be cleaner and more efficient.

Pros: A robust, permanent fix that cleans the data before it loads. Improves overall model health and solves the issue for all visuals, not just one slicer.

Cons: Removing rows might unintentionally exclude important data. For example, a sales row with a missing ProductID is still a sale, and filtering it out would change your total revenue.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 3: Address Relationship Gaps with a DAX Measure Filter

This is a more surgical approach that works best for the mismatched relationships scenario. Instead of removing entire rows of data, you'll use a DAX measure to control which items appear in your slicer. You’ll create a simple measure that checks if a product (in your dimension table) has any corresponding sales (in your fact table) and then use that measure to filter the slicer.

This method filters the "Products" slicer to only show products that actually exist in your "Sales" data, gracefully excluding the "(Blank)" without deleting any sales information.

Step-by-Step Instructions:

  1. Create a New Measure: Right-click on your sales or fact table (e.g., "Sales") in the "Data" pane and select "New measure".
  2. Write the DAX Formula: In the formula bar that appears, enter a simple DAX formula to count the related sales. A great option is:
Has Transactions = COUNT(Sales[SaleID])

Replace Sales[SaleID] with any column from your fact table that won't ever be blank for a valid entry, like a transaction ID. Press Enter.

  1. Add the Measure to the Slicer Filter:
  • Select the slicer you want to fix.
  • Go to the "Filters" pane.
  • Find the new measure you just created (e.g., Has Transactions) in your "Data" pane and drag it into the "Filters on this visual" section.
  • In the filter card for the new measure, select "is not blank" from the "Show items when the value:" dropdown.
  • Click "Apply filter".

This technique tells your slicer: "Only show me Product Names that have at least one transaction." Since the "(Blank)" item represents transactions with no valid product name, the measure returns a blank for it, and the filter then hides it from view. It's a clever and clean way to solve the issue while preserving all your fact table data.

Pros: Very precise, doesn't remove any of your core sales data, and teaches a valuable DAX technique for filtering visuals.

Cons: Adds another measure to your model and requires a basic understanding of how DAX filter contexts work.

Method 4: The Best Long-Term Solution - Fix the Underlying Source Data

All the methods above effectively solve the visual problem in Power BI. However, the true best practice is to fix the problem at its origin: the source data system. A "(Blank)" value related to relationships is a clear sign that your data pipeline isn't clean.

This often involves collaboration with a database admin or the person responsible for managing the application where the data originates (e.g., your e-commerce platform, CRM, or ERP).

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Steps for Investigation and Correction:

  1. Identify the Orphaned Records: Pinpoint the exact rows causing the issue. A great way to do this is in Power Query.
  • From the "Home" tab, choose "Merge Queries" on your fact table (e.g., Sales).
  • In the Merge dialog, choose your dimension table (e.g., Products) as the second table and select the key column (e.g., ProductID) in both.
  • Use a "Left Outer" join type. This will keep all rows from your Sales table and find matches in the Products table.
  • When the merge completes, you'll see a new column. Click to expand it, and look for rows where all the columns from the "Products" table are null. These are your problem records.
  1. Trace Back to the Source: With the problem IDs identified, go back to your source system. Why do these sales records have a Product ID that doesn't exist? Was a product deleted? Was data entered incorrectly?
  2. Correct or Re-Categorize: The best fix is to correct the data in the source system. This might mean:
  • Assigning the correct ProductID to the orphaned sales record.
  • Creating a default entry in your "Products" table, like "Unknown Product" or "Discontinued Item," and assigning those sales records to this new ID.

By fixing the data at the source, you ensure data integrity across your entire organization, not just in Power BI. Your numbers will be more accurate, your reports more reliable, and you'll prevent the same "(Blank)" issue from haunting future analyses.

Pros: The gold standard. It permanently resolves the root cause, ensures data accuracy, and builds trust in your reports.

Cons: Time-consuming and often requires cross-department collaboration and access you may not have.

Final Thoughts

Removing the "(Blank)" value from a Power BI slicer usually comes down to dealing with incomplete data. Whether you choose a quick visual filter, clean your data in Power Query, use a DAX measure, or fix the source system, you now have a full toolset to tackle the problem and create clean, professional-looking reports.

Manually hunting down data mismatches and building reports can feel like an endless cycle. That's exactly why we built Graphed. Instead of wrestling with filters and ETL processes, you can connect your business apps in seconds and simply ask what you want to see. Just describe the report you need in plain English - like "Show me last month's sales by product category" - and get a live, interactive dashboard built for you instantly, without any "(Blank)" values in sight.

Related Articles

How to Enable Data Analysis in Excel

Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!