<?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: Get Only One Value from duplicate Values  in another column Based on Unique ID in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4153958#M165090</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, thank you&amp;nbsp;Greg_Deckler&amp;nbsp; for your interest in this thread. I have some other thoughts to add:&lt;/P&gt;
&lt;P&gt;We can create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _table=FILTER(SUMMARIZE(ALL('Table'),[ID],[money_type],[projects_tagging],[refined_value]),[money_type]="TOTAL" &amp;amp;&amp;amp; [projects_tagging]="Refined BOP")
RETURN SUMX(_table,[refined_value])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I have misunderstood you, please provide your example data and expected output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 07:19:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-17T07:19:55Z</dc:date>
    <item>
      <title>Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151310#M164962</link>
      <description>&lt;P&gt;Hi Everyone. Asking for your help in creating DAX&lt;BR /&gt;&lt;BR /&gt;I would like to get the value in another column based on unique id. The value that I want ot get has the same values in another rows due to multiple criteria.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my example below. I want to get only the 67.206 in refined_value column with unique ID of BOP23-016 and money_type of "Total" under "Refined BOP". The reason that the TOTAL 67.206 is duplicated is because of the sub ids&amp;nbsp; (projects)&amp;nbsp; in ID_&amp;amp;_Suffix column which are under the unique ID BOP23-016. I don't want to add the 67.206 "TOTAL" of "Refined BOP" with sub IDs&amp;nbsp; BOP23-016-B and BOP23-016-C. I want to just appear the value once because they have unique ID (BOP23-016)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried to search for solutions in the community but got no luck.&lt;/P&gt;&lt;P&gt;Thank you in advance and I highly appreciate your help.&lt;BR /&gt;&lt;BR /&gt;-Third&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2024 14:12:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151310#M164962</guid>
      <dc:creator>third_hicana</dc:creator>
      <dc:date>2024-09-15T14:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151344#M164965</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;Should be something like this as a measure:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __ID = MAX( 'Table'[ID] )
  VAR __Return = MAXX( FILTER( 'Table', [ID] = __ID &amp;amp;&amp;amp; [money_type] = "TOTAL" ), [refined_value] )
RETURN
  __Return&lt;/LI-CODE&gt;
&lt;P&gt;Technically, you shouldn't even need that first variable assuming that you put ID and this measure into the same table visualization.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2024 15:55:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151344#M164965</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-15T15:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151668#M164984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for your response. I notice that it onlty applies to one unique ID. However, if I have another Unique ID with the same data scenario, it does not add up the values under&amp;nbsp; "TOTAL" and "Refined BOP". So, I want to sum the 67.206 and 65 = 132.206&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I tried to remove the first variable, but it has the same result.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Third&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 03:24:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4151668#M164984</guid>
      <dc:creator>third_hicana</dc:creator>
      <dc:date>2024-09-16T03:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4152510#M165036</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;You can do something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure =
  VAR __Table = 
    ADDCOLUMNS(
      DISTINCT( 'Table'[ID] ),
      "__Value",
        VAR __ID = [ID]
        VAR __Return = MAXX( FILTER( 'Table', [ID] = __ID &amp;amp;&amp;amp; [money_type] = "TOTAL" ), [refined_value] )
      RETURN
        __Return
    )
  VAR __Return = SUMX( __Table, [__Value] )
RETURN
  __Return&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 16 Sep 2024 13:21:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4152510#M165036</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-16T13:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4152703#M165043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried your revised DAX, but I am still getting a wrong sum of values.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 14:48:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4152703#M165043</guid>
      <dc:creator>third_hicana</dc:creator>
      <dc:date>2024-09-16T14:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4153958#M165090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;First of all, thank you&amp;nbsp;Greg_Deckler&amp;nbsp; for your interest in this thread. I have some other thoughts to add:&lt;/P&gt;
&lt;P&gt;We can create a measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _table=FILTER(SUMMARIZE(ALL('Table'),[ID],[money_type],[projects_tagging],[refined_value]),[money_type]="TOTAL" &amp;amp;&amp;amp; [projects_tagging]="Refined BOP")
RETURN SUMX(_table,[refined_value])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I have misunderstood you, please provide your example data and expected output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post  &lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution &lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 07:19:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4153958#M165090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-17T07:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4154523#M165110</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;Post sample data as text and expected results. Then I can create a PBIX for it.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 13:43:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4154523#M165110</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-17T13:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4154606#M165113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is good. However, when I tried to put a slicer to check if the measure is dyamic, it doesn't change based on the ID I've selected. So for example, if I select ID BOP23-016, I am expecting that the value is 67.21,&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 14:25:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4154606#M165113</guid>
      <dc:creator>third_hicana</dc:creator>
      <dc:date>2024-09-17T14:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4155401#M165132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="424059" data-lia-user-login="third_hicana" class="lia-mention lia-mention-user"&gt;third_hicana&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update the measure.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = 
var _table=FILTER(SUMMARIZE(ALLSELECTED('Table'),[ID],[money_type],[projects_tagging],[refined_value]),[money_type]="TOTAL" &amp;amp;&amp;amp; [projects_tagging]="Refined BOP")
RETURN SUMX(_table,[refined_value])&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Neeko Tang&lt;/P&gt;
&lt;P&gt;If this post &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 01:26:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4155401#M165132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-18T01:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Only One Value from duplicate Values  in another column Based on Unique ID</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4159427#M165272</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp; Thank you very much for your help. This works well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 10:19:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-Only-One-Value-from-duplicate-Values-in-another-column-Based/m-p/4159427#M165272</guid>
      <dc:creator>third_hicana</dc:creator>
      <dc:date>2024-09-19T10:19:28Z</dc:date>
    </item>
  </channel>
</rss>

