The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
{ FIXED [Item Description] :MIN({ Fixed [Item Description] ,[Vendor],[Purchase Order]:SUM([Unit Price])})}
replicate this in power bi.
Solved! Go to Solution.
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.
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.
could you pls provide some sample data and expected output?
Proud to be a Super User!