Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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
Hi all,
I’m working on a data pipeline in Microsoft Fabric and came across the "Set Pipeline Variable" activity, but I'm not quite clear on its purpose and usage. Could someone explain:
Any insights or examples would be greatly appreciated! Thanks in advance.
Solved! Go to Solution.
Hi @HamidBee
1. To temporary store a value which you can easily reuse that value in other steps of your data pipeline and reference it via the variable. It is a typical concept of programming as well.
2. An example has been shared by Microsoft, you can for example is it in a counter in an for each loop to keep track of the number of loops: https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#incrementing...
3. The Pipeline return value can be used to interact with values of child pipelines, for reference see this section of the same document:
https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-return-value
Hopefully this helps a bit?
Hi @HamidBee
1. To temporary store a value which you can easily reuse that value in other steps of your data pipeline and reference it via the variable. It is a typical concept of programming as well.
2. An example has been shared by Microsoft, you can for example is it in a counter in an for each loop to keep track of the number of loops: https://learn.microsoft.com/en-us/azure/data-factory/control-flow-set-variable-activity#incrementing...
3. The Pipeline return value can be used to interact with values of child pipelines, for reference see this section of the same document:
https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-return-value
Hopefully this helps a bit?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Fabric update to learn about new features.
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
2 |