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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jaryszek
Post Patron
Post Patron

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
Post Patron
Post Patron

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
Post Patron
Post Patron

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors