Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I'm looking for a way to force Power Query to fail a scheduled refresh if no data is available. I'm pulling data from a database on a daily basis. When a refresh is successful this fires a subscription to send the report to a distribution list.
Rarely we have failures at database build but the Power BI subscription will send out a blank report page as it will refresh to an empty dataset.
Are there any methods in Power Query that can force a refresh error if no rows of data are found in a particular query?
Thanks!
Kris
Solved! Go to Solution.
@Anonymous ,
You may try using Table.
@Anonymous ,
You may try using Table.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.