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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ambillate
Frequent Visitor

Add column that will display the first / new load date that the row appeared

Hi Good Day,

I have this table that shows ID, Load Date, Product # and Section.

ambillate_0-1626084449936.png

 

I want to add a column that will display the first load date that the row appeared, but if the row will not appear on the next load date (or will skip a date) and will apear again on the next-next load date, the date that must appear is the new load date.

 

This is my desired output:

ambillate_1-1626084914519.png

 

I tried using this measure,

 

Date Appeared =
VAR firstload = Sheet1[Load Date]
VAR mindate = CALCULATE(MIN(Sheet1[Load Date]), ALLEXCEPT((Sheet1), Sheet1[Product No], Sheet1[Section]))
RETURN
IF(Sheet1[Load Date] = CALCULATE(MIN(Sheet1[Load Date]), ALLEXCEPT((Sheet1), Sheet1[Product No], Sheet1[Section])), firstload, mindate)

 

and I got this result,

ambillate_2-1626085162206.png

 

I find it hard to display the new load date.

 

Hope that you help me with this.

 

Thanks a lot..

1 ACCEPTED SOLUTION

 

Link to the revised PBIX file 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

View solution in original post

4 REPLIES 4
ambillate
Frequent Visitor

Hi @Jihwan_Kim

I tried to use your measure, it already works now in rows 17.

But when I add new rows, the date that will display is still the min date. 

ambillate_0-1626108271282.png

 

Is there any way to come up with this output (kindly see sample output below)?

ambillate_1-1626108708117.png

 

Thanks a lot for helping me Sir.

 

Link to the revised PBIX file 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Hi @Jihwan_Kim, I really appreciate the time you spent for helping me. 

 

Thank You So much Sir.

 

Jihwan_Kim
Super User
Super User

Link to the PBIX file 

 

 

If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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