Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
h1629
Frequent Visitor

Unable to remove Blanks in Slicer

For "Materialtypecode" column I am seeing blanks

h1629_0-1747410031687.png

I have already already tried the below solutions 
1. Checked all the facts and Dimentions tables where ever MaterialTypePK or Material type code are nulls or blanks
2.Checked all the relations in the model. All were one -> Many with Single direction filtering

Here is the table stucture of Mterial type Table where in transformations I have removed blanks

h1629_1-1747410335423.png

 



2 ACCEPTED SOLUTIONS
Elena_Kalina
Solution Sage
Solution Sage

Hi @h1629 

1. Check the Number of Blank ValuesAction:

  • Select your slicer → open the Filters pane.

  • Locate your "Materialtypecode" column → check how many rows are marked as BLANK.

If the count > 0, your data contains hidden blank values that need to be resolved.

2. Create a Diagnostic Table

Goal: Identify under what circumstances blank values appear.

  Create a Manual Table Visual

         1. Add a blank table visual to your report.

         2. Drag these columns into it:

  • The "Materialtypecode" column

  • Related columns  to identify patterns.

  • add a filter in Filters pane to this table ( "Materialtypecode" column is blank)

     

What this does: shows only rows with blank values, helping you trace their source.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

Thank you.

View solution in original post

Ritaf1983
Super User
Super User

Hi @h1629 

If blanks appear in the slicer, it means there's a mismatch between the fact table and the dimension table. This happens when there are values in the fact table that don’t exist in the dimension, even if nulls and blanks were removed in Power Query. It’s usually due to relationship issues or missing keys.

Guy in a Cube has a detailed explanation:
🔗 Why am I seeing (Blank) in my Power BI visuals?

You can filter out blanks directly in the slicer using a visual-level filter, but it’s better to keep checking your model to fix the root cause.

To assist further, it's best to upload a sample PBIX file to a public cloud location and share a link.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
v-sdhruv
Community Support
Community Support

Hi @h1629 ,
Just wanted to check if you had the opportunity to review the suggestions provided?
If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You

v-sdhruv
Community Support
Community Support

Hi @h1629 ,
Just wanted to check if you had the opportunity to review the suggestions provided?
If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You

v-sdhruv
Community Support
Community Support

Hi @h1629 ,
Just wanted to check if you had the opportunity to review the suggestions provided?
If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You

Ritaf1983
Super User
Super User

Hi @h1629 

If blanks appear in the slicer, it means there's a mismatch between the fact table and the dimension table. This happens when there are values in the fact table that don’t exist in the dimension, even if nulls and blanks were removed in Power Query. It’s usually due to relationship issues or missing keys.

Guy in a Cube has a detailed explanation:
🔗 Why am I seeing (Blank) in my Power BI visuals?

You can filter out blanks directly in the slicer using a visual-level filter, but it’s better to keep checking your model to fix the root cause.

To assist further, it's best to upload a sample PBIX file to a public cloud location and share a link.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Elena_Kalina
Solution Sage
Solution Sage

Hi @h1629 

1. Check the Number of Blank ValuesAction:

  • Select your slicer → open the Filters pane.

  • Locate your "Materialtypecode" column → check how many rows are marked as BLANK.

If the count > 0, your data contains hidden blank values that need to be resolved.

2. Create a Diagnostic Table

Goal: Identify under what circumstances blank values appear.

  Create a Manual Table Visual

         1. Add a blank table visual to your report.

         2. Drag these columns into it:

  • The "Materialtypecode" column

  • Related columns  to identify patterns.

  • add a filter in Filters pane to this table ( "Materialtypecode" column is blank)

     

What this does: shows only rows with blank values, helping you trace their source.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

Thank you.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.