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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
dixus
Frequent Visitor

Rows not loading

Hello,

i hope somebody can explain that behavior or help me to understand what is going on here.

1. I got a view in azure sql server:

dixus_2-1699867300061.png

This is the prove that there are rows with id 9952.

2. Now switching to Power Query Editor in PowerBI and loading the view:

dixus_0-1699867151459.png

Filtering by id returns now an empty table. The rows are missing that are in the view (as shown above).

dixus_1-1699867220232.png

Now it's getting more weirdo:

dixus_3-1699867441559.png

using a where statement in the query in the query returns the rows. 

So why are the rows not included in the dataset when loading all rows? What is this? Am I missing something?
Haven't seen that behavior ever before.

Thank you!
HK

PS: updated to the newest PB Desktop version

1 ACCEPTED SOLUTION
dixus
Frequent Visitor

The problem was an error in a subquery (sort by was wrong). I think that different execution plans ran into that different outputs. Depending on the conditions.

View solution in original post

6 REPLIES 6
dixus
Frequent Visitor

The problem was an error in a subquery (sort by was wrong). I think that different execution plans ran into that different outputs. Depending on the conditions.

Idrissshatila
Super User
Super User

Hello @dixus ,

 

what's the column type that has the id?

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




@Idrissshatila this is an integer

@dixus ,

 

are you getting this column in power query, and if yes can you show it?



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




@Idrissshatila yes the column is there..

dixus_0-1699870767409.png

 

dixus
Frequent Visitor

Further investigations show that this is not a power query issue. I could reproduce that weird behavior in SQL Server Management Studio:

dixus_0-1699880142907.png


I know that's a bit offtopic. But are here database experts too that can explain, how this is possible?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors