<?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: Applying MAX to Summerize in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2189240#M51143</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33343" data-lia-user-login="AltGr9" class="lia-mention lia-mention-user"&gt;AltGr9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you followed the DAX formula posted by Jihwan_Kim to find the solution to your problem?&lt;/P&gt;
&lt;P&gt;If so, would you like to mark his reply as a solution so that others can learn from it too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Robert Qin&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 02:46:07 GMT</pubDate>
    <dc:creator>v-robertq-msft</dc:creator>
    <dc:date>2021-11-15T02:46:07Z</dc:date>
    <item>
      <title>Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2184981#M50935</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hello all, I have a summerize statement that returns a count of rows by date, and I'm trying to find the max date with a count greater than 10.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is what I have so far, but it doesn't want to accept _s[Count].&amp;nbsp; Any help would be appreciated.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Max Date With Count Greater Than 10 =
VAR _s = SUMMARIZE
( 
 'Fact Table'
,'Fact Table'[Date]
,"Count", COUNT('Fact Table'[Date])
)
RETURN
CALCULATE( MAXX(_s, [Date]), _s[Count] &amp;gt; 10 )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 11:31:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2184981#M50935</guid>
      <dc:creator>AltGr9</dc:creator>
      <dc:date>2021-11-11T11:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185269#M50941</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not sure how the measure operates without seeing the actual sample file. However, what I can suggest based on what I see is that, inside VAR in your measure, you can try to filter _s table first, and then write RETURN MAXX(.....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can share your sample pbix file's link, it will be helpful.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 12:45:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185269#M50941</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-11-11T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185471#M50951</link>
      <description>&lt;P&gt;Hi Thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this the link you asked for? It says "&lt;SPAN&gt;People in your organization" so I don't know if you'll have access.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.powerbi.com/links/yOLAOU1UWC?ctid=f8a5e453-f912-4b49-a15e-7644e3993976&amp;amp;pbi_source=linkShare" target="_blank"&gt;https://app.powerbi.com/links/yOLAOU1UWC?ctid=f8a5e453-f912-4b49-a15e-7644e3993976&amp;amp;pbi_source=linkShare&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 15:09:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185471#M50951</guid>
      <dc:creator>AltGr9</dc:creator>
      <dc:date>2021-11-11T15:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185500#M50953</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry that if I was not clear.&lt;/P&gt;
&lt;P&gt;I was asking for the sample power bi desktop file's link, not your power bi service link.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 15:24:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185500#M50953</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-11-11T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185637#M50961</link>
      <description>&lt;P&gt;Hey thanks, I've sent you the link privately.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:33:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185637#M50961</guid>
      <dc:creator>AltGr9</dc:creator>
      <dc:date>2021-11-11T16:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185657#M50963</link>
      <description>&lt;P&gt;One final thing: I would like it to be dynamic, so not using a calculated table.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 16:46:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185657#M50963</guid>
      <dc:creator>AltGr9</dc:creator>
      <dc:date>2021-11-11T16:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185889#M50971</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture.&lt;/P&gt;
&lt;P&gt;One thing that I want to share is, try to use addcolumns &amp;amp; summarize functions together, instead of using only summarize when adding expressions to the virtual summarized table.&lt;/P&gt;
&lt;P&gt;The reason is that, not very often happen in general cases, but in some cases (in fact, quite a lot...), if authors use only summarize function and add expressions into the virtual summarized table, there might be an issue in creating correct numbers and having a good performance.&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;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;Max Date With Count Greater Than 10 = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;VAR _s =&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;ADDCOLUMNS (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;SUMMARIZE ( 'Fact Table', 'Fact Table'[Date] ),&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;"Count", CALCULATE ( COUNT ( 'Fact Table'[Date] ) )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; ),&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;[Count] &amp;gt; 10&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;RETURN&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;MAXX ( _s, 'Fact Table'[Date] )&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Nov 2021 18:41:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2185889#M50971</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-11-11T18:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Applying MAX to Summerize</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2189240#M51143</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="33343" data-lia-user-login="AltGr9" class="lia-mention lia-mention-user"&gt;AltGr9&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you followed the DAX formula posted by Jihwan_Kim to find the solution to your problem?&lt;/P&gt;
&lt;P&gt;If so, would you like to mark his reply as a solution so that others can learn from it too?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&lt;A href="http://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490" target="_blank"&gt;How to Get Your Question Answered Quickly&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Robert Qin&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 02:46:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Applying-MAX-to-Summerize/m-p/2189240#M51143</guid>
      <dc:creator>v-robertq-msft</dc:creator>
      <dc:date>2021-11-15T02:46:07Z</dc:date>
    </item>
  </channel>
</rss>

