Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
If the PBI report is based on multiple data source then what could be the method for schedule refresh to work on the web service if other excel data source is broken or fail to refresh?
Appreciate your ideas!
Thank you,
Hi,
Please paste the Advanced editor code on a blank query, This might be help.
If my answer helps, please accept the solution.
Regards 🙂
let
Path = "C:\Users\TR100722\Desktop\powerbi\Form.xlsx",
Result = try Binary.ToText(File.Contents(Path)),
Output =if Logical.From(Result[HasError]) then "not exist" else Excel.Workbook(File.Contents("C:\Users\TR100722\Desktop\powerbi\Form.xlsx"), null, true)
in
Output
@DeoYadav Depends, you can refer to this: Dealing with errors - Power Query | Microsoft Learn. You could, for example, add a step or multiple steps that removes all errors in all columns. Thus, if there was an error involving data then this would not impact the loading of the table (it would likely load as a blank table for example) but not result in an error that would affect the other queries potentially. However, it is doubtful that the report would end up with valid information anyway.
@Greg_Deckler thank you for sharing, will go through it and try if it works for me. in my case, I'm using excel data on the cloud and other data sources too.
thank you.
Hello,
You should use a data gateway if you have a data source that is on premises not on cloud, and you should setup the data gateway in the service. Also the server which has the datasets should be turned On when the data is refreshing.
Here is a link on data gateway https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem
If I answered your question, please mark my post as solution, Appreciate your Kudos 👍
Proud to be a Super User! | |
User | Count |
---|---|
116 | |
73 | |
62 | |
48 | |
47 |
User | Count |
---|---|
173 | |
123 | |
60 | |
59 | |
57 |