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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

Direct Query returns spotty data

I have two datasets: one that is populated with employee names and employee Ids, and another dataset that is populated with general information about employees including data such as their phone number, address, etc. The two datasets have a relationship defined based on employee Id. 


I have a slicer that is a drop down that is populated with the employee names from the first dataset. The second dataset populates a table. So, when an employee name is selected in the drop down, the employee's corresponding general information is populated in the table based on the relationship between the two datasets. Note: both of these datasets are views in the database.


My issue is that the data that comes back from the second dataset appears to be spotty. The majority of data comes across from the datasets correctly, but there is some missing data in both datasets. However, if I run the views directly in the database I get all of the data I would expect. It appears that somehow Power BI is just not returning some rows even though the views do. I have attempted to resolve this by using both direct query and import but I run into this issue with either implementation.

1 REPLY 1
dax
Community Support
Community Support

Hi @Anonymous , 

If possible could you please inform me more detailed information(such as your expected output and your sample data )? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors