cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors