<?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: Add 'Other' option to stacked column Graph in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215585#M167102</link>
    <description>&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/filtering-the-top-products-alongside-the-other-products-in-power-bi/" target="_blank"&gt;Filtering the top products alongside the other products in Power BI - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 17:09:57 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-10-03T17:09:57Z</dc:date>
    <item>
      <title>Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215320#M167100</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m having issues where on a stacked column graph I have too many items in the legend.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To solve this I would like to convert any item with under 5% of the total as ‘Other’&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The legend name in a different table to the values so they will need to link some how in the solution. The value is also a ‘measure’ that has been created.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemLabel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ItemValue (Measure)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:58:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215320#M167100</guid>
      <dc:creator>CM_Mills</dc:creator>
      <dc:date>2024-10-03T15:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215585#M167102</link>
      <description>&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/filtering-the-top-products-alongside-the-other-products-in-power-bi/" target="_blank"&gt;Filtering the top products alongside the other products in Power BI - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:09:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215585#M167102</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-03T17:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215600#M167103</link>
      <description>&lt;P&gt;&lt;A href="https://www.sqlbi.com/articles/showing-the-top-5-products-and-others-row/" target="_blank"&gt;Showing the top 5 products and Other row - SQLBI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 17:20:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4215600#M167103</guid>
      <dc:creator>Kaviraj11</dc:creator>
      <dc:date>2024-10-03T17:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4216968#M167126</link>
      <description>&lt;P&gt;Hi, thank you for reviewing but this helps with the other solution but does this by using a set top number of items. I need this work on percentages.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 07:29:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4216968#M167126</guid>
      <dc:creator>CM_Mills</dc:creator>
      <dc:date>2024-10-04T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4216969#M167127</link>
      <description>&lt;P&gt;Hi, thank you for reviewing but this helps with the other solution but does this by using a set top number of items. I need this work on percentages.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 07:29:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4216969#M167127</guid>
      <dc:creator>CM_Mills</dc:creator>
      <dc:date>2024-10-04T07:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4217234#M167129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="266651" data-lia-user-login="CM_Mills" class="lia-mention lia-mention-user"&gt;CM_Mills&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created an example using this data:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Create a calculated column and write down as other if the product is less than 15% of the current country classification.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Column = 
VAR _sum1 =
    CALCULATE (
        SUM ( financials[ Sales] ),
        FILTER (
            ALL ( financials ),
            'financials'[Country] = EARLIER ( 'financials'[Country] )
        )
    )
VAR _sum2 =
    CALCULATE (
        SUM ( financials[ Sales] ),
        FILTER (
            ALL ( financials ),
            'financials'[Country] = EARLIER ( 'financials'[Country] )
                &amp;amp;&amp;amp; 'financials'[Product] = EARLIER ( 'financials'[Product] )
        )
    )
RETURN
    IF ( _sum2 &amp;gt;= 0.15 * _sum1, 'financials'[Product], "Other" )
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If the results don't match your expectations.&amp;nbsp;Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&amp;nbsp;We can better understand the problem and help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If there is any 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;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 08:35:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4217234#M167129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-10-04T08:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add 'Other' option to stacked column Graph</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4218080#M167149</link>
      <description>&lt;P&gt;You will not be able to get an exact match with percentages.&amp;nbsp; You would have to define what "under 5%"&amp;nbsp; means in your scenario, and there may be no data points satisfying that criteria.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 12:19:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Add-Other-option-to-stacked-column-Graph/m-p/4218080#M167149</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-10-04T12:19:27Z</dc:date>
    </item>
  </channel>
</rss>

