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
I created a custom column in a query that I'm referencing in my URL header, but I can't get the data to refresh. I've added all instances of the URL to the Power BI Data Gateway, but still not luck. I think it has to do with the initial custom source, but I'm not sure.
Here's my query:
let
Source = {"23842652136090008","23842656195890008"},
#"Converted to Table" = Table.FromList(Source, Splitter.SplitByNothing(), null, null, ExtraValues.Error),
#"Added Custom" = Table.AddColumn(#"Converted to Table", "Custom", each Json.Document(Web.Contents("https://graph.facebook.com/v2.10/"&Text.From([Column1])&"/insights?access_token=EAAL6cA56RZAsBALLmtP...")))
in
#"Added Custom"
I can't add the full URL as a Web connection Data Gateway in the Powerbi.com site, because of the "&Text.From([Column1])&" portion.
Hopefully this makes sense...
Any thoughts? I'm stumped...
Thanks!
@Anonymous,
When you use function to obtain data from the source, refresh in Power BI Service is not supported. You can vote the following idea that make functions refreshable in Service.
https://ideas.powerbi.com/forums/265200-power-bi/suggestions/9312540-make-functions-refreshable-when-the-data-source-is
Meanwhile, you can review the similar blog below about how to work around the function issue.
https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power-bi/
Regards,
Lydia Zhang
User | Count |
---|---|
158 | |
109 | |
96 | |
84 | |
75 |
User | Count |
---|---|
157 | |
137 | |
131 | |
81 | |
61 |