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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Analystmate
Helper II
Helper II

Earliest date and Latest date option disable to for me in Power Query Add column option

Hi All,

The Earliest Date and Latest Date options are disabled for me in the Power Query Add Column option.

I have selected date coulmn with proprer date data type .

Please help me figure out what possible reasons could be causing this issue.


Analystmate_0-1704790250406.png

2 ACCEPTED SOLUTIONS
zenisekd
Super User
Super User

Hi, it can be used only when you select multiple columns. It returns the earliest day from the columns selection per row. 

zenisekd_0-1704793190693.png


Kudos and mark as solution appreciated.

View solution in original post

collinsg
Super User
Super User

Hello Analystmate,

zenisekd has given the reason. Here is a way to add a column containing the earliest date in column "Date".

= Table.AddColumn(PreviousStep, "Earliest Date", each List.Min( PreviousStep[Date] ), type date)

Insert the step, substituting "PreviousStep" with the name of your previous step and substituting "[Date]" with the name of your date column in square brackets.

Hope this helps.

View solution in original post

2 REPLIES 2
collinsg
Super User
Super User

Hello Analystmate,

zenisekd has given the reason. Here is a way to add a column containing the earliest date in column "Date".

= Table.AddColumn(PreviousStep, "Earliest Date", each List.Min( PreviousStep[Date] ), type date)

Insert the step, substituting "PreviousStep" with the name of your previous step and substituting "[Date]" with the name of your date column in square brackets.

Hope this helps.

zenisekd
Super User
Super User

Hi, it can be used only when you select multiple columns. It returns the earliest day from the columns selection per row. 

zenisekd_0-1704793190693.png


Kudos and mark as solution appreciated.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.