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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Using gateway for Azure SQL DB and Cloudera Hive

Hi,

 

We have 2 data sources, one in Cloudera Hive and the other on Azure SQL DB.

Data size is around 200 MB on azure SQL DB and 2GB  in Cloudera Hive. The data size is not going to increase beyond another 25%.

So we intend to go with import mode for Azure SQL DB and Direct Query for cloudera.

 

Will it cause a problem in schedulingvif we try to mix Direct Query and Import mode?

I have had problems earlier working with oline source and imported data as part of the same data set.

 

Also, should I install data gateway on Azure VM for Azure SQL DB or will it auto refresh?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

Do you mean the "allow windows azure services to access this SQL database" option? If so , this option should be enabled.

In addition, if your dataset contains only Azure SQL database, gateway is not required. If you combine Azure SQL database and cloudera/other on-premises data sources in a single dataset, you need to use on-premises gateway or personal gateway.

Thanks,
Lydia Zhang

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous,

Do you want to combine the two data sources in a single Power BI Desktop file? If that is the case, it is not supported to mix DirectQuery and import mode. When using DirectQuery mode, all data imported to Power BI Desktop must come from same data source and same database.

In your scenario, you have to use import mode if you want to combine the above data sources. And you would need to install gateway to refresh your dataset. However, if your dataset only contain Azure SQL database, gateway is not required when Power BI refreshing the dataset.

Thanks,
Lydia Zhang

Anonymous
Not applicable

Thanks Lydia @Anonymous for the response.

Yes, I wanted to combine two data sources into the same PBIX.

 

 

if I correctly understand the second half of your reply - you meant that the on-premise gateway installation is not required if import mode is used for Azure SQL DB. However, we still need to enable windows service on Azure SQL DB to refresh the data right?

 

For cloudera or other non-azure cloud based DB (used in import mode) we need to use on-premise gateway.

 

Please correct me if Im wrong.

Anonymous
Not applicable

Hi @Anonymous,

Do you mean the "allow windows azure services to access this SQL database" option? If so , this option should be enabled.

In addition, if your dataset contains only Azure SQL database, gateway is not required. If you combine Azure SQL database and cloudera/other on-premises data sources in a single dataset, you need to use on-premises gateway or personal gateway.

Thanks,
Lydia Zhang

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.