<?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 fetch the most repeated value from two existing  different column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2207977#M52028</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="341131" data-lia-user-login="Girish_123" class="lia-mention lia-mention-user"&gt;Girish_123&lt;/a&gt;&amp;nbsp; you can use this measure to find the mode&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_Measure = 
VAR _0 =
    UNION (
        SELECTCOLUMNS ( 'Table', "c1", 'Table'[column1] ),
        SELECTCOLUMNS ( 'Table', "c1", 'Table'[column2] )
    )
RETURN
    MINX (
        TOPN (
            1,
            ADDCOLUMNS (
                _0,
                "Frequency", COUNTX ( FILTER ( _0, EARLIER ( [c1] ) = [c1] ), [c1] )
            ),
            [Frequency]
        ),
        [c1]
    )&lt;/LI-CODE&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;</description>
    <pubDate>Thu, 25 Nov 2021 15:15:59 GMT</pubDate>
    <dc:creator>smpa01</dc:creator>
    <dc:date>2021-11-25T15:15:59Z</dc:date>
    <item>
      <title>how to fetch the most repeated value from two existing  different column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2207943#M52024</link>
      <description>&lt;P&gt;I need to fetch a value between two columns like from columns 1 and columns 2 which is most repeated&amp;nbsp; &amp;nbsp;i need that one. (eg. Suppose&lt;BR /&gt;columns 1 columns 2&lt;BR /&gt;A.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A&lt;BR /&gt;B.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B&lt;BR /&gt;A.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C&lt;BR /&gt;C.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A&lt;BR /&gt;D.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&lt;BR /&gt;A.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B&lt;BR /&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; D&lt;/P&gt;&lt;P&gt;So here most repeated value is A ( A is repeated 6 times ) like this solution I need.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 14:55:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2207943#M52024</guid>
      <dc:creator>Girish_123</dc:creator>
      <dc:date>2021-11-25T14:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch the most repeated value from two existing  different column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2207977#M52028</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="341131" data-lia-user-login="Girish_123" class="lia-mention lia-mention-user"&gt;Girish_123&lt;/a&gt;&amp;nbsp; you can use this measure to find the mode&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;_Measure = 
VAR _0 =
    UNION (
        SELECTCOLUMNS ( 'Table', "c1", 'Table'[column1] ),
        SELECTCOLUMNS ( 'Table', "c1", 'Table'[column2] )
    )
RETURN
    MINX (
        TOPN (
            1,
            ADDCOLUMNS (
                _0,
                "Frequency", COUNTX ( FILTER ( _0, EARLIER ( [c1] ) = [c1] ), [c1] )
            ),
            [Frequency]
        ),
        [c1]
    )&lt;/LI-CODE&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;</description>
      <pubDate>Thu, 25 Nov 2021 15:15:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2207977#M52028</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2021-11-25T15:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch the most repeated value from two existing  different column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2208133#M52037</link>
      <description>&lt;P&gt;I'll try this one thank you so much&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 17:09:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/how-to-fetch-the-most-repeated-value-from-two-existing-different/m-p/2208133#M52037</guid>
      <dc:creator>Girish_123</dc:creator>
      <dc:date>2021-11-25T17:09:06Z</dc:date>
    </item>
  </channel>
</rss>

