<?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: TopN + Others - getting required output but table visual total is Wrong in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3659536#M141806</link>
    <description>&lt;P&gt;Thank you dear&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;for your reply&lt;BR /&gt;My requirement is to sort the table visual by a measure "Seg_Rank" (which Dynamically change based on the slicer selection) and no need to show the "Seg_Rank" in Table visual.&lt;BR /&gt;Will add link for sample file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 09:22:02 GMT</pubDate>
    <dc:creator>Irshadn24</dc:creator>
    <dc:date>2024-01-25T09:22:02Z</dc:date>
    <item>
      <title>TopN + Others - getting required output but table visual total is Wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3656629#M141667</link>
      <description>&lt;P&gt;Dear ,&lt;BR /&gt;&lt;BR /&gt;Created measure for TopN + Others with help of community post thred , but I'm facing the issue with Total.&lt;BR /&gt;&lt;BR /&gt;Here is the steps&lt;/P&gt;&lt;P&gt;1) Created a table :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Segment Table =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;UNION&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLNOBLANKROW&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;Product_Master&lt;/SPAN&gt;&lt;SPAN&gt;[Seg]&lt;/SPAN&gt;&lt;SPAN&gt; )),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; { &lt;/SPAN&gt;&lt;SPAN&gt;"OTHERS"&lt;/SPAN&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;2) Created Rank Measure :&lt;BR /&gt;Seg_Rank =&lt;BR /&gt;RANKX(ALLSELECTED('Segment Table'[Seg]),[Value])&lt;BR /&gt;&lt;BR /&gt;3) Created Topn+ Others measure&lt;BR /&gt;&lt;BR /&gt;TopN+Others =&lt;BR /&gt;VAR __TopN =&lt;BR /&gt;TOPN ( [TopN Value], ALL ('Segment Table'), [Value], DESC )&lt;BR /&gt;RETURN&lt;BR /&gt;IF ( [Seg_Rank] &amp;lt;= [TopN Value],[Value],&lt;BR /&gt;IF ( SELECTEDVALUE ( 'Segment Table'[Seg] ) = "OTHERS",&lt;BR /&gt;CALCULATE ([Value], ALL ( 'Segment Table'[Seg] ) )- SUMX ( __TopN, [Value] ),&lt;BR /&gt;BLANK ()&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;From these getting expected result for Top N and Others but the total is the sum of TopN values not included "Others" so I created one more measure (found some soln in Community)&lt;BR /&gt;&lt;BR /&gt;Topn + Other = SUMX(SUMMARIZE('Segment Table','Segment Table'[Seg]),[TopN+Others])&lt;BR /&gt;&lt;BR /&gt;But now the total is correct but value for "Others" is blank&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;Can any one suggest any solution for this?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Jan 2024 11:09:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3656629#M141667</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-24T11:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: TopN + Others - getting required output but table visual total is Wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3657159#M141686</link>
      <description>&lt;P&gt;Understood , this because of filter applied in the table visual as I need to sort the visual by "Segment Rank" which should not shown in the table. so created filter TopN_Filt and applied .&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Any solution to fix this or how to sort a table (in chart we can add any sort column&amp;nbsp; to Tooltip) with another measure?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 13:07:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3657159#M141686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-24T13:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: TopN + Others - getting required output but table visual total is Wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3659462#M141803</link>
      <description>&lt;P&gt;Hi, Anonymous&lt;/LI-USER&gt;&lt;/P&gt;
&lt;P&gt;Based on the data provided in your table, I gave a simple example to illustrate my understanding.I created a simple table with Culumn2 is sorting broken up.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you need to sort it, you can New Column in Power Query and then sort the New Column.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;So you can sort the data in the table. This is only my partial answer to your question, if it doesn't solve your doubts, provide me with more data or more details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 6.0pt 0in 0in 0in;"&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yilongzhou%40microsoft.com%7C874777e32a8148f0223408dc1d828a37%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638417693709844370%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=YtW2woIivjPlHMRKDbpgtkfzBYbEYzLWUzuLgsoUfP8%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;How to Get Your Question Answered Quickly&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 6.0pt 0in 0in 0in;"&gt;&lt;SPAN&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yilong Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 09:05:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3659462#M141803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-25T09:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: TopN + Others - getting required output but table visual total is Wrong</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3659536#M141806</link>
      <description>&lt;P&gt;Thank you dear&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;for your reply&lt;BR /&gt;My requirement is to sort the table visual by a measure "Seg_Rank" (which Dynamically change based on the slicer selection) and no need to show the "Seg_Rank" in Table visual.&lt;BR /&gt;Will add link for sample file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 09:22:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/TopN-Others-getting-required-output-but-table-visual-total-is/m-p/3659536#M141806</guid>
      <dc:creator>Irshadn24</dc:creator>
      <dc:date>2024-01-25T09:22:02Z</dc:date>
    </item>
  </channel>
</rss>

