<?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: Make matrix visual to show only customers with sales that meet a threshold amount set by a slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4104256#M162869</link>
    <description>&lt;P&gt;Thanks for your efforts&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430441" data-lia-user-login="jgeddes" class="lia-mention lia-mention-user"&gt;jgeddes&lt;/a&gt;, much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This for sure will help me with requirements 3. and 4. provided some compromises and adaptation will be needed to the originally designed solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for requirements 1. and 2. I came across this excelent video by SQL BI's Alberto Ferrari that takes care of them:&amp;nbsp;&lt;A href="https://www.sqlbi.com/tv/filter-top-3-products-with-a-row-for-others-using-dax-in-power-bi/" target="_blank"&gt;Filter top 3 products with a row for others using DAX in Power BI - SQLBI.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 13:04:49 GMT</pubDate>
    <dc:creator>leolapa_br</dc:creator>
    <dc:date>2024-08-16T13:04:49Z</dc:date>
    <item>
      <title>Make matrix visual to show only customers with sales that meet a threshold amount set by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4102981#M162808</link>
      <description>&lt;P&gt;Say I have a simple model with a 'Sales' fact table with thousands of rows, and from such fact table I wrote the following measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total sales by customer = SUMX( Sales, Sales[Price] * Sales[Quantity] )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then I produced the matrix visual below sorted in descending order by total sales amount:&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;What I need is after setting up a single-value slicer (which I already did via New parameter&amp;nbsp;→ Numeric range), dynamically update the matrix so it only shows those customers whose total sales meet the threshold set by the slicer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below I graphically show the transition from the original matrix visual (left) to how it should look like (right):&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;Say I change the threshold amount to $30,000, now the matrix should dynamically change and look like the following:&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;The highlighting part should be no big of a deal as conditional formatting should take care of that part, but I anticipate challenges to attend the following requirements:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Remove the customers below the threshold (I guess some measure using TOPN might deal with that?).&lt;/LI&gt;&lt;LI&gt;Create an additional "Others" row that sums up all customers below the threshold (and as a bonus feature, dynamically display the total number of customers under such status).&lt;/LI&gt;&lt;LI&gt;Also&amp;nbsp;display the overall total number of customers next to "Total".&lt;/LI&gt;&lt;LI&gt;And then add an additional row at the very bottom that shows the total number of customers that meet the threshold and the sum of total sales (and also highlight this row to visually indicate its purpose).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Any help is greatly appreciated. If I can get past the 1st requirement I would already be a happy camper...&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 20:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4102981#M162808</guid>
      <dc:creator>leolapa_br</dc:creator>
      <dc:date>2024-08-15T20:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Make matrix visual to show only customers with sales that meet a threshold amount set by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4103029#M162812</link>
      <description>&lt;P&gt;You cannot get the exact result you are looking for in the totals of a matrix or table visual. You can get something similar using cards. I have attached a basic example file.&amp;nbsp;&lt;BR /&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 20:50:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4103029#M162812</guid>
      <dc:creator>jgeddes</dc:creator>
      <dc:date>2024-08-15T20:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Make matrix visual to show only customers with sales that meet a threshold amount set by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4104256#M162869</link>
      <description>&lt;P&gt;Thanks for your efforts&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="430441" data-lia-user-login="jgeddes" class="lia-mention lia-mention-user"&gt;jgeddes&lt;/a&gt;, much appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This for sure will help me with requirements 3. and 4. provided some compromises and adaptation will be needed to the originally designed solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for requirements 1. and 2. I came across this excelent video by SQL BI's Alberto Ferrari that takes care of them:&amp;nbsp;&lt;A href="https://www.sqlbi.com/tv/filter-top-3-products-with-a-row-for-others-using-dax-in-power-bi/" target="_blank"&gt;Filter top 3 products with a row for others using DAX in Power BI - SQLBI.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 13:04:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4104256#M162869</guid>
      <dc:creator>leolapa_br</dc:creator>
      <dc:date>2024-08-16T13:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Make matrix visual to show only customers with sales that meet a threshold amount set by a slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4105910#M162937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="604138" data-lia-user-login="leolapa_br" class="lia-mention lia-mention-user"&gt;leolapa_br&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Is your problem solved? If so, please mark&amp;nbsp;jgeddes's&amp;nbsp;answer as the solution. If not, you are welcome to continue asking questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2024 01:50:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Make-matrix-visual-to-show-only-customers-with-sales-that-meet-a/m-p/4105910#M162937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-08-19T01:50:17Z</dc:date>
    </item>
  </channel>
</rss>

