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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
OzkanDhont
Resolver II
Resolver II

Power BI Service - Dynamic datasource with variabel parameter (Odata connection)

Hi, 

 

I need some help setting up a dynamic data source in Power BI.

For each 'Division' the users puts in the parameter (delimited by ',') an odata connection has to be made.

Following code works in Power BI Desktop:

 

let

Source = Text.Split(Division,","),
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Renamed Columns" = Table.RenameColumns(#"Converted to Table",{{"Column1", "Division"}}),
#"AddedCustom" = Table.AddColumn(#"Renamed Columns", "Result", each OData.Feed("https://bridge-online.cloud/exact-online/odata4/E... eq " & [Division], null, [Implementation="2.0", ODataVersion=4, OmitValues=ODataOmitValues.Nulls, Headers=[Referer = "enter-your-chosen-id-for-the-source" ], Timeout=#duration(0,4,0,0)]))

in

#"AddedCustom"

 

But when I want to schedule refresh in the Power BI Service, I get following error:

"This dataset includes a dynamic data source. Since dynamic data sources aren't refreshed in the Power BI service, this dataset won't be refreshed. Learn more: https://aka.ms/dynamic-data-sources."

 

Any help would be appreciated.

Thanks in advance!

 

Kind regards,

OD

3 REPLIES 3
v-zhangti
Community Support
Community Support

Hi, @OzkanDhont 

 

Please refer to the following links in the hopes of helping you.
Solved: Help: Dataset includes a dynamic data source error - Microsoft Power BI Community

Solved: This dataset includes a dynamic data source. Since... - Microsoft Power BI Community

Solved: Error while schedule refresh - getting error " Thi... - Microsoft Power BI Community

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi!

 

Thanks for your reply.

They all refer to [RelativePath = ] as a fix but sadly Odata doesn't support RelativePath as far as I know.

I've tried but failed.

 

If there are any other solution, let me know!

 

Kind regards,

OD

Hey @OzkanDhont have you solve it? i have the same problem. let me know whats your work around on this. Thank you.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.