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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
ejamnadas
Frequent Visitor

Pipeline set variable not saving expression values

New to pipelines. In the Until loop, I'm using Set Variable activity.  For the pipeline variables, I create a varaible vtemp = @variables('vstart').

then I have an existing pipeline variable that I'm trying to increment: vstart= @add(variable('vtemp'),100).

However, once i set all these, and I go back to vtemp, all of a sudden it shows @add(variable('vtemp'),100).

It seems buggy, my values /expressions wont stick and are getting mixed up with each other

1 ACCEPTED SOLUTION
Vinodh247
Resolver II
Resolver II

looks like just a UI glitch in the pipeline editor, especially when you have multiple Set Variable activities referencing each others values in the same loop. The wrong expression often shows up in the editor pane even though logically the pipeline is still correct underneath (or it’s overwriting behind the scenes). In most cases, the final approach is simply to have 2 separate Set Variable activities in the Until loop: the 1st copies the old value to a temp variable, and the 2nd increments the original variable by referencing the temp. This is usually the cleanest workaround for the UI mixup issues.

View solution in original post

4 REPLIES 4
v-shamiliv
Community Support
Community Support

Hi @Vinodh247 
I hope the 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.

v-shamiliv
Community Support
Community Support

Hi @ejamnadas 
I wanted to check if you had the opportunity to review the information provided by @Vinodh247 . Please feel free to contact 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.

v-shamiliv
Community Support
Community Support

Hi @ejamnadas 

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.

Vinodh247
Resolver II
Resolver II

looks like just a UI glitch in the pipeline editor, especially when you have multiple Set Variable activities referencing each others values in the same loop. The wrong expression often shows up in the editor pane even though logically the pipeline is still correct underneath (or it’s overwriting behind the scenes). In most cases, the final approach is simply to have 2 separate Set Variable activities in the Until loop: the 1st copies the old value to a temp variable, and the 2nd increments the original variable by referencing the temp. This is usually the cleanest workaround for the UI mixup issues.

Helpful resources

Announcements
May FBC25 Carousel

Fabric Monthly Update - May 2025

Check out the May 2025 Fabric update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.