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

DB2 error: SQL0204N...is an undefined name

$
0
0

I'm trying to connect to an IBM DB2 database on z/OS using the IBM driver (the Microsoft driver requires a package collection to be specified whose value I am unaware of). If I select "Navigate using full hierarchy" then I get the following error:

 

SQL0204N  "SYSCAT.SCHEMATA" is an undefined name

 

 

If I do not select "Navigate using full hierarchy" then I can see all the tables in the Navigator (major breakthrough for me) but when I choose any table I get the following error:

 

SQL0204N  "SYSCAT.COLUMNS" is an undefined name

 

 

It feels like I'm so close to success. Can anyone help me overcome this? Thanks so much!!!


Can't connect to Sharepoint subsites using PowerBI

$
0
0

Dears,

 

Currently i'm experiencing the following issue:

 

- My organization is keeping files on sharepoint.

- Im trying to use PBI to connect to our sharepoint files

- When i'm connecting to https://companyname.sharepoint.com/Site1/ it works just fine. The problem is that my data is stored into Subsites, so it goes something like this https://companyname.sharepoint.com/Site1/Subsite2.

- When i'm connectong to the subsite i get the following error: 

         Details: "Microsoft.Mashup.Engine1.Library.Resources.HttpResource: Request failed:
         OData Version: 3 and 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
         OData Version: 4, Error: The remote server returned an error: (404) Not Found. (Not Found)
         OData Version: 3, Error: The remote server returned an error: (404) Not Found. (Not Found)"

