<?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: How to create a calculated column with 2 condition in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3616912#M139839</link>
    <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352970" data-lia-user-login="njxfoster" class="lia-mention lia-mention-user"&gt;njxfoster&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;Column=&lt;/P&gt;&lt;P&gt;Switch (&lt;/P&gt;&lt;P&gt;True (),&lt;/P&gt;&lt;P&gt;Tablename[Average Transfer Times]&amp;gt;30 &amp;amp;&amp;amp; tablename[# of Calls]&amp;gt;=15,"High transfer",&lt;/P&gt;&lt;P&gt;Tablename[Average Transfer Times]&amp;lt;3 &amp;amp;&amp;amp; tablename[# of Calls]&amp;gt;=50,"low transfer")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jan 2024 04:25:31 GMT</pubDate>
    <dc:creator>Dangar332</dc:creator>
    <dc:date>2024-01-05T04:25:31Z</dc:date>
    <item>
      <title>How to create a calculated column with 2 condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3616554#M139827</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set up a Calculated column which help me identify "&lt;STRONG&gt;high transfer&lt;/STRONG&gt;" and "&lt;STRONG&gt;low transfer&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;If "Average Transfer Times" is greater than 30 and "# of Calls"&amp;nbsp; is greater or equal to 15&amp;nbsp;&lt;/P&gt;&lt;P&gt;the Column shows" &lt;STRONG&gt;High Transfer&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If "Average Transfer Times" is less than 3 and&amp;nbsp;"# of Calls"&amp;nbsp; is greater or equal to 50&lt;/P&gt;&lt;P&gt;the Column shows" &lt;STRONG&gt;Low Transfer&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I create this calculated Column?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&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;</description>
      <pubDate>Thu, 04 Jan 2024 22:31:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3616554#M139827</guid>
      <dc:creator>njxfoster</dc:creator>
      <dc:date>2024-01-04T22:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a calculated column with 2 condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3616912#M139839</link>
      <description>&lt;P&gt;Hi, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352970" data-lia-user-login="njxfoster" class="lia-mention lia-mention-user"&gt;njxfoster&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;Column=&lt;/P&gt;&lt;P&gt;Switch (&lt;/P&gt;&lt;P&gt;True (),&lt;/P&gt;&lt;P&gt;Tablename[Average Transfer Times]&amp;gt;30 &amp;amp;&amp;amp; tablename[# of Calls]&amp;gt;=15,"High transfer",&lt;/P&gt;&lt;P&gt;Tablename[Average Transfer Times]&amp;lt;3 &amp;amp;&amp;amp; tablename[# of Calls]&amp;gt;=50,"low transfer")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 04:25:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3616912#M139839</guid>
      <dc:creator>Dangar332</dc:creator>
      <dc:date>2024-01-05T04:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a calculated column with 2 condition</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3617416#M139853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="352970" data-lia-user-login="njxfoster" class="lia-mention lia-mention-user"&gt;njxfoster&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your question, here is the method I provided:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's some dummy data&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a column&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Transfer Type = 
    IF(
        'Table'[Average Transfer Times] &amp;gt;30 &amp;amp;&amp;amp; 'Table'[# of Calls] &amp;gt;= 15, 
        " High Transfer", 
        IF(
            'Table'[Average Transfer Times] &amp;lt; 3 &amp;amp;&amp;amp; 'Table'[# of Calls] &amp;gt;= 50, 
            "Low Transfer", 
            BLANK()
            )
    )
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the result&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Nono Chen&lt;/P&gt;
&lt;P&gt;If this &lt;STRONG&gt;&lt;EM&gt;post&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;helps, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 09:18:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-create-a-calculated-column-with-2-condition/m-p/3617416#M139853</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-05T09:18:43Z</dc:date>
    </item>
  </channel>
</rss>

