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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

DirectQuery with HANA calculation views : Error

Hello

 

I am  unable to connect HANA Calculation view using DirectQuery on PowerBI Desktop.

Is it supported?

I read the documentation which suggests that HANA Direct query is supported, but it doesn't specify whether it works with HANA Calculation view/Analytical view as well. 

 

I am able to connect to HANA with SQL query in DirectQuery mode, but the issue comes while using any of the HANA information view. The error I get is "Combining DirectQuery and Import isn't supported". My model has only this calculation view as the only query.

 

Would appreciate if anyone has any experience in this.

 

Thanks

Sumit

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I finally logged a support ticket with Microsoft helpdesk and eventually got it to work.

The trick was to clear the datasource settings and start over. Even though my model/workbook didn't have any other datasource for some reason it was still thinking there is an import datasource within my workbook. This refresh worked for me.

View solution in original post

4 REPLIES 4
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

What version of Power BI Desktop are you using? According to your description above, I just tested it with the latest version of Power BI Desktop(2.48.4792.721 64-bit (July 2017)). I can successfully connect to HANA Calculation View in DirectQuery mode, and use the HANA information view on the report without this issue.

 

If the issue persists, I would suggest you create a support ticket on Power BI Support page for better assistance on it. Smiley Happy

 

Regards

Anonymous
Not applicable

I finally logged a support ticket with Microsoft helpdesk and eventually got it to work.

The trick was to clear the datasource settings and start over. Even though my model/workbook didn't have any other datasource for some reason it was still thinking there is an import datasource within my workbook. This refresh worked for me.

Anonymous
Not applicable

Thanks @v-ljerr-msft for your reply.

I am also using Power BI Version: 2.48.4792.721 64-bit (July 2017) and connecting to HANA DB version 1.00.112.02.1459851171.

I still can't get it to work - Prompts error that direct query and import cant be combined. If I write direct SQL, it works without any issues. I will create a support ticket as suggested.

 

Regards

SumitError

Anonymous
Not applicable

Any inputs from anyone?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.