Quantcast
Channel: All Power Query posts
Viewing all 122374 articles
Browse latest View live

Re: Unable to connect Power BI to SQL server db on the same computer

$
0
0

I have always the error:

 

"Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server.
The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow
remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

 

 

and ONLY with this db and ONLY when I write a query, if I import the whole tables everything is ok

 

PLEASE HELP HELP HELP !!!!!!!!!!!!!!!!!!!


Re: Proper way of interacting with Redshift inside private subnet in AWS

$
0
0

 Replicating those steps for the personal-mode gateway works (running on the same machine where the enterprise runs), but the enterprise doesn't.

Re: Can I connect to a Amazon S3 bucket using Power Query?

$
0
0

Hi,

This is great, I am trying to understand, if in my case I have a CSV, what do I replace this part of code with?

 

// My file is a gzipped utf-8 tsv, so I need to decompress it
    // and tell the csv parser the delimiter and encoding
    binary = Binary.Decompress(raw, Compression.GZip),
    csv = Csv.Document(binary, [
        Delimiter="#(tab)",
        extraValues=ExtraValues.Ignore,
        Encoding=65001]) // 65001 is utf8

 

Or I just ignore?

 

Thank you,

 

Best 

Re: Can I connect to a Amazon S3 bucket using Power Query?

$
0
0

Hi,

This is great, I am trying to understand, if in my case I have a CSV, what do I replace this part of code with?

 

// My file is a gzipped utf-8 tsv, so I need to decompress it
    // and tell the csv parser the delimiter and encoding
    binary = Binary.Decompress(raw, Compression.GZip),
    csv = Csv.Document(binary, [
        Delimiter="#(tab)",
        extraValues=ExtraValues.Ignore,
        Encoding=65001]) // 65001 is utf8

 

Or I just ignore?

 

Thank you,

 

Best 

Re: Proper way of interacting with Redshift inside private subnet in AWS

$
0
0

Check if driver in ODBC strings is same on service and desktop, driver on my config is "Amazon Redshift (x64)"

 

On desktop when creating a Data source(DSN) instead of selecting "Amazon RedShift ODBC DSN", select none and configure the Connection String with the same Connection String you see on the power BI online service.

 

Hope that helps. if it works feel free to update as comment to my answer here https://stackoverflow.com/questions/48773043/connecting-to-private-amazon-redshift-from-powerbi-service.

Date issues with Sharepoint file sources

$
0
0

The March update (2.56.5023.861 64-bit) got installed this morning.  Unfortunately, it's broken the ability for the Power BI Desktop Query to understand dates from a sharepoint folder source.  This file was working correctly last night (before the update).

 

The first step of the query is:

Source = SharePoint.Files("https://<ourplace>.sharepoint.com/sites/<oursite>/", [ApiVersion = 15]),

 

The 5th and 6th columns are date modified and date created respectively.  All fields in these columns are filled with Error.  The details are: 

DataFormat.Error: We couldn't parse the input provided as a DateTimeZone value.
Details:
21/06/2016 9:49 a.m.

 

Here in New Zealand, the date format is dd/mm/yyyy, and Regional Settings, Locale for import is set to English (New Zealand).  I've also checked the locale settings on the sharepoint site and it is the same.

 

I've tried changing the format of the column in the query editor, but it still reports the same error.  

 

I've tried going back to a previous version of desktop, but I got an error indicating I couldn't open the newer file with the older version.

 

I've replicated the error on another computer.

 

So, any ideas?

 

Michael

 

 

Re: powerbi connect to google bigquery shared dataset

Error 400 when import Microsoft Social Data into Power BI

$
0
0

I constantly get an error while connecting the Microsoft Social Engagement Content pack service with Power BI . Error as below. 

 

Failed to update data source credentials: Web.Contents failed to get contents from 'https://listening-prod.dynamics.com/api/version/2.1/solutions/https://listening-prod.dynamics.com/app/5271' (404): Not FoundHide details

Activity ID:a7c18101-4d9a-479f-9a9d-f94a6c5ccc07
Request ID:ab2dcf45-d8a2-6651-3ae3-90c7f560ceb0
Status code:400
Time:Fri Mar 09 2018 07:58:00 GMT+0400 (Arabian Standard Time)
Version:13.0.4622.126
Cluster URI:https://wabi-europe-north-b-redirect.analysis.windows.net

Re: Date issues with Sharepoint file sources

