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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Anonymous
Not applicable

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 @Anonymous ,

 

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!




Anonymous
Not applicable

@Idrissshatila this is an integer

@Anonymous ,

 

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!




Anonymous
Not applicable

@Idrissshatila yes the column is there..

dixus_0-1699870767409.png

 

Anonymous
Not applicable

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.