We have recently able to connect Power BI desktop with AWS athena through ODBC,
Now we would like to publish report to Power BI services.
My query is , how to setup a gateway for AWS Athena? as I understood gateway is only applicable for on premise databases, therefore is it applicable for AWS Athena?
Thanks and Regards
Rajib
You need to download the PowerBI Gateway application and install it on the machine that is supposed to act as a gateway.
Once you have this done you need to also setup the Athena ODBC connection on this machine too, probably with a similar name. Afterwards you can configure the report to use this gateway to refresh the dataset.
Start by designing a dashboard in Microsoft Power BI Desktop with the help of the Athena data source connector for Power BI and the Athena ODBC driver.
When you finish creating your dashboard, you publish it to the Microsoft Power BI Service. To see your data on Microsoft Power BI Service, you need to install the Microsoft Power BI on-premises data gateway in your AWS account—it works like a bridge between Microsoft Power BI Service and Athena.
Finally, you configure Athena as a new data source in Microsoft Power BI Service.
Reference: https://aws.amazon.com/blogs/big-data/creating-dashboards-quickly-on-microsoft-power-bi-using-amazon-athena/
Related
I have some CSVs in AWS S3. Those are connected with a dashboard developed in Power BI desktop. The data is connected through "Simba Athena ODBC Driver".
Now, the problem is, when I am publishing that dashboard from Desktop to make that available into cloud at "https://app.powerbi.com/" it is giving error as
"There is no gateway to access the data source extension".
How to configure the gateway for S3 Bucket data for Power BI? Please help
The refreshing using the Athena driver requires a gateway.
Link: https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about#security
The article mentions
DirectQuery allows for a report viewer's credentials to be passed
through to the underlying source and security rules to be applied
there. Single sign-on is supported to SQL Azure datasources, and
through the data gateway to on-premises SQL servers.
This implies that report viewers credential is used to query underlying data.
Where as further down it contradicts this:
As discussed earlier in this article, a report in DirectQuery always
uses the same fixed credentials to connect to the underlying data
source, after it's published to the Power BI service. This behavior
applies to DirectQuery, not to live connections to SQL Server Analysis
Services, which is different in this respect. Immediately after
publish of a DirectQuery report, it's necessary to configure the
credentials of the user that will be used. Until you configure the
credentials, opening the report on the Power BI service would result
in an error.
Once the user credentials are provided, then those credentials will be
used whichever user who opens the report. In this way, it's exactly
like imported data. Every user sees the same data, unless row-level
security has been defined as part of the report.
Does direct query connect to sql server using gateway credential or report viewer credentials?
That doc is out-of-date. Single-Sign On (SSO) is available as an option for many cloud and on-prem data sources, including SQL Server and SSO is required for DirectQuery to Power BI Datasets.
All connections to remote Power BI Datasets models are made using
single sign-on.
Using DirectQuery for Power BI datasets and Analysis Services
Can Power BI be deployed on Google Cloud Platform(GCP) and Amazon Web Services(AWS)?
You can connect to GCP and AWS data sources, but the Power BI Service is a O365/Azure service only.
You can install Power BI Desktop on windows VMs in GCP and AWS, but published reports will go to the Power BI Service. You also have the option of deploying Power BI Report Server on VMs in GCP or AWS
i am using power bi report in my project but i need my graph be change according to SQL server data. it means when we will insert new data in SQL server it effect my graph.
You can use the on-premises Gateway to refresh data in a published Power BI data set with on-premise data like SQL Server data. Take a look at https://powerbi.microsoft.com/en-us/gateway/
The gateway is free, there is a personal and an enterprise flavor and it should run on a machine that is always on, so you can schedule data refresh to occur automatically.
Microsoft has already given the Documentation regarding it.
SQL Server Analysis Services live data in Power BI
In Power BI, there are two ways you can connect to a live SQL Server
Analysis Services server. In Get data, you can connect to a SQL Server
Analysis Services server, or you can connect to a Power BI Desktop
file, or Excel workbook, that already connects to an Analysis
Services server.
Important :
In order to connect to a live Analysis Services server, an On-premises Data Gateway must be installed and configured by an
administrator. For more information, see On-premises Data
Gateway.
When you use the gateway, your data remains on-premises. The reports you create based on that data are saved in the Power BI
service.
Q&A natural language querying is in preview for Analysis Services live connections.
To connect to a model from Get data
In My Workspace, select Get data. You can also change to a group workspace, if one is available.
Select Databases & More.
Select SQL Server Analysis Services > Connect.
Select a server. If you don't see any servers listed here, it means either a gateway, and data source, are not configured, or your account
is not listed in the Users tab of the data source, in the gateway.
Check with your adminsitrator.
Select the model you want to connect to. This could be either Tabular or Multidimensional.
After you connect to the model, it will appear in your Power BI site
in My Workspace/Datasets. If you were swtiched to a group
workspace, then the dataset will appear within the group.
I have a PowerBI instance and a Postgres database on Heroku. In my search the PostgreSQL connectors for PowerBI all seem to be for desktop:
https://powerbi.microsoft.com/en-us/integrations/postgresql/
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-data-sources/
Has anyone found a connector for the cloud PowerBI solution?
Thanks!
The data source "connectors" for Desktop and the service "connectors" for the cloud are different things.
If you build a report in Power BI Desktop that connects to a PostgreSQL database data source, you can publish that report to PowerBI.com (the cloud) and configure a gateway to allow scheduled refreshes directly from the cloud (i.e. once configured, you can pull data from your PostgreSQL database via the gateway into the report in the cloud on a schedule). It sounds like this is what you were looking to do.
More information about the on-premises gateway, including the list that shows that PostgreSQL can be used via the gateway for a scheduled refresh: https://powerbi.microsoft.com/en-us/documentation/powerbi-gateway-onprem/#list-of-available-data-source-types
You cannot, however, start building a blank report in the cloud and connect to an on-premises PostgreSQL database. When you start out from the cloud, you can only connect to a more limited set of cloud-based data sources (Azure and SSAS). In general, you almost always want to start building your Power BI report in Power BI Desktop and then publish it to the cloud.
The service connectors in Power BI are something entirely different. They provide a quick way to connect to other cloud-based services you may subscribe to and bring in your personal data for reporting. E.g. if you use Salesforce, the Power BI connector will connect directly to Salesforce for you. This is different to connecting to your own database directly. It's not your database you're connecting to, but your data that belongs to a 3rd party service that's already in the cloud. More information here: https://powerbi.microsoft.com/en-us/documentation/powerbi-content-packs-services/
I hope this helps clarify things.