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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
loubatieres
Regular Visitor

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors