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
ShivaPrasad1
Helper I
Helper I

Direct Query report on SAP HANA

1.Is schedule refresh is really requied for SAP HANA data source connected through Direct Query?

2.Can we pass any parameters to data source to filter the data before retrival from data source?  

3. Is there any performace issues in SAP HANA server if it contains large data and we have connected it through Direct Query for our report?

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ShivaPrasad1,

For the first issue,schedule refresh is not required. As it’s DirectQuery mode, datasets are refreshed approximately each hour or when interaction with the data occurs. You can manually adjust the refresh frequency in the Scheduled cache refresh option in the Power BI service. See: https://docs.microsoft.com/en-us/power-bi/refresh-data#live-connections-and-directquery-to-on-premis...

 

For the second issue, you can define variables on SAP HANA side, then you can enter desired values for these variables on Power BI side to filter data. Also you can enable the “Treat SAP HANA as a relational source” option in Power BI desktop, write the filter query when connecting to SAP HANA. See: https://docs.microsoft.com/en-us/power-bi/desktop-directquery-sap-hana

 

For the third issue, the performance is just related to your data source based on the Direct query mode.

Reference: https://docs.microsoft.com/en-us/power-bi/desktop-directquery-sap-hana

      https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about

 

Regards,

Daniel He

 

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

View solution in original post

2 REPLIES 2
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @ShivaPrasad1,

For the first issue,schedule refresh is not required. As it’s DirectQuery mode, datasets are refreshed approximately each hour or when interaction with the data occurs. You can manually adjust the refresh frequency in the Scheduled cache refresh option in the Power BI service. See: https://docs.microsoft.com/en-us/power-bi/refresh-data#live-connections-and-directquery-to-on-premis...

 

For the second issue, you can define variables on SAP HANA side, then you can enter desired values for these variables on Power BI side to filter data. Also you can enable the “Treat SAP HANA as a relational source” option in Power BI desktop, write the filter query when connecting to SAP HANA. See: https://docs.microsoft.com/en-us/power-bi/desktop-directquery-sap-hana

 

For the third issue, the performance is just related to your data source based on the Direct query mode.

Reference: https://docs.microsoft.com/en-us/power-bi/desktop-directquery-sap-hana

      https://docs.microsoft.com/en-us/power-bi/desktop-directquery-about

 

Regards,

Daniel He

 

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

 Thank you @v-danhe-msft. It helps.

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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