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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Same sql server query gives Different Count of rows in SSMS and PBI

Hello guys,

 

To design a report ,i am using SQL server as backend data source .

but the same query gaves a different count of rows in power bi desktop and in Sql server Management Studio .

For more clarification find below snap of ssms result window and PBI query editor -> count row window.

 

pbi1.PNGSSMS.PNG

 

 

Same query gives 42666 count in SQL Server while PBI gives only 28529.

 

 

Thank You in advance 

 

Regards,

Vivek Chavan

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi guys,

 

Sorry for late response , I got a solution for this issue.

 

@Anonymous ,@v-cherch-msft  Thank You for your response.

 

Regards,

Vivek.

 

View solution in original post

5 REPLIES 5
v-cherch-msft
Employee
Employee

Hi @Anonymous

 

You may refer to below post and check if it is helpful.

https://community.powerbi.com/t5/Desktop/Rows-missing-in-imported-data-from-SQL-Connection-Power-BI/td-p/279328

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-cherch-msft 

Thanks for your response , In my case I am using Direct Query mode for extracting the data from SQL Server.

My problem still persists.

 

Could you please again check on this..!!!

 

Thanks & Regards,

Vivek Chavan 

Anonymous
Not applicable

Hi @Anonymous,

 

It's very diffcult to Answer your question by seeing screenshot's, please reproduce the issue with some sample data so that anyone can help you in much better way.

 

Anonymous
Not applicable

Hi guys,

 

Sorry for late response , I got a solution for this issue.

 

@Anonymous ,@v-cherch-msft  Thank You for your response.

 

Regards,

Vivek.

 

Hi @Anonymous

 

It seems you may try to check if there are any filters in Query Editor.

 

Regards,

Cherie

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.