Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.