<?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 Dax -new column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2963501#M98808</link>
    <description>&lt;P&gt;Hello World,&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;I want to create a new column called Bank Draft Vs Card. If After Mode's (&lt;STRONG&gt;Reversal, Special Reversal, Problem) [3 CATEGORY] &lt;/STRONG&gt;Prior mode is (Amex,Visa,Discover,MasterCard) then its card or else its Bank draft.&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 21:07:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-12-12T21:07:40Z</dc:date>
    <item>
      <title>Dax -new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2963501#M98808</link>
      <description>&lt;P&gt;Hello World,&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;I want to create a new column called Bank Draft Vs Card. If After Mode's (&lt;STRONG&gt;Reversal, Special Reversal, Problem) [3 CATEGORY] &lt;/STRONG&gt;Prior mode is (Amex,Visa,Discover,MasterCard) then its card or else its Bank draft.&amp;nbsp;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 21:07:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2963501#M98808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-12T21:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dax -new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2963565#M98816</link>
      <description>&lt;P&gt;can you aslo provide the expected result? language alone sometimes is not tightly logical.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 21:55:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2963565#M98816</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-12T21:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dax -new column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2964734#M98887</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 try this code to create a calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;NewColumn =
IF (
    AND (
        'TableName'[AfterMode] IN { "Reversal", "Special Reversal", "Problem" },
        'TableName'[PriorMode] IN { "Amex", "Visa", "Discover", "MasterCard" }
    ),
    "Card",
    "Bank Draft"
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 09:14:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-new-column/m-p/2964734#M98887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-13T09:14:20Z</dc:date>
    </item>
  </channel>
</rss>

