<?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 filter in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274323#M5068</link>
    <description>&lt;P&gt;This is what ChatGPT gave me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;= Table.SelectRows(#"yourTableName", each Text.Lower(Text.Trim([column2])) &amp;lt;&amp;gt; "buy")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it work for your case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* the yourTableName shall be replaced by the name of the preceding step in your M query.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2024 05:09:43 GMT</pubDate>
    <dc:creator>frithjof_v</dc:creator>
    <dc:date>2024-11-08T05:09:43Z</dc:date>
    <item>
      <title>dataflow gen2 filter</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274293#M5066</link>
      <description>&lt;P&gt;in dataflow gen2 filter how to have this applied?&lt;/P&gt;&lt;P&gt;column2 not equal to lower(trim('buy'))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so if the value is 'Buy' or 'buy' then I want to make sure the column2 is not equal to either one of these.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 15:37:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274293#M5066</guid>
      <dc:creator>arkiboys2</dc:creator>
      <dc:date>2024-11-07T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 filter</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274323#M5068</link>
      <description>&lt;P&gt;This is what ChatGPT gave me:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;= Table.SelectRows(#"yourTableName", each Text.Lower(Text.Trim([column2])) &amp;lt;&amp;gt; "buy")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does it work for your case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* the yourTableName shall be replaced by the name of the preceding step in your M query.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 05:09:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274323#M5068</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-11-08T05:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 filter</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274903#M5076</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 from frithjof_v&amp;nbsp;. The syntax he provided is basically correct, with a small modification on my part.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You mean you want to filter out the data in Column2 with value 'Buy' or 'buy' right, am I understanding it correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the data I created to use for testing:&lt;/P&gt;
&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Column2&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sales&lt;/P&gt;
&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Twins&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Boy&lt;/P&gt;
&lt;P&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Girl&lt;/P&gt;
&lt;P&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; girl&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Buy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buy&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Modify the code as follows:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table.SelectRows(#“Changed column type”, each Text.Lower(Text.Trim([Column2])) &amp;lt;&amp;gt; “buy”)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The final display is as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vhuijieymsft_0-1731034817722.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1196151i83E82C7FD47FB5FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vhuijieymsft_0-1731034817722.png" alt="vhuijieymsft_0-1731034817722.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 03:00:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274903#M5076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-08T03:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: dataflow gen2 filter</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274999#M5077</link>
      <description>&lt;P&gt;The easiest way to do this, is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;In the user interface, make a random filter selection. In Column2 filter dropdown, choose some random value. It doesn't matter which value you choose.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;The previous step will automatically generate some M code, where the Table.SelectRows function is used.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Then, manually replace the contents of the Table.SelectRows function with the actual code:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Table.SelectRows(#"name Of Previous Step", each Text.Lower(Text.Trim([column2])) &amp;lt;&amp;gt; "buy")&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 05:22:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/dataflow-gen2-filter/m-p/4274999#M5077</guid>
      <dc:creator>frithjof_v</dc:creator>
      <dc:date>2024-11-08T05:22:13Z</dc:date>
    </item>
  </channel>
</rss>

