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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ostrzak
Helper II
Helper II

Branching on the main canvas of data pipeline

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

1 ACCEPTED SOLUTION
Nico_Saar
Frequent Visitor

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.

 

Nico_Saar_0-1728386375879.png

 

This approach was used in the Azure Data Factory btw. ... could use the Switch Activity in Fabric Data Factory nowadays. 

View solution in original post

2 REPLIES 2
Nico_Saar
Frequent Visitor

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.

 

Nico_Saar_0-1728386375879.png

 

This approach was used in the Azure Data Factory btw. ... could use the Switch Activity in Fabric Data Factory nowadays. 

Anonymous
Not applicable

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.

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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