- If i use GetData from PBI Web App i can connect to the Site (https://companyname.sharepoint.com/Site1) and browse from there our subsites and select the data.

 

Question: 

Why isnt this feature possible for PBI Desktop App?

Am i doing something wrong?

How can i connect the data from my subsites on sharepoint to powerbi desktop?

 

BR,

Andrei

Problem Integrating Azure ML and Power BI with R script

$
0
0

Hey guys,

 

I've been trying to integrate my Azure ML web service with Power BI using an R script, but with no success.

I have already read Justyna's post and watched the Webinar on this topic, but I am pretty sure there is something missing on their codes. 

 

 

My R Script is as follows:

 

 

# 'dataset' contém os dados de entrada neste script
library("RCurl")
library("rjson")

createList <- function(dataset)
{
  temp <- apply(dataset, 1, function(x) as.vector(paste(x, sep = "")))
  colnames(temp) <- NULL
  temp <- apply(temp, 2, function(x) as.list(x))
  return(temp)
}

# Accept SSL certificates issued by public Certificate Authorities
options(RCurlOptions = list(cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl")))

h = basicTextGatherer()
hdr = basicHeaderGatherer()

req = list(
  Inputs = list(
    "input1" = list(
      "ColumnNames" = list("ID", "Churn", "Estado", "LigacoesSuporte", "VoiceMail", "MensagensVoiceMail", "PlanoInternacional", "TotalLigacoesDia", "TotalCustoDia", "TotalLigacoesNoite", "TotalCustoNoite", "TotalLigacoesIntern", "TotalCustoIntern"),
      "Values" = createList(dataset)
    )                ),
  GlobalParameters = setNames(fromJSON('{}'), character(0))
)

body = enc2utf8(toJSON(req))
api_key = "XXXXXXX" # Replace this with the API key for the web service
authz_hdr = paste('Bearer', api_key, sep=' ')

h$reset()

curlPerform(url = "https://ussouthcentral.services.azureml.net/workspaces/XXXXX/services/XXXXXX/execute?api-version=2.0&details=true",
httpheader=c('Content-Type' = "application/json", 'Authorization' = authz_hdr),
postfields=body,
writefunction = h$update,
headerfunction = hdr$update,
verbose = TRUE
)

headers = hdr$value()
httpStatus = headers["status"]
if (httpStatus >= 400)
{
print(paste("The request failed with status code:", httpStatus, sep=" "))

# Print the headers - they include the requert ID and the timestamp, which are useful for debugging the failure
print(headers)
}

result = h$value()
finalResult <- fromJSON(result)
#Return results inter <- do.call("rbind", as.list(finalResult$Results$output1$value$Values)) MyFinalResults <- data.frame(inter) names(MyFinalResults) <- finalResult$Results$output1$value$ColumnNames rm(list=setdiff(ls(), "MyFinalResults"))

 

I tried changing a lot of things in the code, but I always get an empty Table for MyFinalResults.

Has anyone ever did this with R Script?

 

I bet there is something wrong with 

inter <- do.call("rbind", as.list(finalResult$Results$output1$value$Values))

 

I tried first without the funciont as.list() as they said, but it gives an error because the second argument must be a list.

And when I test this on RStudio, it returns a Null value. 


Anyway, would be glad if anyone help me.

Thanks

 

Refresh data for Direct Query

$
0
0

In the documentation at https://powerbi.microsoft.com/en-us/documentation/powerbi-refresh-data/

it is mentioned that for Live connections and Direct Query for data sources on cloud, gateway is not required and that data is refreshed automatically approximately every hour when there is no user interaction.

 

However it lists only Azure and Spark under the list of cloud data sources.

 

1. Is it also applicable for other cloud based data sources like Impala and will the data in dataset get refreshed as per the schedule?

2. If data source is in a private cloud, does the scheduled refresh work for live connection ?

 

It would be really helpful if Microsoft can list all data sources and support/ need for data refresh with/ without using on-premise gateway as it would help suggest the approach.

 

Thanks for the help.

Connecting Power Bi to Big Query using Direct Query

$
0
0

I have most of my big tables (tables with over 200 M records) sitting at Google's Big Query servers and would like to use Power Bi (Desktop) for doing analytics. Found Simba´s ODBC driver, installed and configured and gained access to the datasets, but Power Bi is not giving a choice for Direct Querying the data. Instead, is trying to download it, which of course will not do it, firstly because of storage limitations on the client side, but mostly because the only reason I have the data at Big Query is to be able to use Google´s processing power. Simba´s driver specs says it should allow Direct Querying (called Direct BI) but that did not work for me.

Has anyone out there ever tried to connect BQ from Power Bi? If so could direct querying? Have any ideas or suggestion for doing this without transferring the data?

BTW, Tableau provides a Big Query  connection and allows direct query nicely, a feature I would love to see at Power BI soon.

 

Thanks

Connecting to Big Query using Direct Query

$
0
0

I have most of my big tables (tables with over 200 M records) sitting at Google's Big Query servers and would like to use Power Bi (Desktop) for doing analytics. Found Simba´s ODBC driver, installed and configured and gained access to the datasets, but Power Bi is not giving a choice for Direct Querying the data. Instead, is trying to download it, which of course will not do it, firstly because of storage limitations on the client side, but mostly because the only reason I have the data at Big Query is to be able to use Google´s processing power. Simba´s driver specs says it should allow Direct Querying (called Direct BI) but that did not work for me.

Has anyone out there ever tried to connect BQ from Power Bi? If so could direct querying? Have any ideas or suggestion for doing this without transferring the data?

BTW, Tableau provides a Big Query  connection and allows direct query nicely, a feature I would love to see at Power BI soon.

 

Thanks

Access TWD Database with password

$
0
0

Good afternoon friends
I have a TWD database that has an open password.

To make the connection with PowerBi, where I must enter this password, to be able to design panels that I need from the database.

PowerBI
I thank in advance the support
regards

SAP BW Connector - Cube access

$
0
0

Dear all,

 

We currently had a discussion with our SAP BW provider. We're doing our whole reporting with Power BI and now we want to integrate SAP BW with the connector. Our provider doesn't want to allow this, because he thinks we have access to all cubes and this wouldn't be okay.

 

My question is now: If we install the SAP BW Connector, how can we achieve a solution where we only have access to data from a specific cube? Do we need to set it up with an account, that only has permissions to this specific cube?

 

And is there anywhere a documentation how the connector works? Like a technical documentation?

 

Regards,

Roman


access database form data entry???

$
0
0

I don't know if I picked the right board to ask here.

My question is about converting a small Access database to PowerBI such that the functionality of the original form is preserved.

The database's Access form uses several popup windows presenting text boxes into which data is entered, then this data is appended to other larger text boxes visible in the form, also each append includes the person's name and the current date.

Is it possible to develop this kind of form in PowerBI??

Thank you, Tom

Import Excel (.xlsx) using Power BI API

$
0
0

Hi everybody!
I try to Upload Excel (.xlsx) file to my Power BI using API.  Ability to upload excel files was announced by Microsoft: https://msdn.microsoft.com/en-us/library/mt243840.aspx 
BUT it works just for .PBIX-files, and I can't to realize uploading .xlsx-file
P.S. for importing pbix-file I used multipart./form-data, but it doesn't work for excel.

Possible to utilize Dynamics CRM Online security settings outside of Content Pack?

$
0
0

As far as I understand, the Power BI Content Pack for Dynamics CRM Online utilises the security settings already implemented in Dynamics Online, so that a user will only see her data in Power BI.

 

Is there a way that these security settings can be utilised also when not using the Content Pack? It would seem to be unneccessary to recreate the security settings from scratch in the Power BI Model and maintain them in two places instead of just in Dynamics Online. Any advice on this would be appreciated.

Export huge amount of data from one pbix-file and import in another one

$
0
0
Dear all, I'm struggling with a serious problem. I have a database in Power Bi with a significat amout of data collected from different sources related to Bdg 17. Now that we are preparing a new database for BDG 18 I need to export data from the previous one, for the main table, and import in the BDG 18 one. I read this post https://community.powerbi.com/t5/Integrations-with-Files-and/import-data-from-other-pbix-file-into-the-current-one-Is-it/td-p/53752 but it is not suitable for me because the number of records. I thought that the new feature of this month (connettor to Power BI Service) could come to help me but seams that it is not possible modify tables, upload new ones or create new mesures. Are there any ideas or am I misleading something?? Thanks a lot for your help!!!

BasicCalendarUS - Power Query Error

$
0
0

I have a report that utlizes BasicCalendarUS located at Azure Data Market which is no longer valid.  It was never tied to my microsoft account and my predecessor is gone so I can't download a csv to fix it from there or even see what populated.  Any help you can provide would be greatly appreciated! 

 

http://datamarket.azure.com/dataset/boyanpenev/datestream

 

errors.png

 

Embed with Sharepoint Online in a chromeless (blank) master page

$
0
0

Hi,

 

We want to display our reports on a sharepoint online site for users and on a TV screen.  We've created a new master page that is totally blank through pointing to a css file in the site assets.

 

We've tried the export to SharePoint option but can't seem to get this to work in our blank page.   We only seem to be able to add this to pages with all the menus and options showing.

 

Has anyone been able to achieve this and how did you do it?  Would appreciate any help as we are finding this frustrating.  We could use TV mode on a dashboard but we find it won't go full width on the screen without manual involvement and has a grey border around the edge, doesn't centre or re-size when required.

 

Many thanks

One Drive for Business used together with SQL Server gateway

$
0
0

Please help - my project is simply stuck because of this.

How do I publish to the service a working Desktop model with one dataset that has two datasources:

1. SQL Server connection (I do have a working on-premises gatway)

2. And a connection to an Excel file stored in One Drive for Business

 

It's the second one that gives me a hard time - how do I setup a gateway datasource for this?

The One Drive for Business is the same user as Powerbi. I also don't have a problem sharing it as a "guest link"

 

It looks like a simple and a common scenario - what am I missing?

Thank you very much

Michael


Web scraping a site which requires form data entry before producing a data table

$
0
0

Hi all,

 

I'm after some guidance on the best way of obtaining all of the available data from the following web site.

 

https://www.rec-registry.gov.au/rec-registry/app/public/lgc-register

 

The site requires a form to be completed before producing a data table. (or several tables over many pages)

 

Registry form - "select all" needed for each drop downRegistry form - "select all" needed for each drop down

 

Is there a way of parameterising a query so that ALL of the available data would be returned?

 

Thanks in advance.

GA API issues for transactions

$
0
0

For the past couple of days, i am facing a pretty odd issue - when pulling in GA transactions (transaction id) alongwith source/medium and a metric, it only pulls in partial data. Example, if i have 100 transactions on a given day, and i pull in a table with 'transactions' as metric, i get the following : 

 

Transaction ID     Source/Medium    Transactions

AB123                   google / cpc           2

BC345                   google / cpc           2

CD567                   (direct) / none        2

 

 

This list goes on to give me 50 unique transaction id's, however the sum of transactions is 100. 

Meanwhile, if i pull in a similar list with transaction id as dimension and revenue as metric, i get the entire list of distinct 100 transaction id's, but as soon as i add source/medium as dimension (or even source - medium separately as 2 dimensions), this list goes back down to 50 transactions only. 

 

Has anyone been facing similar issues and would you know how this can be resolved ?

 

Thanks! 

 

Scheduled refresh breaking with VPN secured on-premise SQL Database table

$
0
0

I have a Power BI Service pointing to an on-premise SQL Server Database table that belongs to a secured VLAN where I need VPN credentials to access. I have built and Enterprise Gateway to play as a bridge to the on-premise server and secure the data trasnfered. If I setup a scheduled refresh of the report in Power BI Service, and I'm in the office connected to the corporate network, everything runs smoothly. As soon as I leave the office, and my surface is not connected to the VPN, the Schedule Refresh crashes...

 

I have installed the On-premise gateway in my local machine, not in the on-premise server, that might be a valid reason to crash, isn't it?

 

Am I missing something?

 

I'm using my windows credentials hard-coded in the data source.

 

Thanks for you time!

Unable to connect Dynamics NAV PowerBi app to NAV 2017 on prem

$
0
0

Hi, I have Dynamics NAV 2017 on prem and want to connect to it via the Dynamics Nav PowerBi app in Office 365. I enter the Odata URL and click on  'Next' but no matter what authentication method i use i cannot connect to my on prem NAV solution. The error i recieve is 'Failed to update data source credentials'  - Status Code 400. Has anyone successfully connected in this way before? Many thanks

Will Personal Gateway Run While Windows is Locked?

$
0
0

I understand that the Personal Gateway will not run if I am logged off or if the machine is off. I am curious to know if the gateway will still run if I simply have the locked the PC?

Viewing all 31243 articles
Browse latest View live


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