<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: dataflow gen2 branching in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4275043#M5078</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/592286"&gt;@arkiboys2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply frithjof_v&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to edit the M code in the Advanced editor.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_0-1731044325370.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1196220i20055C76641D8279/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_0-1731044325370.png" alt="vhuijieymsft_0-1731044325370.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar use case is below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
  Source = Lakehouse.Contents([]),
  #"Navigation 1" = Source{[workspaceId = "y=YourWorkspaceId"]}[Data],
  #"Navigation 2" = #"Navigation 1"{[lakehouseId = "[YourLakehouseId"]}[Data],
  Navigation = #"Navigation 2"{[Id = "Sales", ItemKind = "Table"]}[Data],
  #"Inserted conditional column 1" = Table.AddColumn(Navigation, "Custom", each if [SalesID] = null then "" else ""),
  #"Added custom" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;1000 then 1 else 0),
  #"Added custom2" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;2000 then 1 else 0),
   #"Added custom3" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;3000 then 1 else 0)
in
  #"Added custom3"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_1-1731044325371.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1196221iF74E5C798DBA0768/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_1-1731044325371.png" alt="vhuijieymsft_1-1731044325371.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 05:39:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-08T05:39:54Z</dc:date>
    <item>
      <title>dataflow gen2 branching</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4274322#M5067</link>
      <description>&lt;P&gt;similar to ADF dataflow where there is branching activity, is there a similar option in gen2?&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;step --&amp;gt; step2 --&amp;gt; step3 --&amp;gt; step4 --&amp;gt; step4a1 --&amp;gt; step4a2...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt; step4b1 --&amp;gt; step4b2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 15:56:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4274322#M5067</guid>
      <dc:creator>arkiboys2</dc:creator>
      <dc:date>2024-11-07T15:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 branching</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4274331#M5070</link>
      <description>&lt;P&gt;I don't have experience with ADF dataflow, but do yo&lt;SPAN&gt;u mean take different routes depending on an IF statement?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes that's possible. You will likely need to edit the M code in Advanced editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have a specific use case?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 16:18:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4274331#M5070</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-11-07T16:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 branching</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4275043#M5078</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/592286"&gt;@arkiboys2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply frithjof_v&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to edit the M code in the Advanced editor.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_0-1731044325370.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1196220i20055C76641D8279/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_0-1731044325370.png" alt="vhuijieymsft_0-1731044325370.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar use case is below:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
  Source = Lakehouse.Contents([]),
  #"Navigation 1" = Source{[workspaceId = "y=YourWorkspaceId"]}[Data],
  #"Navigation 2" = #"Navigation 1"{[lakehouseId = "[YourLakehouseId"]}[Data],
  Navigation = #"Navigation 2"{[Id = "Sales", ItemKind = "Table"]}[Data],
  #"Inserted conditional column 1" = Table.AddColumn(Navigation, "Custom", each if [SalesID] = null then "" else ""),
  #"Added custom" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;1000 then 1 else 0),
  #"Added custom2" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;2000 then 1 else 0),
   #"Added custom3" = Table.AddColumn(#"Inserted conditional column 1", "Custom (2)", each if [Amount]&amp;gt;3000 then 1 else 0)
in
  #"Added custom3"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_1-1731044325371.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1196221iF74E5C798DBA0768/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_1-1731044325371.png" alt="vhuijieymsft_1-1731044325371.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have any other questions please feel free to contact me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 05:39:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4275043#M5078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-08T05:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 branching</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4277101#M5098</link>
      <description>thank you</description>
      <pubDate>Sun, 10 Nov 2024 14:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-branching/m-p/4277101#M5098</guid>
      <dc:creator>arkiboys2</dc:creator>
      <dc:date>2024-11-10T14:25:31Z</dc:date>
    </item>
  </channel>
</rss>

