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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

NewBie - Create new column that fills blank dates based on matching "order numbers"

 

Hi All,

 

Very new to PowerBi here, covering a colleague who is out sick.

 

Based on the table below, the table name is: 'OnlineChannel'. I am trying to create a new column based on the column "Scheduled Date" below, the new column will be named "Verified Scheduled Date". The new Column should have no blank values if the "Order Number" has a match in another row with a scheduled date. 

 

For example, Order Number "20246789" appears 3 times on the table, in lines 8, 9, and 10. The "Scheduled Date" value in line 10 is not blank, therefore all values for Order Number "20246789" in lines 8, 9, and 10 in the new "Verified Scheduled Date" column should match the existing date in line 10.

 

I have no idea where to start, please help. Thanks in advance!

 

LineOrder Number Scheduled Date 
1123959691/1/2025
21495968812/6/2024
314959688 
4184957689/1/2025
520241367 
6202413671/1/2025
7202439595/15/2025
820246789 
920246789 
10202467896/18/2025
   
1 ACCEPTED SOLUTION
Anonymous
Not applicable

It worked like a charm, thank you so very much!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

It worked like a charm, thank you so very much!

FreemanZ
Super User
Super User

Hi @Anonymous ,

 

not sure if i fully get you, try to add a calculated column like:

Verified Scheduled Date = 
MAXX(
    FILTER(OnlineChannel, OnlineChannel[Order Number]=EARLIER(OnlineChannel[Order Number])),
    OnlineChannel[Scheduled Date]
)

 

it works like:

FreemanZ_0-1721887670916.png

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.