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

Dynamically Generating Tables from AdobeAnalytics API within Power BI Desktop - Power Query (M)

$
0
0

Hello Power Query (M) and Power BI Gurus!

 

I'm trying to use 3 Lists within Power BI Desktop as my Parameters to create tables using the AdobeAnalytics Connector (API) (See Below for the generated Power Query Code). The AdobeAnalytics Connector only allows for the use of Segments stacked on top of each other (For those that are not familiar with AdobeAnalytics think of a segment as a filter). So my only option (that I see thus far) is to iterate through all possible combinations of the 3 lists to generate all of the calls (i.e. trying to a Nested Loop that creates all of these tables for me and then combines them to one table).

Data Components:

  • 3 Lists of values to use as my Nested Parameters for each call

    • Programs (1 Column)

      • A
      • B
      • C
    • Regions (1 Column)

      • A1
      • B2
      • C3
    • MarketingChannels (1 Column)

      • A11
      • B22
      • C33
  • Power BI Desktop - Power Query AdobeAnalytics API connection

Required Steps

1. Create a table for every combination of the Values within the 3 Lists e.g.:

  • Table 1 would use the following parameters:
    • (#Programs[A], #Regions[A1], #MarketingChannels[A11])
  • Table 2 would use the following parameters:
    • (#Programs[A], #Regions[A1], #MarketingChannels[B22])
  • Continue until all possible combinations are completed

2. Once all of the tables have been created I need to combine them

 

The below code snippet would be an example of Table 1,

(note the line that starts with "{Cube.ApplyParameter, "Segment","as that is where the Lists above would be used as parameters)

 

let
    Source = AdobeAnalytics.Cubes(),
    invitrogenprod = Source{[Id="invitrogenprod"]}[Data],
    #"Added Items" = Cube.Transform(invitrogenprod,
        {
            {Cube.ApplyParameter, "DateRange", {#date(2018, 3, 21), #date(2018, 3, 21)}},

            {Cube.ApplyParameter, "Segment", {{"#Programs[A]", "#Regions[A1]", "#MarketingChannels[A11]"}}},

            {Cube.AddAndExpandDimensionColumn, "DateGranularity", {"year", "month", "day"}, {"Date Granularity.Level 1: Year", "Date Granularity.Level 2: Month", "Date Granularity.Level 3: Day"}},
            {Cube.AddMeasureColumn, "Engaged Visits", "cm300001617_5a84e003de3c977de97c39d2"},
            {Cube.AddMeasureColumn, "Engaged Visits (PDP)", "cm300001617_5a58160e8f0c657d68a6e404"},
            {Cube.AddMeasureColumn, "Visits w/ Cart Activity", "cm300001617_5a50160c4ecbca5712928ab6"}
        })
in
    #"Added Items"

 

 

Any and all help will be greatly appreciated!!!


Data Refresh Credentials - The credentials provided for the File source are invalid

$
0
0

sorry post deleted as probelm fixed

Re: Data Refresh Credentials - The credentials provided for the File source are invalid

$
0
0

My guess is the filepath you have used doesn't match.

 

On the gateway you have registered "C:\" etc etc

 

In your project file, is your source also listed as "C:\" etc etc?

 

From the gateway's perspective "C:\Folder\File" is not the same as "\\Server\Folder\File" even if they resolve to be the same physical machine.  As an address, they are actually different.

Re: Data Refresh Credentials - The credentials provided for the File source are invalid

$
0
0

Hey Ross,

 

Sorry didnt see you post but it was correct file path however some data sources in the PBI were not refreshed and purely static data. I tagged do not refresh in the file but it seems you need to add these Excel sources to the gateway even though i dont need the refresh for the data.

Re: On premises installing error

$
0
0

,

Please help to post gateway installer log which is located at C:\Users\yourusername\AppData\Local\Temp\On-premises_data_gateway_*.log.


Regards,
Lydia

Re: AccountRight data refresh disabled

$
0
0

Has the problem resolved? I have the same issue today.

 

Thanks,

Re: Change the local cache on PowerBI Desktop

$
0
0

,

This is English forum, please post question in English. I translate your question using Google translator and it seems that  you install Power BI Desktop in disk D. During the installation of Power BI Desktop, you can change Power BI Desktop installation location.
1.JPG

But please note that Mashup Engine stores Power BI caching files in your user appData local directory, which is not necessarily the drive where you installed PowerBI Desktop. You can follow the guide in this blog to clear the cache.


Regards,
Lydia

Re: Power BI Gateway Installation failure

$
0
0

,

"Unable to reach wabi-us-east2-relay25.servicebus.windows.net HTTP (80, 443) "

Please follow the guide in this article to test connectivity to the Azure Service Bus.  Also ensure that you have added required ports(80,443,etc) into your firewall rule.

Regards,
Lydia


Re: SQL Server on Linux, do I need Data Gateway to refresh data ?

$
0
0

,

What is the issue or error message do you get in Power BI Service? If you want to refresh your dataset in Power BI Service, install on-premises gateway, add the SQL data source within gateway. 

Please make sure that you are able to access SQL Server from the machine that installing gateway. Also use same connection string as that in Power BI Desktop when you add SQL data source under gateway.

Regards,
Lydia

Re: Best way to refresh data with multiple sources

$
0
0

,

Based on your description, you combine online data source and on-premises data source in a single PBIX file. In this case, you can use personal mode gateway to refresh your dataset in Power BI Service. Enter credentials for the two data sources(Dynamic NAV and Excel) in Power BI Service after you install gateway on a server that has access to the Excel file.

Another method is to upload Excel file to OneDrive for business, this way, when you combine the Excel data source and Dynamics NAV data source in a single PBIX file, no gateway is required to refresh your dataset in Power BI Service.



Regards,
Lydia

Re: Power BI integration with ecommerce cloud platform

Re: Power BI Gateway Installation failure

Re: Cannot open Jira Content Pack

$
0
0

Yes, I downloaded from there. It's Version: 2.56.5023.1021 64-bit (Mart 2018).

 

Did you try with Jira Content Pack? When I double-click on that pbit file, it opens the Power BI Desktop and shows that error message.

The mentioned pack is from 2016 and not updated since. Maybe this could be the problem. But how could people connecting with Jira nowadays then?

Re: Cannot open Jira Content Pack

$
0
0

,

I use same version of Power BI Desktop as yours. I can successfully open the PBIT file in Power BI Desktop. Could you please clear cache in your Power BI Desktop and reboot your machine?


Regards,
Lydia

Re: Cannot open Jira Content Pack

$
0
0

I cleared the cache and restarted but still failed to open the file. Also we tried with two other PCs and received the same error message. I don't know how you can manage to run the pbit. Can you provide the link that you downloaded the content pack please? Maybe we are using different pack files.

 

kind regards,

Can.


Re: Get help in windows 10

$
0
0

The best platform for having the help in windows is available here before you microsoft windows 10 help support which will provide you the exact and advantageous information which will resolve your all hurdles.

Re: Oracle Essbase Database

Re: Why is "Get Data" so difficult?

$
0
0

Sounds like you aren't using the right connector. If you use the SharePoint Online list connector, you should definitely be offered to use OAuth. Perhaps you are using the SharePoint (on-premises) connector by mistake?

 

If you have a specific issue or question we are happy to help. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

If you just want to complain, well, you probably won't get much help. Please vent to co-workers instead. That's not really the purpose of this forum.

Live connection between Power BI and Elastic Search

$
0
0

We are working on an Enterprise News Management System that allows users to create, edit, circulate and publish news stories. We would like to enhance the system by adding a statistical module that allows managers at customer side to create visual reports and dashboards summerizing the overall performance at their organization. Sample reports are: average news coverage time, editors/translators performance reports.  

 

It is required that all reports support fuzzy text search in news title and content (story text) and that results are returned in timely manner. Currently, our system provides quick text search in news repository through elastic search. So, my question is can I create reports using Power BI that maintains a live connection with elastic search and gets the charts data directly from elastic through Rest API calls instead of having to import data to Power BI SQL Server DB ? 

 

Gateway Source Issue

$
0
0

I am well versed in the data gateway and am the admin of a gateway with a plethora of source connections . . . all of which work. This is not my first Rodeo. I am, however, failing to connect to a folder and after multiple attempts I am reaching out to see if anyone can point out an obvious error before I reach out to microsoft. I am getting data from a folder on a shared drive (which I currently do for 15 different folders and all work with the same path with the exception of the folder name) so the shared drive is accessible. I have removed and republished the data model and removed and recreated the connection multiple times and still get an error. The images show the error, the gateway path (connection successful), and my file path. What am I missing?

folderpath.JPGgateway error.JPGgateway view.JPG

Viewing all 122725 articles
Browse latest View live


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