cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jaryszek
Helper V
Helper V

Refresh dynamic data source

Hi Guys,

i have table like here:

 

Screenshot_310.png

 

and code to add additional column with table sources is:

= Table.AddColumn(Table1_Table, "Custom", each Table.AddColumn(Table1_Table, "Custom", each if [ConnectorKind] = "Web" then Csv.Document(Web.Contents([Connector]),[Delimiter=",", Encoding=1250, QuoteStyle=QuoteStyle.None]) else Expression.Evaluate([Connector],[PostgreSQL.Database = PostgreSQL.Database])))


And it is nice but the issue is that after publising into power BI service it complains that dataset has dynamic datasource which can not be refreshed which i neeeed so much.

How can i create one table with refreshable tables as one additional column? 
From queries i will just refer to this one table.

Please help,
Jacek

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @jaryszek ,

 

To refresh dynamic data sources in Power BI Service, you can use Web. Contents() and Relative Path parameter in it, please refer:

 

Web.Contents(), M Functions And Dataset Refresh Errors In Power BI

Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code

Setting a scheduled refresh on a Dynamic Data Source in Power BI | by dataninja

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

5 REPLIES 5
jaryszek
Helper V
Helper V

Hi @v-cgao-msft ,

ok i checked possibilities and using gataway solving issue entirely. 
So i suppose that relative path will work only for external internet connections but can you please confirm?

Best,
Jacek

jaryszek
Helper V
Helper V

Thank you, 

 

does Microsoft have also documentation about it?

Best,
Jacek

Hi @jaryszek ,

 

This is briefly mentioned in the official document. Please refer:

Data refresh in Power BI

 

Best Regards,
Gao

Community Support Team

O wow not any more and not about m language query parameter syntax...

best,
Jacek

v-cgao-msft
Community Support
Community Support

Hi @jaryszek ,

 

To refresh dynamic data sources in Power BI Service, you can use Web. Contents() and Relative Path parameter in it, please refer:

 

Web.Contents(), M Functions And Dataset Refresh Errors In Power BI

Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code

Setting a scheduled refresh on a Dynamic Data Source in Power BI | by dataninja

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors