March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
22 | |
19 | |
17 | |
9 | |
5 |
User | Count |
---|---|
37 | |
29 | |
16 | |
14 | |
12 |