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

Split and Extract Not Delimited Column with Multiple Values

$
0
0

I have a spreadsheet where a cell contains multiple values in the format below. 

 

 

vti_parserversionSmiley FrustratedR|16.0.0.6105 
vti_folderitemcount:IR|0 
vti_charsetSmiley FrustratedR|utf-8 
vti_authorSmiley FrustratedR|i:0i.t|00000003-0000-0ff1-ce00-000000000000|app@sharepoint 
vti_setuppathSmiley FrustratedR|global\\v4.master 
UIVersionSmiley FrustratedR|4 
vti_generatorSmiley FrustratedR|Microsoft SharePoint 
vti_dbschemaversionSmiley FrustratedR|16.0.113.0

 

 

Note, not every row contains the same amount values. 

 

Since they're not delimited, what'd be a good way to split out these values into their own columns? For example, I'd like vti_parserversion to be the column header and SR|16.0.0.6105 is the value. 


Re: Salesforce Objects Agent Work and User Presences not available for query

$
0
0

Hi 

 

I think the problem is related to the API version, Power BI connector is using 29 and, for example, AgentWork is 32 or later. 

 

 

A workaround can work, extract with dataloader, sync to another db, copy records to custom object, etc, but we can not connect to the object with current connector.

 

Pablo

Re: Turn Start Date & End Date columns into one column with

$
0
0

Amazing - you made my day!! Thank you.

Can't connect to Google Analtyics

$
0
0

I can't seem to get Google Analytics to connect on either desktop or pro versions. On the pro version if I use Firefox it just never proceeds after I select "Get" for the GA app, and if I try on Edge I can go as far as selecting the specific Project I want but then it ends up giving me this error that it couldn't install Google Analytics, with no reasons why. The status code is 400.

 

On the desktop version it's returning with a 403 with something about the GA API quota being exceeded, but that's absolutely incorrect and I'm able to use the API with other tools and scripts without issue.

 

Given MS's convoluted support structure I'm apparently unable to open a support ticket so hoping maybe someone can point me in the right direction here. Thanks for any suggestions!

 

 

Re: Google Analytics Request failed (403) Error

$
0
0

wrote:

 

This appears to be because the developer of the data source/GA connector reaches their daily query limit, as it's their API credentials being used to connect to GA accounts.


 

I really, really, hope this is not the case. That would be a massive oversight; surely they wouldn't expect all Power BI users to flow through the same API account for all GA requests.

Re: Google Analytics Request failed (403) Error

Re: Dynamics 365 OData error with Power BI desktop

$
0
0

And...it is working for me again.  Nothing I have changed. Smiley Happy

 

Still needs to have the ...\v8.2

Re: Xero data being allocated to incorrect months

$
0
0

Hi Lydia,

Of course.

The attached snippet shows the data from July 2017 to December 2017 is missing and has instead been included as July 2018 to December 2018.

All I've done with this is follow the Xero add-in steps that import the data. No changes have been made anywhere in Power BI.

 

 

Snippet.JPG

 

Thanks,

 

Justin


Not able to Connect to Partner Center Analytics Preview

$
0
0

Hi,

 

We are also trying to connect Power BI to the new Partner Center Analytics Preview but it fails with the error: 

 

Failed to update data source credentials: The credentials provided for the Partner Center Analytics Connector source are invalid. (Source at PartnerCenterAnalytics.)

 

The account I am using is a Global Admin as well as an Admin Agent with MFA enabled. I have also tried an account with just Billing Administrator role and Admin Agent rights with no MFA but get the same error.

 

Is this something you could look into please?

 

Thanks

Madhu

Is PowerBI integration with Common Data Source for REGION ASIA already ENABLED ?

$
0
0

PowerBI integration with Common Data Source for REGION ASIA , is it ENABLED ? I am from Philippines and have been

very much into PowerApps. One of the latest powerApps i created needs to generate charts and reports in real time for our leadership team , and since datasources used are from CDS, i was so EXCITED with this capability to generate the report via POWERBI

 

However, when i tried to GET DATA from my CDS, it says my region may not be supported? Please ... i HOPE ASIA is supported by this new integration/connector between POwerApps CDS and PowerBI Smiley Sad

Re: Hololens integration with Power BI

Installation of On-premises data gateway fails

$
0
0

I have tried to install the On-premises data gateway numerous times and keep getting the same failure and error message:

 

On-premises data gateway installation

The gateway installation failed


System.InvalidOperationException: Cannot start service PBIEgwService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Start(String[] args)
   at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartServiceImpl(String serviceDisplayName, TimeSpan timeout)
   at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService(Session session)

The Server is running Windows Server 2012 R2 with .Net Framework 4.5 installed and Windows Update fully up to date as of 14 March 2018.

I am logged into the console session, via RDP, with the local Administrator account.

The server is not a Domain Controller, nor a member of a domain. It is a stand-alone server.

I am using all default settings, e.g. installing in "C:\Program Files\On-premises data gateway"

I am using the 520KB PowerBIGatewayInstaller.exe installer which pulls the installer files down from the web so I am assuming I have the latest installer. In the log file I found a line that references v14.16.6614.5 which appears to be the current full download installer version as well.

 

Its value is 'C:\ProgramData\Package Cache\{ED678335-30DF-49ED-B179-71B48A517198}v14.16.6614.5\EgwComponents.msi'.

 

