Forum Discussion
Error while connecting to AmazonAthena gateway. We cannot convert the value null to type Record.
- 4 years ago
Finally I could solve this problem. Thanks for everyone who tried to help. Incase if others face the same issue, below is how it is setup for us.
1. Install the gateway and Athena ODBC connector on a ODBC machine. We DO NOT need to put this in Customer connectors.
2. Give the role based permissions (based on how you want your authentication) to the machine where above two components are installed. Make sure you are able to connect from ODBC to datasource by doing "Test Connection" in ODBC configuration dialog. There we used Authentication mechanism as "Default".
3. When creating "Datasource" in Power BI service using the "gateway" name that was setup in step1, selection the authentication as anonymous.
This should create the datasource successfully.
Hi
Thanks for your response. Does it mean everyone who is using Power BI Athena Gatway is facing this issue? How do it know if I have configured everything correctly? I could not find any documentation on how to configure Athena for Power BI gateway. It would be of great help if you can share any documentation or details steps on how to configure it. BTW I have set up the Power BI gateway on the Windows server machine.
-sandeep
- v-chenwuz-msft4 years ago
Community Support
Hi sgunnam01,
I guess you can already connect to the Amazon Athena on your machine, but if you want the dataset in the power bi service to refresh successfully, as you tried, you need to install gateway first, and you need to make gateway enable to use the custom connector.
I found some documents how to configure this, hope this helpful.
Using the Amazon Athena Power BI connector - Amazon Athena
Solved: Amazon Athena Connector - Microsoft Power BI Community
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.