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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
DaxPadawan
Helper III
Helper III

Publishing a report with Amazon Athena connection

Hello all! 

I connected to Athena on Desktop using the Athena Connector, although that still did require me to install and set up ODBC (Simba Athena). I published the report to Service, when I try to schedule refreshes I get this error. 

DaxPadawan_0-1672726118938.png

 

So what do I need to do to have a live connection to Athena for my dataset on Service? I did read some previous forum posts, but I am still confused. I read that I may need a gateway, but I thought gateways were for on-premises data? Do let me know if you need any other information from me. This is my first time working with Power BI, I am feeling a little out of my depth. 

1 ACCEPTED SOLUTION

Sure. Amazon Athena is just a bridge to the source like Amazon S3 (data lake). The data is hosted at the AWS cloud. In order to work with PowerBi you need a driver and a gateway. If you install that in a local VM, you are getting data from cloud (aws) to on premise (local vm) and then to cloud again (PowerBi Service). That's a waist of time and processing. In order to keep it always on cloud you can use EC2. EC2 is the name AWS Services has picked for Virtual Machines on AWS Cloud. Installing the gateway there can help keeping the refresh clean and fast.

I hope that make sense,


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

Happy to help!

LaDataWeb Blog

View solution in original post

6 REPLIES 6
ibarrau
Super User
Super User

Hi. Usually gateway is for on premise data sources, but not all cloud sources can be connected directly. Cloud sources depend on the providers PowerBi team updates. Usually when you need to install something (like a driver) to let Desktop get data, then it needs a gateway, even if the data is on the cloud. I know that Athena needs a gateway, I have connected the source before. I recommend using an EC2 for that in order to let the data be on the cloud and not downloading to a local server to upload again.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

Hello @ibarrau thank you for your reply. Can I ask you to please expound on what an EC2 is?

Sure. Amazon Athena is just a bridge to the source like Amazon S3 (data lake). The data is hosted at the AWS cloud. In order to work with PowerBi you need a driver and a gateway. If you install that in a local VM, you are getting data from cloud (aws) to on premise (local vm) and then to cloud again (PowerBi Service). That's a waist of time and processing. In order to keep it always on cloud you can use EC2. EC2 is the name AWS Services has picked for Virtual Machines on AWS Cloud. Installing the gateway there can help keeping the refresh clean and fast.

I hope that make sense,


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

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

After installing the gateway on an EC2 instance , do I have to create and publish the report from power bi desktop on this same machine , or can I use my local machine for that?

It does make sense, thank you @ibarrau! Hopefully our client is already using an EC2, because the report only needs to be refreshed once a month. Sorry to ask so much, but just in case an EC2 would not be viable (I assume the cost of one would be quite high for the utility we'd be getting out of it), is there any other way you would reccomend connecting data on Athena to Power BI service? 

Hi. You are welcome. No. That's the best I have found out when I was working on that project. I'm not an AWS expert, so I'm not sure if there is another service like databricks that can read S3 data in order to get it from PowerBI.

Regards


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

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors