We have created a power bi report in power bi desktop and we made the incremental refresh configurations and we, for the first time, published our report to pbi service:
The normal refresh button works fine in PBI Desktop, but The problem is that when trying to set a Scheduled Refresh or connecting our dataset to the a Gateway we face credential issues like shown below:
And when editing the credentials we faced this error:
And when it comes to adding a datasource to the GateWay here's the issue:
Please Help Us!!!
Could you change your data source authentication method to Windows, and provide your credentials?
The issue is that I was trying to connect to a localhost web api, but once I connected to the live one everything starts to work fine.
Related
I have a PowerBI report with 2 tables sourced from separate web API calls to a similar service, let's call it MyService. The service returns json. The report refreshes perfectly within PBI Desktop. The report publishes to PowerBI.com where it runs without a hitch. On-demand refresh of the report's dataset in the PBI Service works perfectly too.
I can't schedule a refresh for this report because the option is greyed out. There is an error reported in the Data source credentials section where one of the two Web sources reports it cannot connect to MyService. The error is... "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
Attempting to edit the credentials for the failing connection results in a 500 Internal Server Error.
This error is unexpected because I understood the on-demand refreshes & scheduled refreshes would use the same data source(s). There is no where to specify different data sources/credentials for on-demand vs. scheduled so I just assume they share the same sets of credentials.
Is something weird going on or does my understanding of the innards of the PBI Service need realignment?
Resolved via workaround...
PROBLEM
Dataset credentials cannot be updated without causing 500 error. Invalid credentials disables scheduled refresh options. When publishing a .pbix file via PBI Desktop to PBI Service it may fail to update the dataset connection in the service, leaving it in an invalid state. Refreshes cannot be scheduled while there are any invalid dataset connections.
WORKAROUND
Open the same .pbix file via PBI Service (i.e. PowerBI.com --> GetData), and the dataset connection will be updated. Credentials can now be set without error, thus allowing scheduled refreshes to be set.
If schedule refresh to be worked without gateway, then your data source should be online/cloud or on sharepoint. else you require gateway. ensure all your data sources for .pbix file has cloud only/share point only as source, if its from offline file & online then simply scheduling does not work, you need to setup gateway.
I´m using the Power BI Service (https://app.powerbi.com) to present important KPI´s. Now I move to a new System which is fully based on Azure. The main database is a PostgreSQL Instance (DbaaS - https://azure.microsoft.com/en-us/services/postgresql/).
Connecting to the database from my local Power BI Desktop Version and querying data works perfect. But as soon as I deploy the Report on Power BI Service, I´m unable to automate data refresh cause it seems that the Power BI Service can only connect to the PostgreSQL instance on Azure using a local Data Gateway.
In fact it doesn´t make much sense to use an on-prem connector to bring data from one cloud application to another.
Does anybody know how I and if I can connect Power BI Service and PostgreSQL Database on Azure directly?
Thanks a lot in advance & best,
Michael
It seems that you need to configure a gateway to make it working https://blogs.msdn.microsoft.com/chmitch/2018/06/04/complete-guide-to-setting-up-power-bi-connecting-to-postgres-w-refresh-enabled/
Hope it helps.
I did not go so far myself. My expectation was to connect Postgres to Power BI in a few clicks and get a dashboard online. I was very surprised that it needs dancing with ssl certificates, configuring gateway o_O.
I have developed some reports using power bi desktop which is using IBM DB2 as datasource. I have installed On-premises data gateway in my power bi system and configured. I have to create ibm db2 datasource connection in power bi web to make live connection with my IBM DB2 database. When i tried to create datasource connection it showing me unable to connect error message.I have given correct credentials but still it showing the same error. Am i missing anything? any special permissions needed to provide from IBM DB2 database admin side? Please help me to solve this issue.
Thanks in advance,
Kannas
I had an identical error. The issue appears to be related to the credentials given in the data source settings when configuring in the online service. In my case I had not entered the domain with the username.
Each time we look to create a collection on the discovery GUI using the API we are getting API timeout issues. This happens very erratically.
IBM provides one Website to see if the Services and Systems work fine. The site shows if have Maintenance and the Problems with the services.
I had the same problem with another service. My service works fine now. Verify if you service are ok and check if the service was with status no known issues too.
Check the error:
See the Website.
I am new to API connect and I'm trying to create a simple loopback application and publish the product and API to bluemix.
Steps I've followed so far:-
On Bluemix:-
Added a API connect service to my organization ('subhash.pesh#gmail.com'), US South region and and test space.
Default Sandbox catalog created in APIConnect.
On Local machine:-
Got the APIC CLI
Created a loopback app by running: apic loopback
Ran the API designer by using apic edit
Express server started listening in on a port and the GUI editor opened up in my default browser.
Tried to publish the product by adding a bluemix target.
Here is where I'm facing the issue:
I'm able to enter my bluemix credentials and it chooses US South region by default, but I'm not able to see any organizations within the next dropdown.
I've tried doing this while the app is running locally and while it's stopped (I dont think it should make any difference, but I was getting desperate)
Ive attached the pictures of the publishing option/ empty organization dropdown here:-
Organization dropdown can be seen here
Unable to see any of my organizations, dropdown is blank
I'm sure I'm missing something vital, but I'm just not able to figure this out.
I've tried going through the documentations and video tutorials and by their account, I should be able to select the organizations and then the catalog to which I want to publish the API.
EDIT: I observed something while trying to publish from CLI:
After logging in to us.apiconnect.ibmcloud.com, when I run
apic orgs --server us.apiconnect.ibmcloud.com
I get a blank response.. Not sure why my bluemix organizations are not being recognized
And when I run
apic catalogs --all-organizations --server us.apiconnect.ibmcloud.com
I get
Error: No catalogs found in all organizations
Error: No catalogs found in org null