<?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: Return value in Column 2 if column 1 is equal to ... in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3673825#M142563</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284198" data-lia-user-login="sean123" class="lia-mention lia-mention-user"&gt;sean123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It's an easy one - you can solve your case with a calculation column like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Contractor Hours = IF ( [Type] = "Contractor", [Hours], 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Best Regards, &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Alexander&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@powerbi-vlog" target="_blank"&gt;My YouTube vlog in English&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@pbi-vlog" target="_blank"&gt;My YouTube vlog in Russian&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 19:34:15 GMT</pubDate>
    <dc:creator>barritown</dc:creator>
    <dc:date>2024-02-01T19:34:15Z</dc:date>
    <item>
      <title>Return value in Column 2 if column 1 is equal to ...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3673416#M142530</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if you might be able to help. I am trying to work out a way in PowerBi to return the result in the yellow column below...such as...if the "type" is an employee return a value of zero but if the "type" is a contractor turn the value in the "hours" column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Sean&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 16:21:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3673416#M142530</guid>
      <dc:creator>sean123</dc:creator>
      <dc:date>2024-02-01T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Return value in Column 2 if column 1 is equal to ...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3673825#M142563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="284198" data-lia-user-login="sean123" class="lia-mention lia-mention-user"&gt;sean123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;It's an easy one - you can solve your case with a calculation column like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Contractor Hours = IF ( [Type] = "Contractor", [Hours], 0 )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Best Regards, &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Alexander&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@powerbi-vlog" target="_blank"&gt;My YouTube vlog in English&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;&lt;A href="https://youtube.com/@pbi-vlog" target="_blank"&gt;My YouTube vlog in Russian&lt;/A&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 19:34:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3673825#M142563</guid>
      <dc:creator>barritown</dc:creator>
      <dc:date>2024-02-01T19:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Return value in Column 2 if column 1 is equal to ...</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3674974#M142638</link>
      <description>&lt;P&gt;Thank you Barritown, worked lovely!&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;Sean&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 08:03:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-value-in-Column-2-if-column-1-is-equal-to/m-p/3674974#M142638</guid>
      <dc:creator>sean123</dc:creator>
      <dc:date>2024-02-02T08:03:07Z</dc:date>
    </item>
  </channel>
</rss>

