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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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