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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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