<?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: Power Q - New column with If Statement using 2 columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838554#M150065</link>
    <description>&lt;P&gt;Perfect&amp;nbsp; -Thank you!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Apr 2024 14:14:51 GMT</pubDate>
    <dc:creator>lennox25</dc:creator>
    <dc:date>2024-04-15T14:14:51Z</dc:date>
    <item>
      <title>Power Q - New column with If Statement using 2 columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838056#M150043</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hoping someone can assist?&lt;/P&gt;&lt;P&gt;I need to create a new column (see below) called 'Supervisor Visit Frequency' Based on the Audit Result Column and the Supervisor Opinion Column.&amp;nbsp; The Supervisit Visit Frequency is the result I require based on the other two columns.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 11:30:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838056#M150043</guid>
      <dc:creator>lennox25</dc:creator>
      <dc:date>2024-04-15T11:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Power Q - New column with If Statement using 2 columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838288#M150047</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="370465" data-lia-user-login="lennox25" class="lia-mention lia-mention-user"&gt;lennox25&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without knowing what weight each column has when calculating the result, here is what you can do in Power Query Calculated column . Just fill out the rest of the combinations that you have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if [Audit Result] = "Good" and [Supervisor Opinion] = "Excellent" then 12 else 
if [Audit Result] = "Good" and [Supervisor Opinion] = "Satisfactory" then 6 else
if [Audit Result] = "Good" and [Supervisor Opinion] = "Poor" then 3 else 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;if [Audit Result] = "Good" &amp;amp;&amp;amp; [Supervisor Opinion] = "Excellent" , 12 ,
if [Audit Result] = "Good" &amp;amp;&amp;amp; [Supervisor Opinion] = "Satisfactory" , 6 ,
if [Audit Result] = "Good" &amp;amp;&amp;amp; [Supervisor Opinion] = "Poor" , 3 , 0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you found my answer helpful and it solved your issue, please accept as solution&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 12:24:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838288#M150047</guid>
      <dc:creator>Joe_Barry</dc:creator>
      <dc:date>2024-04-15T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Power Q - New column with If Statement using 2 columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838554#M150065</link>
      <description>&lt;P&gt;Perfect&amp;nbsp; -Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2024 14:14:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Power-Q-New-column-with-If-Statement-using-2-columns/m-p/3838554#M150065</guid>
      <dc:creator>lennox25</dc:creator>
      <dc:date>2024-04-15T14:14:51Z</dc:date>
    </item>
  </channel>
</rss>

