The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
This dataset is retrieving the data from a csv file in a Sharepoint document folder.
Ocasionally, the file is missing, and the dataset refresh fails in Power BI service fails.
This is the 1st step of the query:
= try Csv.Document(Web.Contents("https://xxx.sharepoint.com/sites/xxx/PowerBI.csv"),[Delimiter=";", Columns=7, Encoding=1252, quoteStyle=QuoteStyle.None]) otherwise #table({"ID"},{})
Is there a way to prevent this error happening and allow the dataset to refresh?
Wow what a great idea 💡
If I have an unreliable source, then I use a Dataflow to grab the data from that source.
Source > Dataflow > Dataset
If the Dataflow fails, it doesn't impact the Dataset refresh as the Dataflow just reverts back to the last successful load.
In fact, I utilize Dataflows nearly entirely for the fact that independent Dataflow failures do not derail an entire Dataset.
User | Count |
---|---|
42 | |
16 | |
13 | |
11 | |
9 |
User | Count |
---|---|
51 | |
31 | |
22 | |
17 | |
15 |