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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
win_anthony
Resolver III
Resolver III

Table Filtering Removing Null Values

The goal is have slicer filter to only reflect the confirmed selection. Currently, a slicer filter is selected and the table filters to highlight the elected selection but will also include null values for all other values within the table. Hoping to find a way to only have items selected via slicer filter to only reflect the elected selection. Below is sample data + current / expected output. 

 

Your advice will be greatly appreciated. 

 

Ex: List of NBA Players and the teams they played on >> Lets assume SLICER = Michael Jordan

 

Current Output: Notice that if Michael Jordan is selected, other players are still reflected on the table

NBA_PlayerNBA_TeamTeam_Count
Michael JordanChicago Bulls1
Michael JordanWashington Wizards1
Kobe BryantLos Angeles Lakers 
Steph CurryGolden State Warriors 
Total 2

 

Expected Output: Notice that if Michael Jordan is selected, only he is reflected on the table

NBA_PlayerNBA_TeamTeam_Count
Michael JordanChicago Bulls1
Michael JordanWashington Wizards1
Total 2
3 REPLIES 3
Sergii24
Super User
Super User

Hi @win_anthony, are you using "NBA_Player" column for your slicer? Please share a screenshot of your model from PowerBI desktop. Thanks!

Hi @Sergii24 thank you for your support. My example is a very simplified version of the current project I am working up. The current project is for Locations vs All Patterns (just table name for store transactions). Below are screenshots of requested. For the purpose of this example, Location = NBA_Player. Please let me know if this works. 

Picture1.png

 

Picture2.png

 

So you want to say that using any column from "Location" table the data in "All Patterns" is not filtered correctly?

In such case, firstly, create a new table that contains a single column from "All Patterns", then apply a filter on "Location". Is your tavble filtered correctly? If yes, then there might be an issue with your "Team_Count" measure. If not, then there is an issue within a relationship, you'll need to investigate more in details what is going on (check data types, list of values, presence of leading zeros, trim values etc.) 

I hope it will help!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.