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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.