Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vinayguptak81
Frequent Visitor

PowerQ Folding Issue

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.

vinayguptak81_2-1740785083036.png

vinayguptak81_3-1740785177844.png

 

vinayguptak81_4-1740785273293.png

 

 

vinayguptak81_1-1740784853376.png

 

vinayguptak81_0-1740784701709.png

 

Any suggestions will be appreciated.  Thank you.

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

"DECLARE" is not allowed.  Use SELECT statements only. Hide your fancy stuff in stored procedures or views.

View solution in original post

Anonymous
Not applicable

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.

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

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.

Anonymous
Not applicable

Hi @vinayguptak81 

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.

Anonymous
Not applicable

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.

 

lbendlin
Super User
Super User

"DECLARE" is not allowed.  Use SELECT statements only. Hide your fancy stuff in stored procedures or views.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.