Quantcast
Channel: Power Query topics
Viewing all 31148 articles
Browse latest View live

Is Jira in Direct Query possible?

$
0
0

Hello everyone.

I wanted to use Power BI to analyze and manage our Jira Projects.

I noticed the 100 rows limit, but I overcame that by modifying the fetchpages limit, using the .pbit found in another post.

 

The update of the dataset is automatically set, in this way, as "Import": I need indeed to set a scheduled refresh if I want my data updated.

 

I wonder, is there a way to use a direct connection instead?

 

Being able to refresh the data only 8 times in a day isn't exactly enough, I'd really prefer a direct connection if possible.

 

Thanks!


Unable to import data from Databricks dbfs using ODBC [ERROR 303 See other]

$
0
0

I have to import a CSV file located in my Databricks dbfs to Power BI Desktop. I am using the ODBC connector and have installed and configured the Simba ODBC driver on my desktop. The configurations are according to the specifications given on Databricks documentations. But the driver is unable to estabilish a connection. It returns the following error:

 

[Simba][Hardy] (34) Error from server: Bad Status: HTTP/1.1 303 See Other.

 

Please guide me on what is the issue?

 

Alternatively, is there any other way to get data from Datarbricks to Power BI?

Estabilish connection with Databricks

$
0
0

I need to estabilish a connection between Databricks platform and Power BI Desktop. The Spark connector requests the address of the Spark cluster server. The cluster I am running is created inside Databricks itself and I have no clue how to explicitly specify the server address.

 

Note that I am using Databricks Community Edition

Multiple Reports - One Dataset: SSAS Live Connection?

$
0
0

I know you can create a dataset in Power BI, upload it to the service (import) and then in the future use Power BI Service Live Connection to connect to that dataset and create new reports that do NOT generate new datasets when you publish them from desktop to the service.

 

What I'm trying to make sure I can/can't do is, can we live connect to an on-premise SSAS tabular cube, publish this to the service, and then in the future use Power BI Service Live Connection to this dataset? Or do I need to? Having many datasets in the service is confusing our users. How can I cut down on this while also managing our shared connections via on-premise cubes?

Problem connecting with mysql

$
0
0

Hi

 

I have problems to connect with a mysql databse, i have already red many topicss about this issue but it is still not working... 

i go to get data-mysql database, then in Server i write the  server IP and the database name.

 

I go to database (instead of windows option) and then i fill username and password (same ones used for the odbc connection) and i get the following error: "we couldnt authenticate with the credentials provided. Please try again"

 

Both odbc for 32 and 64 bits connections are working (Test in odbc connector states that connection works), i am using same user name and password (copy-pasted them). The most surprising thing for me is that i can connect and use queries for the same database in an excel file, so it should be any odbc connection issue (as i have read is the most common issue)

 

The database i am connecting to has to be accesed via port 33306 instead of default 3306. The odbc connections are set up with 33306 and no problem, i dont know if this is the cause of the problem, cause i see no option to change connection port in power bi...on the other hand, is possible to set the connection with the dsn instead of the ip?

 

Thanks!

Pulling in several Excel files, all have just 1 sheet, but the sheet names are different - erroring

$
0
0

Hi,

 

I'm trying to combine the data from quite a Excel files with identical columns.

 

Every file has just a single worksheet. But, sometimes it's called 'Sheet1', and sometimes it's something else entirely.  The ones that aren't 'Sheet1' are throwing errors.

 

I'm thinking there must be some simple workaround for this, just I don't know it...? 

 

Here I've pressed to expand the content, and it shows me the dialogue for the first sheet (where the worksheet is indeed named Sheet1).

 

 

 

 Capture.JPG

 

How to create PowerBI applications with parametric datasource

$
0
0

Hi all,

I made a report that feeds info from an Exchange mailbox datasource and published it as a PowerBI App inside my Company catalog. The problem is that anybody install the app feeds info always from my mailbox.

How can I make a PowerBI App that permits to each user that makes the installation to decide which mailbox to feed data from?

I mean... if you go to the public PowerBI's apps gallery there's the Google Analytics App. Of course who wrote that app doesn't know which Google Analytics Account the report will be fed from. It's the user that install the PowerBI App that has to specify the Google Analytics Accout (and make the OAuth authentication too!) in order to feed the report.

 

How can I develop a PowerBI app that works such a way?

 

Thanks for your support, best regards,

Marco

Data source accessing a web URL which requires Authentication headers

$
0
0

