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

Data issue with Adobe Analytics as data source

$
0
0

I originally posted this in the desktop section, but I think it should've been here instead.

 

I'm having an issue bringing in data to Power BI from Adobe Analytics. The problem is when the data comes back, it is not displaying all the data which it should. For example with the query I get 622 rows of data, of which there is just 1 row for a certain 'Page', for example lets say the page is this 'public/product1/apply' with 1 unique visitor. Now I know from Adobe Analytics this page has a total of 1,759 unique visitors in the date range I have in the query, therefore clearly there is something not right. This is both in the Power Query view, and then also Power BI Data view.

 

In total the segment I'm returning has 121 pages (according to AA) but Power BI is only giving me 50 of those pages (when I do a summary on the data).

 

I have a slicer on the page for Date, Browser and Device which is why I bring these dimensions back too, whilst I display the other measures on the page as well as unique visitors. I am using the following code (please note I have had to change the organisation, server name, and segment id for privacy reasons):

 

let
    Source = AdobeAnalytics.Cubes([HierarchicalNavigation=true]),
    #"organisation name" = Source{[Name="organisation name"]}[Data],
    servername = #"organisation name"{[Id="servername"]}[Data],
    #"Added Items" = Cube.Transform(servername,
        {
            {Cube.AddAndExpandDimensionColumn, "DateGranularity", {"year", "month", "day"}, {"Year", "Month", "Day"}},
            {Cube.AddAndExpandDimensionColumn, "browsertype", {"browsertype"}, {"Browser Type"}},
            {Cube.AddAndExpandDimensionColumn, "mobiledevicetype", {"mobiledevicetype"}, {"Device Type"}},
            {Cube.AddAndExpandDimensionColumn, "page", {"page"}, {"Page"}},
            {Cube.AddMeasureColumn, "Bounces", "bounces"},
            {Cube.AddMeasureColumn, "Entries", "entries"},
            {Cube.AddMeasureColumn, "Unique Visitors", "uniquevisitors"},
            {Cube.AddMeasureColumn, "Visits", "visits"},
            {Cube.ApplyParameter, "DateRange", {#date(2018, 8, 1), #date(2018, 8, 4)}},
            {Cube.ApplyParameter, "Segment", {{"segment_id"}}}
        })
in
    #"Added Items"

 

 

What though makes this even stranger is if I then apply a filter on Page to view the page I want, I then see 46 rows of data, and the total for unique visitors is 1,781 (admitedly, this isn't an exact match to AA but I think it can be explained if I look into it).

 

The filter code is:

 

    #"Filtered Rows" = Table.SelectRows(#"Added Items", each ([Page] = "public/product1/apply"))
in
    #"Filtered Rows"

 

I hope you can help, as at the moment I can't trust the data which is in Power BI and therefore I can't use the dashboards created.


Re: Using crypto functions for a custom connectors

Re: access_denied: AADSTS65005: The application 'Microsoft Power Query for Excel' asked for scope 'u

http://www.alphaxboosttry.com/smart-body-max-gc/

$
0
0

exercising your legs once a week will be fine. Maybe you're interested:  Smart Body Max GC Tone your abdomen - Guaranteed! Now if your goal is the rapid and effective development of your lower part you can increase the frequency of exercise to  times per week. The legs comprise a really large muscle group  therefore they last longer to recover than another part of the body and it is very important to respect the recovery times to always enjoy good health. Therefore you must make sure you maintain sufficient

 

 

http://www.alphaxboosttry.com/smart-body-max-gc/

Re: access_denied: AADSTS65005: The application 'Microsoft Power Query for Excel' asked for scope 'u

Re: access_denied: AADSTS65005: The application 'Microsoft Power Query for Excel' asked for scope 'u

$
0
0

Hi   , is this a recent issue for you? 

Re: access_denied: AADSTS65005: The application 'Microsoft Power Query for Excel' asked for scope 'u

$
0
0
Yesterday it worked correctly, today it fails

 

Import method - SQL Server connection - Query to join data from two different servers?

$
0
0

Hi,

I'm looking to build a datamodel in Power BI to provide the end-user for them to build their reporting upon. The data for this data model comes from two different SQL databases, on different servers.

The long-term plan is to integrate this data into Hadoop and them build a single datamart than contains the data from both SQL databases (SQL >> Hadoop >> Power BI). With this approach the end-user will receive a datamart that holds a single flat-table.

 

The data integration to Hadoop will not happen soon, but the end-user requires the data now to build their reports. A short-term plan will be to import (Import method) the data from the two separate SQL databases (different servers) into Power BI.

Is there a way to import the SQL data using a query than will bring in the data as single flat-table? The SQL Server connection specifies a single server/database per connection.
If I can do this then the dataset will enter Power BI in the same format as it will when it comes from the Hadoop datamart. Therefore I should simply be able to change the connection string from being a SQL connection to a Hadoop connection and everything on top will remain the same. This includes any data modeling and calculations done by the end-user.

 

I'm open to ideas on what is the best approach other than my suggested one??
I know a flat-table isn't ideal but once brought in, by using a SQL connection or Hadoop connection, it can be normalised. The whole approach is dictated by how Hadoop will provide the data which will be a single flat-table.

 

Thanks.


Redshift Credentials

$
0
0

I have a problem connecting PowerBI service to our Redshift database.  The situation is as follows:

 

 

Our Redshift setup is IP restricted

I have created a report in PBI Desktop - it works fine

We have whitelisted the relevant region IPs from the Azure document located here ( https://www.microsoft.com/en-gb/download/details.aspx?id=41653 )

I published the report to PBI service, and I get an "Invalid credentials" error

I've entered the same credentials that work on PBI Desktop

Still connection times out and I get an invalid credentials error

 

Can anyone help please?

Power BI PRO Differences with Desktop

$
0
0

Why does my Excel Data need to be in Tables in PRO.  It does not require this in Desktop?  Painful to try and  publish some Charts.  Tables cause problems and errors in my workbook?

 

Will this change?

Demand column empty

$
0
0

Good morning. I am working with the Project Online Content Pack in Power BI Online. We are not using Project Engagements and all resources are "Committed" by default. When I look at resource demand, there is no data showing up. I believe the resourcedemandtimephaseddataset Demand column is not populating. 

 

I'm very new to Power BI and a medium user (not new, not expert) in Project. I'm happy to post any additional details that may be helpful. All said and done, how do I get the Demand to populate in the resourcedemandtimephaseddataset table so it reflects in the Resource Details page of the Content Pack?

Re: Power BI PRO Differences with Desktop

$
0
0

'Power BI PRO' is the standard Power BI Desktop software. It just means you're using a Pro license rather than Premium Capacity.

Are you referring to 'Power Pivot for Excel' requiring data to be in a table for it to be consumed by Power Query?

Maybe, Is there a bug about dynamic filtering with the new feature - composite model preview?

$
0
0

I have a parent report and a child report as dynamic filtered report.

(as There is web url that opens the child report in a new browser.)

 

But when i trying to publish, it gives warning as the report is composite model preview. You dont publish.

So i am going options menu and control the  composite model preview option and it is unchecked.

But still i couldnt publish it.

what should i do?

 

note  : Both of them isnt composite but the datasets r different.

Re: Demand column empty

$
0
0

Well, wouldn't it be that I spend DAYS looking into this then solve it right after I ask the question?

 

I needed to set the baseline on the projects. I thought I had but maybe I needed to do so after pulling the data into Power BI? Either way, now that I'm setting the baseline on my projects, the demand is populating as I expected. 

Cannot connect to Azure SQL Database

$
0
0

Unable to log into Azure SQL Database. Here is my error message and  my settings. What am I doing wrong?

I'm using this password and log in information. 

  • Login: PBILogin
  • Password: P@ssw0rd

2018-08-08 11_45_47-Untitled - Power BI Desktop.jpg2018-08-08 11_47_46-Untitled - Power BI Desktop.jpg2018-08-08 11_48_14-Untitled - Power BI Desktop.jpg


Re: Can't get Power BI to accept windows login for sql credentials

$
0
0

No if she tried to connect via ssms on her windows it would be the domain her local box is on which isn't the domain the sql box is on.  Power BI has the credentials to use that are valid on the sql box but it doesn't appear to be trying to log in it just instantly fails without a delay. Is there no way for windows login to work without the cloud domain trusting the local domain?

 

That is what I thought the issue was but I am just hoping there's some way around it as the network admin says the only way to create the trust is to basically redo the domain controllers.

Re: access_denied: AADSTS65005: The application 'Microsoft Power Query for Excel' asked for scope 'u

Get Data - Salesforce Objects - "Couldn't load the data for this visual"

$
0
0

I have pulled in three different objects from Salesforce. The file is 149,335KB. As I start to build a basic table, I get an error that says, "Couldn't load the data for this visual: There's not enough memory to complete this operation. Please try again later when there may be more memory available." I have tested loading the file on both an 8GB and 16GB computer, both have failed. 

 

Has anyone else experienced this? What recommendations do you have? 

 

Thanks in advance!

Re: scheduled refresh in online portal

$
0
0

Yes, i have managed to look at this article and obtain a table for NZ time. Thanks!

 

However, I now face another problem. I am trying to reference this date to create a column in a table where Today = the current NZ time. Tomorrow = Current NZ time + 1. Yesterday = Current NZ time - 1 etc. etc.

 

What i am trying to achieve is a dashboard that references today and tomorrow. So we can see the companies performance for yesterday as well as how we are planning for tomorrow.

 

The formula that did not work online when we run our SQL query was:

 

Up to next work day =
IF (
FORMAT ( TODAY (), "DDDD" ) <> "Friday"
&& FORMAT ( TODAY (), "DDDD" ) <> "Saturday",
IF (
'DateKey'[Date]
= TODAY () - 1,
"Yesterday",
IF (
'DateKey'[Date] = TODAY (),
"Today",
IF ( 'DateKey'[Date] = TODAY () + 1, "Up to next Work Day", "Notapplicable" )
)
),
IF (
FORMAT ( TODAY (), "DDDD" ) = "Friday",
IF (
'DateKey'[Date]
= TODAY () - 1,
"Yesterday",
IF (
'DateKey'[Date] = TODAY (),
"Today",
IF(OR( OR('DateKey'[Date] = TODAY () + 3,'DateKey'[Date] = TODAY () + 2),'DateKey'[Date] = TODAY () + 1), "Up to next Work Day", "Notapplicable" )
)
),
IF (
FORMAT ( TODAY (), "DDDD" ) = "Saturday",
IF (
'DateKey'[Date]
= TODAY () - 1,
"Yesterday",
IF (
'DateKey'[Date] = TODAY (),
"Today",
IF(OR('DateKey'[Date] = TODAY () + 2,'DateKey'[Date] = TODAY () + 1), "Up to next Work Day", "Notapplicable" )
)
)
)
)
)

Re: Redshift Credentials

Viewing all 122138 articles
Browse latest View live


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