$
0
0

,

Right click your column in Query Editor of Power BI Desktop, select "Change Type->Using Locale", then change type to DateTimeZone. I can successfully convert the data type in March update(2.56.5023.861 64-bit) of Power BI Desktop.
2.JPG1.JPG3.JPG

Regards,
Lydia

Can't connect to Azure SQL Database

$
0
0

I am trying to connect to Azure SQL database from my Power BI desktop, but I am not able to connect to the dabase. I have already checked into the below points.

  • SSMS is installed on the same machine that has Power BI Desktop installed.
  • a firewall rule has already been to allow Power BI Desktop to make a connection to Azure SQL.
  • correct server name

 

Below error is reported:

Unable to connect 

 

We encountered an error while trying to connect

 

Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.)"

Connecting Power BI with an Azure SQL Server Database

$
0
0

I am not able to connect to the Azure SQL Database to Power BI. Below points has already been checked.

  • correct server name
  • SSMS installed on the same machine that has Power BI Desktop installed.
  • a firewall rule is setup to allow Power BI Desktop to make a connection to Azure SQL.

Below error is reported:

 

Unable to Connect

We encountered an error while trying to connect

 

Details: "Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.)"

Re: [DataFormat.Error] External table is not in the expected format.

$
0
0

I'm trying to access a JetReport .xlsx shared to me from a Sharepoint site

It also fails with "External table is not in the expected format"

 

Any one had experience with using shared excel files in PowerBI?

Pull data from a REST API which has Authentication

$
0
0

Hi

New to PowerBI so please forgive me if query does not make complete sense!

I have PowerBI Desktop and want to get date from a REST web service.

 

The issue I have is the web service requires an authentication first, before I can call the methods for data I want.

The product is Traverse.

 

So, to logon I first have to issue command like;

http://hostname/api/rest/command/login?myusername/MyPassword

 

This authenticates me and returns success if logged on, I see in POSTMAN that a cookie is created for session.

 

Once I have done that I can call upon its many methods to pull data out, these are the methods I need access to for PowerBI

e.g.

http://hostname/api/rest/command/sla.status?slaSerial=2022436&calculationPeriod=Day&startTime=201803050000&endTime=201803081200&format=json

to get me json back with report data I want to pull into PowerBI to then produce charts and such

 

What I cannot see is a method to call the second URL without the authentication. The Get Data from Web source does not seem to accomodate this type.

Is there a way to do this with the Advanced Editor?

 

Thanks in advance

 

Re: cannot use custom visual with R.

$
0
0

I am getting the same error as the ones before. What do you mean by 

"Navigate to the bin folder within the directory where R has been installed and click R.exe

 

type install.packages("XXXX") and click enter"

 

I can not find R.exe in my directory.

Re: cannot use custom visual with R.

$
0
0

Once you install R, you should have R.exe on your machine.

 

For me, the directory is C:\Program Files\Microsoft\R Open\R-3.4.3\bin

 

When you click R.exe the R window opens and you have a window where you can type commands like powershell.

 

Type

 

install.packages("XXXX")

 

 

where XXXX is the name of the missing module and click enter.

 

 


Re: cannot use custom visual with R.

$
0
0

Thank you! That was very helpful! Smiley Happy

Re: Google Analytics Request failed (403) Error

$
0
0

Yep, I'm getting the same thing here.

 

Even clearing credentials for a brand new attempt on a clean report immedaitely gives me the 403: Daily Limit Exceeded.

 

I even intentionally waited over 24 hours after getting that to ensure I didn't actually hose the API and cause it myself. It must be some sort of issue on the GA side of things.

Xero data being allocated to incorrect months

$
0
0

Hi All,

New user to Power BI but loving what it could be achieved with it.

I've integrated a number of Xero files however all seem to have the same issue, data pertaining from July to December 2017 is coming up on Power BI as being July To December 2018 which throws almost every report out.

I asked Xero whether there was anything on their end that caused this, however they've directed me back to Microsoft.

 

Any ideas would be most appreciated.

 

Justin

Re: powerbi connect to google bigquery shared dataset

$
0
0

Need help in connecting Data to PowerBi. 

Salesforce Objects Agent Work and User Presences not available for query

$
0
0

There are 2 Omni objects in Salesforce Agent Work and User Presences, I can't find any of these 2 objects in Power BI. Both the objects are part of Salesforce Omni Channel solution. 

 

 

Viewing all 122374 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>