cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
capalt
Advocate II
Advocate II

Null values appearing while the dimension doesn't include any

I have a dimension EmployeeFunction who has the different functions of employees linked to a fact table EmployeeHRProgress

linked to the dimension EmployeeFunction with a 1 to many relationship.

When I put the function which is a column in EmployeeFunction in a filter, I find (Empty) values like in the screenshot :

capalt_0-1642165093316.png

When I go check the dimension it doesn't contain any empty values but the fact table contains NULL surrogate key for employees who don't have any function yet.

Is it the direction of the filter which is adding the empty values to the filter (from the dimension to the fact table) :

capalt_1-1642165552697.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@capalt , blanks can even come if your join with fact, and fact has more values than your dimension (means some null or additional value)

Refer by blank in my dimension

https://www.youtube.com/watch?v=23qemkDqMVY

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @capalt ;

I think one side of your table relationship does not have matching value that is why blank is appearing in your slicer. 

One method:

Filter on slicer visual and unselected blank().

vyalanwumsft_0-1642485383326.png

 

Or Why would there be a blank value in the slicer? The reason it appears is because of a data integrity issue. so you could fix data.

blank-value-in-the-power-bi-slicer 

 This can be done in both Fact and Dimension tables with a simple trick to remove the (Blank) value in slicer and filter .

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@capalt , blanks can even come if your join with fact, and fact has more values than your dimension (means some null or additional value)

Refer by blank in my dimension

https://www.youtube.com/watch?v=23qemkDqMVY

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

How should I remove them then ?

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Release May 2022 768x460.png

Check it out!

Click here to read more about the May 2022 updates!