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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
GD-L
Frequent Visitor

SAP HANA DirectQuery Column Limit

I'm working with a DirectQuery to SAP HANA.

In importing columns the full calculation view has 236 columns. If I try to import all columns via DirectQuery, PBI returnns the error:

GDL_0-1626276510946.png

There are no additional changes aside from adding dimensions and measures.

It appears there's a limit of approx 221columns.

Is this a known issue? According to PBI Documentation the limit should be closer to 16K columns?

1 REPLY 1
Anonymous
Not applicable

Hi @GD-L 

For reference: Connect to SAP HANA databases in Power BI

Limitations and troubleshooting of SAP HANA

When using SAP HANA with Visual Studio, ensure that you've installed compatible versions. For example, when working with Visual Studio 32 bit, make sure you have HANA client 32 bit installed as well.

There are also a few limitations to using SAP HANA, shown below:

  • NVARCHAR strings are truncated to a maximum length of 4000 Unicode characters.
  • SMALLDECIMAL isn't supported.
  • VARBINARY isn't supported.
  • Valid Dates are between 1899/12/30 and 9999/12/31.
  • SAP HANA refresh with SSO is currently not supported for Excel workbook refreshes at the current time. To refresh the data in Power BI, you can use a Power BI report with SAP HANA SSO.

Please check whether you can import from SAP HANA instead of convert to import from direct query.

I found some offical blogs and I hope they could help you:

Connect to SAP HANA data sources by using DirectQuery in Power BI

SAP HANA database

 

Best Regards,

Rico Zhou

 

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

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors
Top Kudoed Authors