Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
alxrz
Regular Visitor

Refresh error: [Unable to combine data] not directly access a data source

I'm trying to make auto refresh working, if I manually refresh data in desktop app, everything works. Once I try to hit the refresh button in web version I get the following error:

 

[Unable to combine data] Section1/acquisition by day/json references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.

 

Side note, this is not firewall error.

 

Here's a code I have:

 

let

json = Web.Contents("http://my_googleanalytics_endpoint/query", [Query=[#"access_token"=settings[token], #"ids"=settings[id], #"start-date"=settings[start], #"end-date"=settings[end], #"metrics"="ga:newUsers", #"dimensions"="ga:landingPagePath", #"max-results"="10000"]]),
headers = List.Transform(Json.Document(json)[columnHeaders], each _[name]),
data = Table.FromRows(Json.Document(json)[rows], headers),
 
//////
// then go some transformations, not a cause?
//////
 
#"Renamed Columns" = Table.RenameColumns(data,{{"ga:landingPagePath", "ga:pagePath"}}),
#"Lowercased Text" = Table.TransformColumns(#"Renamed Columns",{{"ga:pagePath", Text.Lower}}),
#"Changed Type" = Table.TransformColumnTypes(#"Lowercased Text",{{"ga:date", type date}, {"ga:newUsers", Int64.Type}, {"ga:sessions", Int64.Type}, {"ga:yearMonth", Int64.Type}})
 
in
#"Changed Type"

 

"Settings" is another data source where I store and re use parameters and values. Any ideas how to fix error? or rebuild formulas?

 

0 REPLIES 0

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors