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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Refresh error on server - multi datasource

hello , need your help

a report with different data sources

a first request queries a database to retrieve a value which in a second request will call an API

it works fine on the dekstop version, but as soon as I put it on the power bi server it doesn't work and when I refresh it I get the error

[Unable to combine data] Section1/Page views/Type modified1 references other queries or steps, so it may not directly access a data source. Please rebuild this data combination."

here's the API call, the variable retrieved from the DB is accessToken


Source = Json.Document(
Web.Contents(
"https://api.linkedin.com",
[
RelativePath = "v2/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:XXXXXXXXXXXXXXX&timeIntervals.timeGranularityType=DAY&timeIntervals.timeRange.start="&StartEPOCH&"&timeIntervals.timeRange.end="&EndEPOCH,

Headers=[
#"Authorization" = "Bearer " & #"accessToken"
]
]
)
)

1 REPLY 1
lbendlin
Super User
Super User

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.