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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
pmscorca
Kudo Kingpin
Kudo Kingpin

Resetting a string pipeline variable

Hi,

inside a my pipeline I've implemented some set variable activities that operate on strings. In particular I'd like to reset the value of a string pipeline variable as a blank value.

Is the correct method to use

@''

as a dynamic content?

It doesn't exist any specific espression function.

Thanks

3 REPLIES 3
v-sshirivolu
Community Support
Community Support

Hi @pmscorca,

 

In Microsoft Fabric Data Factory, string pipeline variables cannot be set to null, and there is no specific function to clear or reset a string value. Since variables are strongly typed, the only way to reset a string variable is to assign it an empty string. You can do this in a Set variable activity by entering an empty string literal ('' or "") as dynamic content. This method is intentional and is the recommended way to represent a blank string value in Fabric pipelines.

 

Thank you.

Hi, thanks for your reply.
Therefore I need to write

('')

or

("")

as a dynamic content, isn't it?

Hi @pmscorca ,
Yes, that’s correct. Use an empty string ('' or "") in the Set variable activity to reset the string variable.

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric 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.