<?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: Custom column with IF and AND statement in Power Query</title>
    <link>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1486575#M46366</link>
    <description>&lt;P&gt;clike Add Column ---&amp;gt; Custom Column, and input this formula&lt;/P&gt;&lt;P&gt;=&amp;nbsp;&lt;SPAN&gt;[BoatIncludeExcludeItemId] = 68 and [Included]&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 07:56:57 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2020-11-11T07:56:57Z</dc:date>
    <item>
      <title>Custom column with IF and AND statement</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1482817#M46244</link>
      <description>&lt;P&gt;Hi, I have 2 columns that look like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I want to create a custom column that shows "TRUE" when&lt;/P&gt;&lt;P&gt;ID=68 and&lt;/P&gt;&lt;P&gt;Included = TRUE&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;How do write this in Power Query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 13:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1482817#M46244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-09T13:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Custom column with IF and AND statement</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1482826#M46246</link>
      <description>&lt;P&gt;This should work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;= if [BoatIncludeExcludeId] = 68 and [InFulllEquipmentPackage] = true then true else false&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 13:20:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1482826#M46246</guid>
      <dc:creator>mahoneypat</dc:creator>
      <dc:date>2020-11-09T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom column with IF and AND statement</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1486465#M46364</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also create a custom column like so:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt; = if [ID] = 68 and [Included] then true else false&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Icey&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;SPAN&gt;, then please consider&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 06:53:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1486465#M46364</guid>
      <dc:creator>Icey</dc:creator>
      <dc:date>2020-11-11T06:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom column with IF and AND statement</title>
      <link>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1486575#M46366</link>
      <description>&lt;P&gt;clike Add Column ---&amp;gt; Custom Column, and input this formula&lt;/P&gt;&lt;P&gt;=&amp;nbsp;&lt;SPAN&gt;[BoatIncludeExcludeItemId] = 68 and [Included]&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 07:56:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Power-Query/Custom-column-with-IF-and-AND-statement/m-p/1486575#M46366</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2020-11-11T07:56:57Z</dc:date>
    </item>
  </channel>
</rss>

