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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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