<?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: Stacked Bar chart: Group legend values in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337012#M172207</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="723485" data-lia-user-login="Lanceometer" class="lia-mention lia-mention-user"&gt;Lanceometer&lt;/a&gt;&amp;nbsp;- The stacked bar is absolutely the wrong choice of visual for this number of products. Besides the fact it's not showing all of them, there's absolutely no way your users will be able to establish what any of this means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's also not really any way you SHOULD fix this with DAX.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps this needs to be two visuals one with Month on the X-axis, the other with Product, you can then use an interaction between the two charts to allow users to see how each product sold within a month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, if you need both in the same visual, I suggest using a matrix to create a heat map. Place Product in the rows and month in the columns, then use conditional formatting on the values to show the highest and lowest.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helps, please accept as the solution, it helps others with the same challenge.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Dec 2024 13:13:27 GMT</pubDate>
    <dc:creator>mark_endicott</dc:creator>
    <dc:date>2024-12-19T13:13:27Z</dc:date>
    <item>
      <title>Stacked Bar chart: Group legend values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4336877#M172202</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a stacked bar chart with products as a legend.&lt;/P&gt;&lt;P&gt;There are a lot of products in my data. Therefore does not show all and gives this hint&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally i think this is crazy because the user will not even read this and see a wrong revenue:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But ok, it is what it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to create a RANKX measure an show only the biggest legend values and group everything else as "Other"&lt;/P&gt;&lt;P&gt;But Power BI will not let me put a measure in the legend...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 11:55:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4336877#M172202</guid>
      <dc:creator>Lanceometer</dc:creator>
      <dc:date>2024-12-19T11:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar chart: Group legend values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337012#M172207</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="723485" data-lia-user-login="Lanceometer" class="lia-mention lia-mention-user"&gt;Lanceometer&lt;/a&gt;&amp;nbsp;- The stacked bar is absolutely the wrong choice of visual for this number of products. Besides the fact it's not showing all of them, there's absolutely no way your users will be able to establish what any of this means.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's also not really any way you SHOULD fix this with DAX.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps this needs to be two visuals one with Month on the X-axis, the other with Product, you can then use an interaction between the two charts to allow users to see how each product sold within a month.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or, if you need both in the same visual, I suggest using a matrix to create a heat map. Place Product in the rows and month in the columns, then use conditional formatting on the values to show the highest and lowest.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this helps, please accept as the solution, it helps others with the same challenge.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 13:13:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337012#M172207</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-19T13:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar chart: Group legend values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337100#M172208</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343036" data-lia-user-login="mark_endicott" class="lia-mention lia-mention-user"&gt;mark_endicott&lt;/a&gt;&amp;nbsp;, I disagree that this is the wrong choice of visual&lt;/P&gt;&lt;P&gt;of course to view this unfiltered makes no sense&lt;/P&gt;&lt;P&gt;BUT the user will filter to reduce the amount of product and then it will display everything correct eventually&lt;/P&gt;&lt;P&gt;the problem with this is: The users open the dashboard unfiltered at first. so before they start filtering they will see a wrong chart.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I really like your idea of presenting it in a matrix /heatmap chart&lt;/P&gt;&lt;P&gt;I wil try this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 13:58:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337100#M172208</guid>
      <dc:creator>Lanceometer</dc:creator>
      <dc:date>2024-12-19T13:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Stacked Bar chart: Group legend values</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337265#M172214</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="723485" data-lia-user-login="Lanceometer" class="lia-mention lia-mention-user"&gt;Lanceometer&lt;/a&gt;&amp;nbsp;- If you'd like to explore keeping the stacked bar, may I suggest building two pages.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first will have a couple of slicers and a button to navigate you through to the 2nd page. The 2nd page will have the stacked bar (and any other visuals you need) plus the same slicers as the first page - copy and paste them and make sure they are synchronised.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you hide the 2nd page so the only way it can be accessed is by clicking the button. This will hide the chart from them until they have applied some filters and navigated to the page.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So there's two options for you present to your users.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2024 15:37:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Stacked-Bar-chart-Group-legend-values/m-p/4337265#M172214</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2024-12-19T15:37:09Z</dc:date>
    </item>
  </channel>
</rss>

