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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
D_PBI
Post Partisan
Post Partisan

How to create a calculated column needed to hold the previous date from the data column?

Hi,
I have a date column named 'Min Date'. I would like to created a new calculated column that will hold the previous Min Date value. The below table shows my intention.

D_PBI_0-1707911177758.png


Note where the 'Min Date' value is 01/04/2023, the rows 'Previous Min Date' column holds 01/01/2023 which is the very next earlier date in the 'Min Date' column.
Note where the 'Min Date' value is 01/09/2022, the rows 'Previous Min Date' column holds 01/05/02021 which is the very next earlier date in the Min Date column.
I hope this makes sense. Please can you inform me on the DAX needed to created this 'Previous Min Date' column?
Thanks.

4 REPLIES 4
D_PBI
Post Partisan
Post Partisan

@Anonymous  No. Unfortunately the help above hasn't resolved my issue. However, I've moved on from this initial question and therefore no longer require this particular thread answering.

Anonymous
Not applicable

Hi @D_PBI ,

May I ask if your problem has been solved. If the above reply was helpful, you may consider marking it as solution. If the problem is not yet solved, please feel free to ask us a question.

How to Get Your Question Answered Quickly - Microsoft Fabric Community

If it does not help, please provide more details with your desired out put and pbix file without privacy information.

 

Best Regards,

Ada Wang

D_PBI
Post Partisan
Post Partisan

@amitchandak - thanks for your response. I will need to come back to this and see if it completes my aim.

amitchandak
Super User
Super User

@D_PBI , try a new column like

 

Maxx(filter(Table, [Min Date] < earlier([Min date])), [Min Date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.