We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello everyone, I have an issue when I configure auto refresh on Power BI. I received a note:
"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.
Data source for Query1"
Here is my query of the table I want to refresh:
let
Source =
Table.AddColumn(
Table.SelectRows(
Table.FromList(
List.Numbers(0,Json.Document(Web.Contents("https://public.kiotapi.com/invoices?pagesize=100&orderBy=createdDate ", [Headers=[Retailer="eatwell", Authorization="Bearer "& Token_Formular()]]))[total]/100, 100),
Splitter.SplitByNothing(), null, null, ExtraValues.Error),
each [Column1] >= 60000),
"Custom", Query2())
in
Source
Formular Query2():
() =>
let
Source = each Json.Document(Web.Contents("https://public.kiotapi.com/invoices?pagesize=100¤titem= "&Text.From([Column1])&"&orderBy=createdDate", [Headers=[Retailer="eatwell", Authorization="Bearer "& Token_Formular()]]))
in
Source
My step:
1. I create a list of number and convert it to a column.
2. I add another column based on that column with formular Query2()
I think column of number that I created is cause root.
Can you help me how to configure auto refresh with dynamic data source?
*Sorry for my bad English TT__TT
Hi @PhuongPham0111 ,
Please refer to this link to check if there's a warning called "Some data sources may not be listed because of hand-authored queries".
Data refresh in Power BI - Power BI | Microsoft Docs
Take a look at this blog for how to use the query option available in web.contents
This is the related document, you can view this content:
Solved: Help: Dataset includes a dynamic data source error - Microsoft Fabric Community
Solved: API Pagination + Throttling + Dynamic data source ... - Microsoft Fabric Community
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Read about the Query = parameter of Web.Contents.
Web.Contents - PowerQuery M | Microsoft Learn
That will make your main URL static (even without RelativePath).
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.