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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Anonymous
Not applicable

Speed up import of SAP HANA database

Hi,

 

When I am trying to import data from a SAP HANA database, it very quickly becomes large and slow datasets. The key is of course to try to limit the scope of data and the columns, but I have some limitations.  For example, I usually need to import a certain field ("order number") to get a certain measurement to work from SAP HANA ("number of items"). Is there anyway somehow make the import faster by importing all of below data, then removing the "order number" and clustering the "number of items"? For example:

 

My data looks like this and I need to import "order number" other wise the "number of items" will be imported blank.

 

Customer        Order number          Number of items          
A10010
A10110
A10210
B10310
B10410

 

But I only need the data in this format, meaning fewer rows to load.

Customer        Number of items          
A30
B20

 

Is there any way to do this and achieve faster loading times? Right now I have to load thousands of rows and it takes quite much time. Note my actual data has many more rows and columns.

 

Thanks in advance

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

 Try using "group by" in the query editor.

group by.PNG

If the data size is large, it is recommended to use the direct query mode instead of the import mode.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

dedelman_clng
Community Champion
Community Champion

Hi @Anonymous  - my suggestion would be to create a view in HANA that does the grouping, then read from that view.

 

If that is not possible, suggest you post this in the Power Query forum. The users there would be able to tell you if there is a way to group prior to ingesting all of the data.

 

Hope this helps

David

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.