cancel
Showing results for 
Search instead for 
Did you mean: 
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
March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Top Kudoed Authors