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
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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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