<?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: Compare two columns  and create new column based the compare the columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317550#M57782</link>
    <description>&lt;P&gt;Please,&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share an exemple of teh file?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 11:23:53 GMT</pubDate>
    <dc:creator>serpiva64</dc:creator>
    <dc:date>2022-02-03T11:23:53Z</dc:date>
    <item>
      <title>Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317441#M57774</link>
      <description>&lt;P&gt;I have two column&amp;nbsp; one Column confirmation&amp;nbsp; and another column Timing&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Confirmation &lt;/STRONG&gt;column have&amp;nbsp; below three values&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.Confirmation&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.Not Confirmed&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.Pending&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Confirmation&amp;nbsp;&lt;/STRONG&gt; as consider&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;No Risk&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Not Confirmed&lt;/STRONG&gt;&amp;nbsp; as Consider&amp;nbsp; &lt;STRONG&gt;Risk&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pending&amp;nbsp;&lt;/STRONG&gt; as consider&amp;nbsp;&lt;STRONG&gt;No Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Timing&amp;nbsp; &lt;/STRONG&gt;column&amp;nbsp;have a following the&amp;nbsp; values .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Overdue Purchase Requisition&amp;nbsp; &lt;/STRONG&gt;consider as&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Standard Overdue &lt;/STRONG&gt;consider&amp;nbsp; &amp;nbsp;as&amp;nbsp;&lt;STRONG&gt;Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Urgent Overdue&lt;/STRONG&gt;&amp;nbsp;consider as&lt;STRONG&gt; Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Urgent&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;consider as &lt;STRONG&gt;Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Lack&amp;nbsp; &lt;/STRONG&gt;consider as&lt;STRONG&gt; Risk&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No Timing Risk&amp;nbsp;&lt;/STRONG&gt;Consider as&amp;nbsp;&lt;STRONG&gt; Risk &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now i want to create new calculated column name&amp;nbsp; called&lt;STRONG&gt;&amp;nbsp; RISK.&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;this column would be a logical result of previous two columns.&lt;/P&gt;&lt;P&gt;i have assign two values for the following conditions&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Risk&lt;/STRONG&gt; – used when this delivery is flagged as one of the Risk statuses in either &lt;STRONG&gt;Confirmation&lt;/STRONG&gt; column or &lt;STRONG&gt;Timing&lt;/STRONG&gt; column&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;No Risk &lt;/STRONG&gt;- used when this delivery is flagged as No Risk statuses in both &lt;STRONG&gt;Confirmation&lt;/STRONG&gt; column and &lt;STRONG&gt;Timing&lt;/STRONG&gt; column&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;&lt;P&gt;i have created condition its not working . any support . looking for support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 10:27:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317441#M57774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-03T10:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317545#M57780</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , Create a new column like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new column =&lt;BR /&gt;Var _1 = &lt;BR /&gt;Switch([Confirmation],&lt;BR /&gt;"Confirmation","No Risk",&lt;BR /&gt;"Not Confirmed","Consider Risk",&lt;BR /&gt;"Pending","No Risk",&lt;BR /&gt;"No Risk")&lt;/P&gt;
&lt;P&gt;Var _2 = &lt;BR /&gt;Switch( true(),&lt;BR /&gt;[Timing] in {"Overdue Purchase Requisition","Standard Overdue","Urgent Overdue","Urgent","Lack","No Timing Risk"}, "Risk",&lt;BR /&gt;"No Risk"&lt;BR /&gt;)&lt;BR /&gt;return &lt;BR /&gt;if(_1 ="Nor Risk" &amp;amp;&amp;amp; _2 = "No Risk", "No Risk", "Risk")&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:22:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317545#M57780</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-03T11:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317550#M57782</link>
      <description>&lt;P&gt;Please,&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you share an exemple of teh file?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:23:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317550#M57782</guid>
      <dc:creator>serpiva64</dc:creator>
      <dc:date>2022-02-03T11:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317555#M57783</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Try something like this: IF(OR(Table[Confirmation] in {"Confirmation", "Not Confirmed"},Table[Timing] &amp;lt;&amp;gt; "No Timing Risk"),"Risk","No Risk")&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:26:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317555#M57783</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-02-03T11:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317566#M57784</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp; sir its showing all the values as Risk and there&amp;nbsp; No Risk value also there.&amp;nbsp;&lt;SPAN&gt;No Timing Risk is a consider as a No Risk and . if this value match with confirmation column&amp;nbsp; &amp;nbsp;Pending ,confirmation . its should return No Risk&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:35:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317566#M57784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-03T11:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Compare two columns  and create new column based the compare the columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317713#M57801</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt; , return has one spell mistake, Check that in formula &lt;/P&gt;
&lt;P&gt;return&lt;/P&gt;
&lt;P&gt;if(_1 ="&lt;STRONG&gt;Not&lt;/STRONG&gt; Risk" &amp;amp;&amp;amp; _2 = "No Risk", "No Risk", "Risk")&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:00:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Compare-two-columns-and-create-new-column-based-the-compare-the/m-p/2317713#M57801</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-02-03T13:00:15Z</dc:date>
    </item>
  </channel>
</rss>

