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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
I'd like to know if is there a way to pass a query refresh depending on a variable. For example, not to try to read a table depending on day and keep data of a before query.
Solved! Go to Solution.
Sorry, I don't think so. Is the table the result of a complex calculation (i.e. takes hours to run), but you can persistent in temp table (i.e. run without the complexity). This will just turn the refresh into a simple read task. It could run faster, but this solution is still outside the M query language.
@daniel_ricardo - Do you have Premium capacity? If so...
there is an option in Power BI that excludes a Table for the normal refresh (don't uncheck "Enable Load"). The excluded table can be refreshed manually using an "XLMA" API call. This API will require Premium capacity.
..but nothing that can be used in query layer, using m language?
Sorry, I don't think so. Is the table the result of a complex calculation (i.e. takes hours to run), but you can persistent in temp table (i.e. run without the complexity). This will just turn the refresh into a simple read task. It could run faster, but this solution is still outside the M query language.
I'll try to find some alternative to skip that, maybe using an approach as you suggested. Thanks a lot for your help!
Hi @daniel_ricardo - could you please provide a bit more information of what you are trying to achieve?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.