Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
devries2021
New Member

Min across columns

 

Hi

I have a table like below, I would like to calculate the minimum (earliest) date of column col1...col3 per rown and put the reult in column 'result'. In excel/sql/R/python this is trivial, but I havent found a way to do this in power query, can anyone help? Note that I want to use powerquery and not dax because I want to manipulate the table after calculating the column with minima.

Regards,

Igor

 

col1col2col3result
1-Dec-012-Dec-013-Dec-011-Dec-01
3-Dec-012-Nov-018-Dec-012-Nov-01
1-Jun-014-Dec-013-May-013-May-01
2 REPLIES 2
Anonymous
Not applicable

try this

HotChilli
Super User
Super User

Go to the 'Add column' tab

Select all 3 columns (use shift )

In the 'From Date & Time' section, pick Date-> Earliest

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.