<?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 How to generate a new column based on observations in another one in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3696931#M143764</link>
    <description>&lt;P&gt;I have the following Table:&lt;BR /&gt;GROUP which is a list of all clients&lt;/P&gt;&lt;P&gt;TIME that has as values January, February and December&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create another column (or maybe a measure would be better) which assigns "New" to clients which are present only when TIME is equal to December.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think my dax knowledge is not good enoguh to solve this issue, i guess FILTER would be needed but i'm not sure how to use it&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 16:44:52 GMT</pubDate>
    <dc:creator>robdan</dc:creator>
    <dc:date>2024-02-13T16:44:52Z</dc:date>
    <item>
      <title>How to generate a new column based on observations in another one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3696931#M143764</link>
      <description>&lt;P&gt;I have the following Table:&lt;BR /&gt;GROUP which is a list of all clients&lt;/P&gt;&lt;P&gt;TIME that has as values January, February and December&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create another column (or maybe a measure would be better) which assigns "New" to clients which are present only when TIME is equal to December.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I think my dax knowledge is not good enoguh to solve this issue, i guess FILTER would be needed but i'm not sure how to use it&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:44:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3696931#M143764</guid>
      <dc:creator>robdan</dc:creator>
      <dc:date>2024-02-13T16:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a new column based on observations in another one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3697133#M143771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="673289" data-lia-user-login="robdan" class="lia-mention lia-mention-user"&gt;robdan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try using this measure:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;New Client? = 
VAR __ConditionMet = CALCULATE(
                                COUNTROWS('Sample'),
                                'Sample'[Time] = "December"
                             ) &amp;gt; 0
RETURN
IF(
    __ConditionMet,
    "New",
    BLANK()
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 19:09:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3697133#M143771</guid>
      <dc:creator>govindarajan_d</dc:creator>
      <dc:date>2024-02-13T19:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a new column based on observations in another one</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3713909#M144521</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="673289" data-lia-user-login="robdan" class="lia-mention lia-mention-user"&gt;robdan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="644992" data-lia-user-login="govindarajan_d" class="lia-mention lia-mention-user"&gt;govindarajan_d&lt;/a&gt;&amp;nbsp; GOOD ANSWER!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also try the following measure:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My sample:&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;Measure = IF(MAX([Time]) = "December", "New", BLANK())&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yulia Xu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 09:57:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-generate-a-new-column-based-on-observations-in-another/m-p/3713909#M144521</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-21T09:57:41Z</dc:date>
    </item>
  </channel>
</rss>

