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
lavanyak
Advocate I
Advocate I

Limiting Rows while Exporting from SQL Server

Hi,

could someone please help me how to limit the rows while importing data from sql server?

 

Thanks in advance!

Regards

Lavanya

 

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi lavanyak,

 

You can use SQL statement to filter rows when you import data from sql server.

 

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi lavanyak,

 

You can use SQL statement to filter rows when you import data from sql server.

 

Regards,

Jimmy Tao

Yes, Thankyou I got how to do it through Mcode in power query.

 

Thanks for your response.

 

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.