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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Anonymous
Not applicable

Previous Available Date for Individual Products

Hi Everyone,

Can anyone help me how to create a dax formula to find "Previous Available" date for each "ID".
Date's are not continuiously existed for each ID (gaps in dates).

Please take the image as reference, for product "A" I supposed to get "sep 20/2022". Eventhough it is having 19th Sep as min date. 
Need to show the previous available day for each product

Thanks in advance

Nishanth1996_0-1664350371983.png

 

1 REPLY 1
davehus
Memorable Member
Memorable Member

Hi @Anonymous ,

 

Swap FirstDate for PREVIOUSDATE and see if that works. 

 

Did I help you today? Please accept my solution and hit the Kudos button.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.