<?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: New Column with Only Distinct Values from Another Column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2656339#M78529</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution = if(RANKX(ALLEXCEPT('Table','Table'[Marks]),CALCULATE(min('Table'[Name])),,,Dense) &amp;gt; 1,"",SUM('Table'[Marks]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Mark my post as a solution if it helped you&lt;/FONT&gt;|&lt;FONT color="#000000"&gt;&amp;nbsp;Munde and Kudis (Ladies and Gentlemen) I like your Kudos!!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&lt;A href="https://www.youtube.com/channel/UCOK8xNgwlypFkU6aCEThCmw" target="_self" rel="nofollow noreferrer noopener"&gt;My YT Channel Dancing With Data&lt;/A&gt;&amp;nbsp;!!&amp;nbsp;&lt;A href="https://www.linkedin.com/in/ritesh-bisht-22238913/" target="_self" rel="nofollow noreferrer noopener"&gt;Connect on Linkedin&lt;/A&gt;&amp;nbsp;!!&lt;A href="https://www.youtube.com/watch?v=XE-HehSTmGo&amp;amp;list=PL9z26CJ-fucFCNaSAKlBujSFY22tZhcDr" target="_self" rel="nofollow noopener noreferrer"&gt;Power BI for Tableau Users&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Jul 2022 18:23:23 GMT</pubDate>
    <dc:creator>ribisht17</dc:creator>
    <dc:date>2022-07-22T18:23:23Z</dc:date>
    <item>
      <title>New Column with Only Distinct Values from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2656267#M78517</link>
      <description>&lt;P&gt;In my table I have a column, Day Count, that has number of days, with a given number potentially repeating ex. 36, 45, 23, 36. I want to create a new column, Distinct Day Count, that only stores the first time a value is mentioned to look something like the following: 36, 45, 23, (blank). What DAX function should I use for this new column?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 17:06:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2656267#M78517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-07-22T17:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: New Column with Only Distinct Values from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2656339#M78529</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution = if(RANKX(ALLEXCEPT('Table','Table'[Marks]),CALCULATE(min('Table'[Name])),,,Dense) &amp;gt; 1,"",SUM('Table'[Marks]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ritesh&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Mark my post as a solution if it helped you&lt;/FONT&gt;|&lt;FONT color="#000000"&gt;&amp;nbsp;Munde and Kudis (Ladies and Gentlemen) I like your Kudos!!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;!!&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;&lt;A href="https://www.youtube.com/channel/UCOK8xNgwlypFkU6aCEThCmw" target="_self" rel="nofollow noreferrer noopener"&gt;My YT Channel Dancing With Data&lt;/A&gt;&amp;nbsp;!!&amp;nbsp;&lt;A href="https://www.linkedin.com/in/ritesh-bisht-22238913/" target="_self" rel="nofollow noreferrer noopener"&gt;Connect on Linkedin&lt;/A&gt;&amp;nbsp;!!&lt;A href="https://www.youtube.com/watch?v=XE-HehSTmGo&amp;amp;list=PL9z26CJ-fucFCNaSAKlBujSFY22tZhcDr" target="_self" rel="nofollow noopener noreferrer"&gt;Power BI for Tableau Users&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 18:23:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2656339#M78529</guid>
      <dc:creator>ribisht17</dc:creator>
      <dc:date>2022-07-22T18:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: New Column with Only Distinct Values from Another Column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2661603#M78940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try create a new table via&amp;nbsp;&lt;/P&gt;
&lt;P&gt;new table = UNION( VALUES( 'Table'[Another column] ), {""})&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;&lt;/P&gt;
&lt;P&gt;Pbix in the end you can refer.&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 10:13:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/New-Column-with-Only-Distinct-Values-from-Another-Column/m-p/2661603#M78940</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-07-26T10:13:26Z</dc:date>
    </item>
  </channel>
</rss>

