Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Is there a way to check if a SQL query used for import returns any records prior to loading? We are experiencing a few blank reports and I'd rather show "stale"/yesterday's data versus a completely blank report. Essentially if no data returned via the initial SQL, stop the refresh, don't load, keep the old data. I don't have incremental refresh, simply a regular scheduled refresh (daily; morning).
Thanks.
The only way to accomplish that is by raising an error during the M query execution which would then result in a failed refresh and would keep the prior data.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 18 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 63 | |
| 50 | |
| 46 | |
| 41 | |
| 39 |