<?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: Top N Slicer Not Working on Stacked Bar Chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3737718#M145720</link>
    <description>&lt;P&gt;Not clear to me what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Mar 2024 16:09:28 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-03-02T16:09:28Z</dc:date>
    <item>
      <title>Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3736816#M145660</link>
      <description>&lt;P&gt;&lt;A title="SAMPLE PBI DATA" href="https://drive.google.com/file/d/1gX4B05MdvY5QmrNAakiU2Eq6Xy_OUWk4/view?usp=drive_link" target="_self"&gt;https://drive.google.com/file/d/1gX4B05MdvY5QmrNAakiU2Eq6Xy_OUWk4/view?usp=drive_link&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this existing Measure :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rank by Username = RANKX(all('TCM EncountersTCM'[UserName]), [Sum of nErrorsEnc],,DESC)&lt;/P&gt;&lt;P&gt;topN nErrorsEnc by Username = if([Rank by Username] &amp;lt;= 'Top Values'[Top Values Value], [Sum of nErrorsEnc])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;With this image above its working well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when I used a legend it gives all the list of user see image below.&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;My goal is just to put a legend on my Bar chart but when I do the visual breaks.&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&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 05:25:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3736816#M145660</guid>
      <dc:creator>JuradoKevin14</dc:creator>
      <dc:date>2024-03-05T05:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3737718#M145720</link>
      <description>&lt;P&gt;Not clear to me what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide sample data that covers your issue or question &lt;STRONG&gt;completely&lt;/STRONG&gt;, in a &lt;STRONG&gt;usable&lt;/STRONG&gt; format (not as a screenshot).&lt;BR /&gt;&lt;BR /&gt;Do not include sensitive information or anything not related to the issue or question. &lt;BR /&gt;&lt;BR /&gt;If you are unsure how to upload data please refer to &lt;A href="https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Please show the expected outcome based on the sample data you provided. &lt;BR /&gt;&lt;BR /&gt;Want faster answers? &lt;A href="https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523" target="_blank"&gt;https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Mar 2024 16:09:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3737718#M145720</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-02T16:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3739121#M145777</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="684335" data-lia-user-login="JuradoKevin14" class="lia-mention lia-mention-user"&gt;JuradoKevin14&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Power BI, legend fields can affect how data is grouped in visuals. When you add a field to a legend, Power BI might create a group for each unique value in that field, which may be why you're seeing all users and not just the top N users.&lt;/P&gt;
&lt;P&gt;You can create a new column in your data that combines the username and error count.Use this new column for the axis of the bar chart. This will display both the username and the error count on the axis.&lt;/P&gt;
&lt;P&gt;Add a legend field to the visual. Since the data is now grouped by User_Error columns, it should still only show the top N users based on errors.&lt;/P&gt;
&lt;P&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&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 6.0pt 0cm 0cm 0cm;"&gt;&lt;SPAN&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-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&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;Yongkang Hua&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;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Mar 2024 06:50:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3739121#M145777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-04T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3741735#M145920</link>
      <description>&lt;P&gt;I kinda don't get your solution or I have tried it but it still doesnt work. I have attacehd a sample PBI file that has 2 sheets. 1 is the current and second is the Goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All data should be interactive by the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 05:22:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3741735#M145920</guid>
      <dc:creator>JuradoKevin14</dc:creator>
      <dc:date>2024-03-05T05:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3744491#M146025</link>
      <description>&lt;P&gt;link asks for access - please check&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 01:31:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3744491#M146025</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-06T01:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3744765#M146040</link>
      <description>&lt;P&gt;Hi updated the link already. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 03:44:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3744765#M146040</guid>
      <dc:creator>JuradoKevin14</dc:creator>
      <dc:date>2024-03-06T03:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3756252#M146553</link>
      <description>&lt;P&gt;Like this?&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;</description>
      <pubDate>Mon, 11 Mar 2024 20:52:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3756252#M146553</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-03-11T20:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Top N Slicer Not Working on Stacked Bar Chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3774239#M147494</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="684335" data-lia-user-login="JuradoKevin14" class="lia-mention lia-mention-user"&gt;JuradoKevin14&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!&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;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 08:36:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Top-N-Slicer-Not-Working-on-Stacked-Bar-Chart/m-p/3774239#M147494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-19T08:36:44Z</dc:date>
    </item>
  </channel>
</rss>