After looking through similar posts in these community forums I:

  1. Checked that permissions were OK on C:\Users - The Administrators group, which contains the local Administrator account I am using, has Full Control
  2. Checked for remnants of C:\Users\PBIEgwService and deleted but subsequent installs still failed
  3. Confirmed that my Administrator account and NT SERVICE\ALL SERVICES were granted "Log on as a service" privilege. I did find NT SERVICE\PBIEgwService had been added as well.
  4. Ran "Test-NetConnection -ComputerName watchdog.servicebus.windows.net -Port 9350" and confirmed that I got TcpTestSucceeded : True
  5. Rebooted server between attempts

 

The relevant part of the installation log appears to be as follows:

 

MSI (s) (58:28) [15:15:57:224]: Doing action: RestartService
MSI (s) (58:28) [15:15:57:224]: Note: 1: 2205 2:  3: ActionText 
Action ended 15:15:57: AddServiceUserToPerfGroup. Return value 1.
MSI (s) (58:A4) [15:15:57:228]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI9CF7.tmp, Entrypoint: RestartService
Action start 15:15:57: RestartService.
SFXCA: Extracting custom action to temporary directory: C:\Windows\Installer\MSI9CF7.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action Microsoft.DataTransfer.EgwInstallUtils!Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService
MSI (s) (58!64) [15:16:35:007]: 
1: {"ClassName":"System.InvalidOperationException","Message":"Cannot start service PBIEgwService on computer '.'.","Data":null,"InnerException":{"NativeErrorCode":1053,"ClassName":"System.ComponentModel.Win32Exception","Message":"The service did not respond to the start or control request in a timely fashion","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":null,"RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":null,"HResult":-2147467259,"Source":null,"WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   at System.ServiceProcess.ServiceController.Start(String[] args)\r\n   at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartServiceImpl(String serviceDisplayName, TimeSpan timeout)\r\n   at Microsoft.PowerBI.EgwInstallUtils.CustomActions.RestartService(Session session)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nStart\nSystem.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\nSystem.ServiceProcess.ServiceController\nVoid Start(System.String[])","HResult":-2146233079,"Source":"System.ServiceProcess","WatsonBuckets":null} 
CustomAction RestartService returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:16:35: RestartService. Return value 3.
Action ended 15:16:35: INSTALL. Return value 3.

I've zipped three installation logs files from the 3 attempts I've made to install and they are available for download from here - https://1drv.ms/u/s!AhbwEI22K05bq6t5dsXfIAmLdGTB3w

 

Any suggestions appreciated!

Re: Split and Extract Not Delimited Column with Multiple Values

$
0
0

,

Add a blank query and paste the following code into  the Advanced Editor of the blank query. If you doesn't get your expected result, please post more about your desired result.

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("XVBNC4MwDP0rw/OUFp0MT7vuMBjKdnEyak21oLa00ZM/fu0E9/ECIeTjvSRlGcwon5oZC2YGY6UasyJfaBoRZyklh6Dar01C9Q0YiTBwNY2YnfOFbEXeeQr0sxOK8LgV2ISdMj4viYxwISvi0PuQCEFDDj76wsK0PlnHCFrJETcuJzBpzbDzdG2vatY/HOYkGphFMO/G2/n+uSPZZlsYwTBcV7lIbpRVAneFV7n+qDS15R0M7P8dlMaRO7h6AQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Column = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column", type text}}),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Changed Type", "Column", Splitter.SplitTextByDelimiter(":", QuoteStyle.Csv), {"Column.1", "Column.2"}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Column.1", type text}, {"Column.2", type text}}),
    #"Pivoted Column" = Table.Pivot(#"Changed Type1", List.Distinct(#"Changed Type1"[Column.1]), "Column.1", "Column.2")
in
    #"Pivoted Column"

1.JPG

Regards,
Lydia

Help in embedding PowerBI dashboards within Salesforce using Canvas app.

$
0
0

We are trying to embed the PowerBI dashboards within Salesforce using the canvas app. We are getting the error: Refused to display the "https://app.powerbi.com" in a frame because it set 'X-frame' Option to 'deny'. Any help on the same.

Re: Problem after SAP BW connection


PBI - SmartRecruiters connection - API

$
0
0

Hi All,

 

I'm trying to pull the data from an API offered by SmartRecruiters (SR).

Some datails on the service can be found here: https://dev.smartrecruiters.com/customer-api/live-docs/customer-api-2/#/

 

I continuously get an error saying: "A web API key can only be specified when a web API key name is povided".

I do have a key generated by SR admin - and he assured me there was no such a thing like key name.

webapi_failure.PNG

 

 

I'm missing sth here.

Any help appriciated!

 

Kind regards,

Chris.

 

On-premises data gateway - Does the user need a PBI Pro license?

$
0
0

Hi,

 

when installing the data gateway I need to supply a user with credentials to be used by the gateway.

I created a dedicated user for this --> gateway@myproject.onmicrosoft.com

 

Does this user need a pro-license allocated to it in the O365 admin portal?

 

Cheers

Re: Date Display Formats

$
0
0

 have you updated to the latest version? the issue went away after upgrade

Re: Date Display Formats

$
0
0

Hi XLBob

 

I am currently on Version: 2.55.5010.641 64-bit (February 2018)

 

which Version are you using?

 

Re: Date Display Formats

$
0
0

Hi

 

I've realised it was a problem with the February update. So I rolled back to the previous build and the problem went away.

Viewing all 122677 articles
Browse latest View live


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