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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
CarlBlunck
Resolver I
Resolver I

Data filtering between tables problem

Hi there,

 

I have come across something weird that I would some feedback on.  The following model, allows a user that is selected from table 1 to see data in table number 4, even though they have no corresponding data in table number 3.  However, they can't see data in table number 5.

 

CarlBlunck_0-1737030351953.png

 

CarlBlunck_1-1737030377212.png

I don't understand how this is possible because based on the design, if there is no related in table number 3, then no data should appear in table 4.  Like it does for table 5.

 

Any ideas why data is still showing in table 4?

 

Cheers

Carl

 

1 ACCEPTED SOLUTION

The only way to prevent it is to clean up the data. You need to make sure either that table 3 has all possible values which could appear in table 2 or 4, or that table 2 and 4 do not include values which are not in table 3.

Exactly how you do you this will depend on your specific case, but you could potentially do an inner join between table 3 and tables 2 and 4 to ensure that only valid values from table 3 appear in tables 2 and 4. Or append values from tables 2 and 4 into table 3 if they are not already there.

View solution in original post

4 REPLIES 4
johnt75
Super User
Super User

This could be to do with a blank row in table 3. Check that all values in both tables 2 and 4 have a corresponding value in table 3. If they don't, then a blank row will be added to table 3 automatically, and that will display the unmatched values in table 4.

@johnt75 this is exactly what is happening.  Is there anyway to get around this?

 

Thanks

Carl

The only way to prevent it is to clean up the data. You need to make sure either that table 3 has all possible values which could appear in table 2 or 4, or that table 2 and 4 do not include values which are not in table 3.

Exactly how you do you this will depend on your specific case, but you could potentially do an inner join between table 3 and tables 2 and 4 to ensure that only valid values from table 3 appear in tables 2 and 4. Or append values from tables 2 and 4 into table 3 if they are not already there.

Anonymous
Not applicable

Hi @CarlBlunck 

 

According to the screenshot of the relationships, table 3 is a dimension table.

 

Generally speaking, dimension tables should not have null or blank values. Dimension tables are used to describe the data in fact tables, and they contain all possible dimension values to ensure accurate grouping and filtering during data analysis. If there are null or blank values in a dimension table, it may lead to inaccurate analysis results. 

 

Therefore, it is recommended to ensure that the "PositionID" field (or the field that the relationship is created on) in the dimension table contain valid values when creating it. If a dimension value does not exist, you can use a default value (such as "Unknown" or "Other") to replace the null value. It also should have all possible "PositionID" values, which means those unmatched values in Fact table should exist in the dimension table. 

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.