Forum Discussion
Anonymous
1 year agoNot applicable
Dax logic
{ FIXED [Item Description] :MIN({ Fixed [Item Description] ,[Vendor],[Purchase Order]:SUM([Unit Price])})} replicate this in power bi.
- 1 year ago
Try the below logic for DAX:
MinUnitPricePerItemDescription = MINX( SUMMARIZE( TableName, TableName[Item Description], TableName[Vendor], TableName[Purchase Order], "SumUnitPrice", SUM(TableName[Unit Price]) ), [SumUnitPrice] )Replace TableName with the actual table where the columns reside.
ChiragGarg2512
1 year agoSolution Sage
Try the below logic for DAX:
MinUnitPricePerItemDescription =
MINX(
SUMMARIZE(
TableName,
TableName[Item Description],
TableName[Vendor],
TableName[Purchase Order],
"SumUnitPrice", SUM(TableName[Unit Price])
),
[SumUnitPrice]
)
Replace TableName with the actual table where the columns reside.