I have a PowerBI Desktop query/report which is working, but when I publish this into PowerBI Service, I have problems. The service cannot properly refresh the data source due to invalid credentials.

 

The system is retrieving data from the Harvest web API: https://help.getharvest.com/api-v2/

 

This API requires extra headers to be passed; the Authorization and Harvest-Account-Id headers, as described here:

https://help.getharvest.com/api-v2/authentication-api/authentication/authentication/

 

I have this working in PowerBI Desktop. This is the relevant part of the query, where the header values are passed in as parameters:

 

Source = Json.Document(Web.Contents("https://api.harvestapp.com/v2/time_entries?from=" & DateThreshold,
[Headers=[Authorization="Bearer " & HarvestAccessToken, #"Harvest-Account-ID"=HarvestAccountId, #"User-Agent"="PowerBI_DBRetrieval (" & HarvestUserEmail & ")"]])),

This datasource is set to use 'anonymous' credentials, because none of the other types of credentials seem relevant. And I have this successfully working, and refreshing, within PowerBI Desktop.

 

When I publish this to Power BI Service, it can no longer refresh the data. The refresh mechanism looks at the URL and tries it, to verify the credentials, but it doesn't add the extra headers. The API is returning 404 if the extra headers are not supplied, and therefore PowerBI Service tells me that it can't validate these credentials:

 

Failed to update data source credentials: Web.Contents failed to get contents from
'https://api.harvestapp.com/v2/time_entries?from=2017-01-01' (404): Not Found

Is there any way I can get the refresh mechanism to use the full headers?

It does seem to do some of the URL processing? Has anyone else managed to work around a similar problem?

 


Distributing reports with RLS (row level access) to recipients without Power BI

$
0
0

We have an Excel dataset containing information on all customers with account and contract information etc.

 

We would like to create a standard customer report and using row level security, distribute this to each customer via email, ensuring that they can only see their account line.

 

The RLS works well in test however, is there any way in which the end user (customer) can view a report with RLS without having access to Power BI e.g. like the publish to web option on reports that generates a URL?

Whitelist PowerBI service FQDNs or IP ranges for Connectors to work

$
0
0

I want to use the JIRA connector to procure custom reports in PowerBI.com service.

 

Two difficulties.  The first is that our Jira is sitting behind a WAP and requires MFA.  I don't see how I can possibly setup the JIRA connector in this setup.

 

The second, I was given a second external IP to use to connect to Jira.  However, I need to get through the firewall which means I need to whitelist the FQDN or IP range that the PowerBI.com service uses.  

 

Is this the best possible solution currently?

https://www.microsoft.com/en-us/download/details.aspx?id=41653&751be11f-ede8-5a0c-058c-2ee190a24fa6=True

 

If so, I suppose we'll need to create a program that pulls this down weekly and modifies a firewall rule automatically.   

Modify data before making a relation

$
0
0

Hi,

 

I am really new to Power BI and it seems really promising!

I would like to make a relationship between two fields which are in fact Serial Numbers :

- First is in a sqlite DB and is of type AA0000

- Second is in a Excel file and is of type AA0000-X

 

To be able to make the link between both, I would like Power BI to ignore the last two caracters coming from the Excel file that are in fact useless.

 

Any idea how to deal with it?

 

I would like as much as possible not to modify the Excel file since these are raw data extracted from another SAP DB periodicaly. It contains only text, no formulae. Otherwhise, I would have just put =LEFT(...;6) in the excel file.

 

Thanks a lot,

 

Max

ODBC vs SQL

$
0
0

Hello , 

 

  I have SQL database and our ERP connects to SQL using ODBC. I can Get Data to Power BI both ways - connecting SQL server database and ODBC. Which way should i prefer ?

Why do I get this error when refreshing a Dataset?

$
0
0

An error occurred in the ‘Transform File from 2017 Year to date reports’ query. DataSource.NotFound: Excel Workbook: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. The 64-bit version of the Access Database Engine 2010 Access Database Engine OLEDB provider may be required to read '2017 Apr - YearToDateReport.csv'. To download the client software, visit the following site: https://go.microsoft.com/fwlink/?LinkID=285987.

 

I created the report back in Nov last year (where everything worked fine) and went to update it this year (as Id put a couple more files into the folder) and now getting the above error??

Went to refresh data and came up with error below

$
0
0

An error occurred in the ‘Transform File from 2017 Year to date reports’ query. DataSource.NotFound: Excel Workbook: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. The 64-bit version of the Access Database Engine 2010 Access Database Engine OLEDB provider may be required to read '2017 Apr - YearToDateReport.csv'. To download the client software, visit the following site: https://go.microsoft.com/fwlink/?LinkID=285987.

 

I created a report in November last year and when I was editing the queries, etc during setup everything ran fine. This year I added a couple of files into the folder the report pointed to and when I went to refresh I received the above message (but whether thats down to the 2 files I added or not I don't know). I've done some searching and found info in threads in previous years but can't find a solution.

 

We need to run the Database engine at 32bit for other software (and as I said there wasn't any issue last year when running it).

 

I don't know if its because I'm new to Power BI or not, but what I'm puzzled about is why did it work last yeart but not now?

 

Anyone else experiencing this?

QVD

$
0
0

Is there any simple way to import QVD into the Power BI? 

We store QVD files , as they less than csv and can be used for speed load into QlikView 


Microsoft Azure text Translator API integration with Power BI

$
0
0

Hi,

 

I am trying to integrate Azure Transloator API with Power BI. I want my Power BI dashboard to translate text(Data in visuals, tables etc) in real time.

 

I have gone through the link and i am following the same.

https://datachant.com/2017/01/07/translate-text-power-bi-azure-translator/

 

I have created a Cognitive service (Azure Translator)

 

 cog.PNGKey.PNG

 

 

While connecting to Power BI, i am using both options:

 

Under Web data source:

 

After providng the URL, I am selecting WEB API option and pasting my key from cognetive service into text box under key.

 

 URL.PNGweb API.PNG

 

However, we are facing the error : A web api can only be specified when a web api key name is provided.

 

When i am using Anonymous option and trying to connect.

 

 anaon.PNGanaony.PNG

I am facing the error : Details: "Web.Contents failed to get contents from 'https://api.cognitive.microsoft.com/sts/v1.0' (404): Resource Not Found"

TLS 1.2 Mandatory on Office 365

$
0
0

Hi All,

 

Recently i have read regarding TLS 1.2 update mandatory for Office 365 here.

 

Is there any impact of existing PBI reports workspaces in office 365.

 

I dont know exactly, Am i asking proper question!! if it is not make sense. Please ignore.

 

Thanks,

Thiyaga

Question: Gateway Integration with a SharePoint List

$
0
0

Have a question on Gateway integrations with SharePoint lists. I've setup a Gateway between PowerBI and a SharePoint list. The gateway refreshes the data into PowerBI daily.

 

The problem is, I need the data to refresh every time someone adds a new line of data to the SharePoint list. Two questions:

 

  • Is there a way for the gateway to refresh every time someone adds new data to the SharePoint list? The most frequent option I see is to set a daily refresh.
  • Is there a way for users to manually fetch data from the SharePoint list. The workflow would be: (1) Add data to sharepoint list (2) Log into PowerBI through browser (3) Open dashboard (4) Manually fetch data from SharePoint?

Smartsheet and Microsoft Access

$
0
0

Hello,

I try to get data from Smartsheet and PBI offer a connection without fees.
For my project, I would like modify Smartsheet data in Access, because I have other data in an Oracle DB. This operation, for me, is easy to develop in VBA, but with my Smartsheet licence I can connect Smartsheet via ODBC.
My question is:
How PBI can connect a Smartsheet data? Can I use the same way to read this data via VBA without ODBC and without the classic export/import operation?
Thanks.

Connect Power Bi Desktop to SQL Server on linux vm

$
0
0

Hi all,

 

I'm trying to experiment with Power BI desktop and SQL server, and having issues connecting. Here's the details:

 

1. I'm running SQL Server on a Linux VM on my laptop

2. On the Linux VM, I'm able to run "sqlcmd" and connect to the database with no issues

3. From my laptop "host" laptop, I have no issues connecting to SQL server using SSMS. I choose the IP address of the host, use "SQL Server Authentication", and can log in fine using the "SA" account / password

 

From Power BI desktop, however, I'm not able to connect. When I choose "Get Data" and "SQL Server" as the source, the options I have to connect are "Use my current credentials" which obviosly won't work, (SQL Server on Linux won't know anything about my windows credentials), or "Use alternate credentials".

 

I've tried "Use alternate credentials", and it doesn't like the username / password for either:

1. The linux user account

2. The "SA" SQL server account / password

 

I'm stuck - really wanted to play with getting up to speed with SQL server, analysis services tabular and Power BI, but if I'm not going to be able to connect to the SQL server on the VM I'm stuck. Any ideas?

 

Thanks in advance!

Scott

 

Viewing all 31148 articles
Browse latest View live