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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello everyone.
I need some guidance and suggestions. I am trying to do Incremental refresh. I have created the standard parameters (RangeStart and RandEnd).
The issue is that when I apply these filters on my query, the refresh runs for a very long time. Also, I've tried forcing the Run NativeQuery, however, I get an error because the SQL query starts with declaring variables.
Any suggestions will be appreciated. Thank you.
Solved! Go to Solution.
"DECLARE" is not allowed. Use SELECT statements only. Hide your fancy stuff in stored procedures or views.
Hi @vinayguptak81
Thank you for reaching out microsoft fabric community forum.
I wanted to check if you had the opportunity to review the information provided @lbendlin . Please feel free to reach us if you have any further questions. If his response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Hi @vinayguptak81
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Hi @vinayguptak81
Thank you for reaching out microsoft fabric community forum.
I wanted to check if you had the opportunity to review the information provided @lbendlin . Please feel free to reach us if you have any further questions. If his response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
"DECLARE" is not allowed. Use SELECT statements only. Hide your fancy stuff in stored procedures or views.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!