Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
Below i have a DAX function giving me the min. value of mutiple date values (columns). Does anyone know how to do this in PowerQuery?
Solved! Go to Solution.
A slight adjustment to AIB's formula should do it. Sub in your column names (should all be Date type)
Table.AddColumn(#"Changed Type", "Custom", each List.Min({[rSales] , [rRental] , [PRental] , [PSale]}))
Hi @Anonymous
You could make one list of all four columns and then extract the minimum. Something like
List.Min(Table1[Col1] & Table1[Col2] & Table1[Col3] & Table1[Col4]))
Please mark the question solved when done and consider giving kudos if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @AlB ,
When i do this i get the following error
--> I think because for some values are "null"
Expression.Error: We cannot convert Type to List type.
Details:
Value=[Type]
Type=[Type]
A slight adjustment to AIB's formula should do it. Sub in your column names (should all be Date type)
Table.AddColumn(#"Changed Type", "Custom", each List.Min({[rSales] , [rRental] , [PRental] , [PSale]}))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.