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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors