March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hey everyone,
I might be missing an obvious connection, but is there a way to branch the pipeline on 3 conditions? "Switch" activity accepts multiple conditions, but doesn't accept boolean in an expression. "If" activity accepts boolean expression, but has only two conditions. Additionally they both require pipeline "nesting", where if the branching doesn't converge at some point, main canvas "ends" with the If activity and all the rest is hidden in the overview.
I get the idea that I can circumvent the switch, but I'm struck by the absence of a farily simple tool that redirects the flow on the main canvas and accepts several conditions of different types.
Apologies for complaining.
Best regards,
Jakub
Solved! Go to Solution.
Depending on what you want to do after the branching you could use the "Filter" activity to handle this. Create multiple Filter activities that will be executed in parallel which lead to different activities being beformed depending on the input.
I used this once to decide depending on the metadata I was reading from a configuration table, which pipeline I want to trigger in the next step.
This approach was used in the Azure Data Factory btw. ... could use the Switch Activity in Fabric Data Factory nowadays.
Depending on what you want to do after the branching you could use the "Filter" activity to handle this. Create multiple Filter activities that will be executed in parallel which lead to different activities being beformed depending on the input.
I used this once to decide depending on the metadata I was reading from a configuration table, which pipeline I want to trigger in the next step.
This approach was used in the Azure Data Factory btw. ... could use the Switch Activity in Fabric Data Factory nowadays.
Hi @Ostrzak
You can try using a combination of "Switch" and "If" activities to handle multiple branch conditions.
Add a "Switch" activity to the pipeline and set the expression. In the "Switch" activity, add three branches.
Perform different if activities according to different branches, if it is "true", the next step is performed, if it is "false", the end.
Switch activity - Microsoft Fabric | Microsoft Learn
If Condition activity - Microsoft Fabric | Microsoft Learn
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
1 |
User | Count |
---|---|
14 | |
10 | |
9 | |
5 | |
4 |