<?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: Get a min from summarise table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003037#M44487</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could use this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MinSum =
MINX (
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    ),
    [Total]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 19:47:42 GMT</pubDate>
    <dc:creator>Jos_Woolley</dc:creator>
    <dc:date>2021-08-06T19:47:42Z</dc:date>
    <item>
      <title>Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2002989#M44485</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;How can i get the min value from this table created in Dax:&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;LI-CODE lang="php"&gt;EVALUATE
var t = SUMMARIZE(
	F_CUSTO_FRANGO,
	F_CUSTO_FRANGO[Ano-Mes],
	"Total", sum(F_CUSTO_FRANGO[Total Final]
	)
)
return
t&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need the min of the sum, i think a a summarize table and get the min, i don't know if is better way..&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 19:09:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2002989#M44485</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2021-08-06T19:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003037#M44487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You could use this measure:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MinSum =
MINX (
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    ),
    [Total]
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 19:47:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003037#M44487</guid>
      <dc:creator>Jos_Woolley</dc:creator>
      <dc:date>2021-08-06T19:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003055#M44489</link>
      <description>&lt;LI-CODE lang="markup"&gt;=
MINX(
    SUMMARIZECOLUMNS(
        F_CUSTO_FRANGO[Ano-Mes],
        "@Total", SUM( F_CUSTO_FRANGO[Total Final] )
    ),
    [@Total]
)&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Aug 2021 20:07:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003055#M44489</guid>
      <dc:creator>CNENFRNL</dc:creator>
      <dc:date>2021-08-06T20:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003093#M44490</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="197418" data-lia-user-login="marcio_fornari" class="lia-mention lia-mention-user"&gt;marcio_fornari&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To aggregate over a virtual table, you can use an iterator function: with the dame code you have, add the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;EVALUATE
VAR t =
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    )
RETURN
    MINX ( t, [Total] )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 20:55:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003093#M44490</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2021-08-06T20:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003110#M44491</link>
      <description>&lt;P&gt;Thank you so much everyone!&amp;nbsp;&lt;BR /&gt;it's to easy! OMG&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 21:10:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2003110#M44491</guid>
      <dc:creator>marcio_fornari</dc:creator>
      <dc:date>2021-08-06T21:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get a min from summarise table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2753336#M85003</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the similar requirement where I want Sum of Minimum QTY in each SFC ( there are multile record at SFC level ) from Summarize Table&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I have tried Measure as&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Units Produced Within Standard Time = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR Result =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMX(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUMMARIZE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fact_DailyMgmt_ThroughputTime_Detail,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fact_DailyMgmt_ThroughputTime_Detail[SFC],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fact_DailyMgmt_ThroughputTime_Detail[START_TIME],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fact_DailyMgmt_ThroughputTime_Detail[END_TIME],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Fact_DailyMgmt_ThroughputTime_Detail[Wait_Time_Type],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"QTY", FIRSTNONBLANK ( Fact_DailyMgmt_ThroughputTime_Detail[QTY], 0 ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"IsEligible",&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SUM ( Fact_DailyMgmt_ThroughputTime_Detail[Throughput_Time] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;= SUM ( Fact_DailyMgmt_ThroughputTime_Detail[ERP_Target] ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;1 , BLANK() ) ) , [QTY] * [IsEligible] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;Result&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but it is giving sum of QTY for all due to which value is not correct&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;can someone please help.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2022 14:13:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-a-min-from-summarise-table/m-p/2753336#M85003</guid>
      <dc:creator>vishal097</dc:creator>
      <dc:date>2022-09-07T14:13:48Z</dc:date>
    </item>
  </channel>
</rss>

