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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mehmets
New Member

Power BI data source query returns more rows than sql server query

Hi,

I am puzzled to see more rows returned by Power Query than SQL Server query on SSMS.They are same query and basic select all statements. I am using same credentials (windows auth.) for both. Can anybody tell what would be  possible causes?

 

Thanks

1 ACCEPTED SOLUTION

Oh I was using wrong servers. I made the rookie mistake🙄

View solution in original post

3 REPLIES 3
edhans
Super User
Super User

Can you provide a sample of your M code? The only way you can get "more records" is if you do a merge where table b has multiple records to match with table a, like Header and Details records.

 

How to get good help fast. Help us help you.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Hi Edhans,

I have used wrong terminology. I have used same sql query as data source and I get roughly more than 1k rows. I dont merge with another table. I even removed the predicates in my query to get same counts. They are still returning different counts. 

 

Thanks 

Oh I was using wrong servers. I made the rookie mistake🙄

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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