Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello I would like some help with dataset update.
Today I update my dataset every 2 hours with data from a database table called table_pivot.
This table is updated several times in the bank and in some periods it is empty (it is empty for some load errors)
What I need to do before updating my dataset is to make sure the table is populated, if it contains data in it, and only if it has any data the dataset is updated. I tried making a parameter and it didn't work.
Have you had anything like that? Could you help me with a solution?
Hug and thanks
Below is an example of logic just for understanding
let
Source = if Odbc.Query("dsn=bd001", "select count(*) from table_pivot") > 0
then Odbc.Query("dsn=bd001", "select count(*) from table_pivot")
else "do not update"
in
Source
Hi @Anonymous ,
you could do it with a Flow.
https://powerbi.microsoft.com/en-us/blog/refresh-your-power-bi-dataset-using-microsoft-flow/
Regards,
Marcus
Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!