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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
GerM940
New Member

Filling in Blanks with previous Entry

Hi there,

 

Forgive me if this has already been solved but I cant find a solve that is working for me.

I have a table of date times like this:

Start Time Time of Max
01/01/2020  00.00 
01/01/2020 03.00 
01/01/2020 06.00 
01/01/2020 09.00 
01/01/2020 12.0001/01/2020 12.00
01/01/2020 15.00 
01/01/2020 18.00 
01/01/2020 21.00 
02/01/2020 00.00 
02/01/2020  00.00 
02/01/2020 03.00 
02/01/2020 06.00 
02/01/2020 09.00 
02/01/2020 12.00 
02/01/2020 15.00 
02/01/2020 18.00 
02/01/2020 21.0002/01/2020 21.00
03/01/2020 00.00 

 

But I want it to add a column like this:

Start Time Time of MaxTime of Max (2)
01/01/2020  00.00  
01/01/2020 03.00  
01/01/2020 06.00  
01/01/2020 09.00  
01/01/2020 12.0001/01/2020 12.0001/01/2020 12.00
01/01/2020 15.00 01/01/2020 12.00
01/01/2020 18.00 01/01/2020 12.00
01/01/2020 21.00 01/01/2020 12.00
02/01/2020 00.00 01/01/2020 12.00
02/01/2020  00.00 01/01/2020 12.00
02/01/2020 03.00 01/01/2020 12.00
02/01/2020 06.00 01/01/2020 12.00
02/01/2020 09.00 01/01/2020 12.00
02/01/2020 12.00 01/01/2020 12.00
02/01/2020 15.00 01/01/2020 12.00
02/01/2020 18.00 01/01/2020 12.00
02/01/2020 21.0002/01/2020 21.0002/01/2020 21.00
03/01/2020 00.00 02/01/2020 21.00

 

I need it to be a DAX query too.

1 REPLY 1
lbendlin
Super User
Super User

You likely don't need to do this in DAX. Power Query has a "Fill Down" transformation that can do that for you.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.