Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi Everyone,
How can i get the min value from this table created in Dax:
EVALUATE
var t = SUMMARIZE(
	F_CUSTO_FRANGO,
	F_CUSTO_FRANGO[Ano-Mes],
	"Total", sum(F_CUSTO_FRANGO[Total Final]
	)
)
return
t
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..
Solved! Go to Solution.
Hi,
You could use this measure:
MinSum =
MINX (
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    ),
    [Total]
)
Regards
=
MINX(
    SUMMARIZECOLUMNS(
        F_CUSTO_FRANGO[Ano-Mes],
        "@Total", SUM( F_CUSTO_FRANGO[Total Final] )
    ),
    [@Total]
)
					
				
			
			
				|                  Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!  | 
DAX is simple, but NOT EASY!  | 
@marcio_fornari 
To aggregate over a virtual table, you can use an iterator function: with the dame code you have, add the following:
EVALUATE
VAR t =
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    )
RETURN
    MINX ( t, [Total] )
⭕  Subscribe and learn Power BI from these videos
 ⚪ Website ⚪  LinkedIn ⚪  PBI User Group 
Hello All,
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
I have tried Measure as
Thank you so much everyone! 
it's to easy! OMG 😅
@marcio_fornari 
To aggregate over a virtual table, you can use an iterator function: with the dame code you have, add the following:
EVALUATE
VAR t =
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    )
RETURN
    MINX ( t, [Total] )
⭕  Subscribe and learn Power BI from these videos
 ⚪ Website ⚪  LinkedIn ⚪  PBI User Group 
=
MINX(
    SUMMARIZECOLUMNS(
        F_CUSTO_FRANGO[Ano-Mes],
        "@Total", SUM( F_CUSTO_FRANGO[Total Final] )
    ),
    [@Total]
)
					
				
			
			
				|                  Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!  | 
DAX is simple, but NOT EASY!  | 
Hi,
You could use this measure:
MinSum =
MINX (
    SUMMARIZE (
        F_CUSTO_FRANGO,
        F_CUSTO_FRANGO[Ano-Mes],
        "Total", SUM ( F_CUSTO_FRANGO[Total Final] )
    ),
    [Total]
)
Regards
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
            | User | Count | 
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 3 | 
| User | Count | 
|---|---|
| 24 | |
| 11 | |
| 10 | |
| 9 | |
| 8 |