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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Madhouseanalyst
New Member

Ignore Data source if fails to load

I have a Query that pulls from about 24 different websites, and then compiles them.  Occasionally, one of the websites will be down, which causes the entire file to fail to refresh.  Is there a way that I can tell PQ to ignore any websites that are down, and just complie from the working sources?

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You may be interested in my answer to a related question here:
https://community.powerbi.com/t5/Power-Query/Append-all-queries-that-have-no-error/m-p/2868403

 

The key is using try ... otherwise with an empty table fallback:

try #"Website Query 1" otherwise #table({},{}),

 

View solution in original post

2 REPLIES 2
AlexisOlson
Super User
Super User

You may be interested in my answer to a related question here:
https://community.powerbi.com/t5/Power-Query/Append-all-queries-that-have-no-error/m-p/2868403

 

The key is using try ... otherwise with an empty table fallback:

try #"Website Query 1" otherwise #table({},{}),

 

Thank you!

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors