<?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: Min/Max/Avg columns for layered matrix visual in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3538124#M135956</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Max = 
Var _Max=CALCULATE(MAX('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Max)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Min = 
Var _Min=CALCULATE(MIN('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Min)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Sum = 
Var _Sum=CALCULATE(SUM('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Sum)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is this the result you expect?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;EM&gt;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Nov 2023 01:13:19 GMT</pubDate>
    <dc:creator>v-zhangti</dc:creator>
    <dc:date>2023-11-17T01:13:19Z</dc:date>
    <item>
      <title>Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3533813#M135789</link>
      <description>&lt;P&gt;I would like to create a min/max column for the matrix picture below. My goal given this example would be to show the min/max LPW (orders per week) for each customer (blacked out) given the totals for the order id/Bid Id (30053777 and 30051653 in this example).&lt;BR /&gt;&lt;BR /&gt;This would show 124 for max, and 15 for min, but it would be showing at the customer column and without needing to drill down do the actual order id level, similar to how the AVG. LPW column is showing 69 at the customer level given the order id values of 124 and 15.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Table name is 'Bid Data'&amp;nbsp;&lt;BR /&gt;Current formula for average column:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;average = SUM('Bid Data'[LPW_CUST_ESTIMATE]) / DISTINCTCOUNT('Bid Data'[Bid ID])&lt;/LI-CODE&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>Tue, 14 Nov 2023 20:26:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3533813#M135789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-14T20:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3534441#M135809</link>
      <description>&lt;P&gt;Min LPW = CALCULATE(MIN('Bid Data'[LPW_CUST_ESTIMATE]), ALLEXCEPT('Bid Data', 'Bid Data'[Customer]))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same one with MAX syntax would be desirable also!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 06:18:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3534441#M135809</guid>
      <dc:creator>mohgh</dc:creator>
      <dc:date>2023-11-15T06:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3536458#M135896</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;Measure:&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Max = 
Var _Max=CALCULATE(MAX('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Customer]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Max)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Min = 
Var _Min=CALCULATE(MIN('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Customer]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Min)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is this the result you expect?&lt;/SPAN&gt; &lt;SPAN&gt;Please see the attached document.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;EM&gt;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 07:29:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3536458#M135896</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-11-16T07:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3537171#M135920</link>
      <description>&lt;P&gt;The answer I am looking for would be:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Sum&amp;nbsp; &amp;nbsp; Max&amp;nbsp; &amp;nbsp; Min&lt;BR /&gt;&lt;STRONG&gt;Customer 1&amp;nbsp; &amp;nbsp;139&amp;nbsp; &amp;nbsp; &amp;nbsp; 124&amp;nbsp; &amp;nbsp; &amp;nbsp; 15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;30015153&amp;nbsp; &amp;nbsp; 15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 15&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;15&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;3005537&amp;nbsp; &amp;nbsp; &amp;nbsp; 124&amp;nbsp; &amp;nbsp; &amp;nbsp; 124&amp;nbsp; &amp;nbsp; &amp;nbsp;124&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Customer 1 row specifically is the one I am trying to create this formula for, showing the min/max values of the individual order ID's for said customer.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 13:48:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3537171#M135920</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-16T13:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3538124#M135956</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can try the following methods&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Max = 
Var _Max=CALCULATE(MAX('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Max)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Min = 
Var _Min=CALCULATE(MIN('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Min)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;Sum = 
Var _Sum=CALCULATE(SUM('Bid Data'[LPW_CUST_ESTIMATE]),ALLEXCEPT('Bid Data','Bid Data'[Customer],'Bid Data'[City State]))
Return
IF(ISINSCOPE('Bid Data'[Type]),SUM('Bid Data'[LPW_CUST_ESTIMATE]),_Sum)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is this the result you expect?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Charlotte&lt;/P&gt;
&lt;P&gt;If this post&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;helps, then please consider&amp;nbsp;&lt;EM&gt;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 01:13:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3538124#M135956</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2023-11-17T01:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Min/Max/Avg columns for layered matrix visual</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3544771#M136299</link>
      <description>&lt;P&gt;in your example, what would [Type] refer to?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 13:07:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Min-Max-Avg-columns-for-layered-matrix-visual/m-p/3544771#M136299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-11-21T13:07:57Z</dc:date>
    </item>
  </channel>
</rss>

