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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sherylmeg
Frequent Visitor

Import from Excel - Advanced Editor question

I'm trying to import an Excel spreadsheet but the data in the sheet has rows grouped by date. An example:

 

ItemShip Date
522 Jan-20, 2018
747 
642 
834 
414 Jan-21, 2018
996 
568 

 

All the Items on and below the row with the date have the same Ship Date until the next row with a Ship Date then all the Items have that Ship Date, and so on. Is there a way to code in the Advanced Editor something that will get the Ship Date and apply it to all following rows that have no Ship Date until the Ship Date changes (then apply that Ship Date and so on)?

 

Any other ideas on how to get the Ship Date on each row?

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@sherylmeg

In the Query Editor - right-click on the ShipDate Column Header and select => Fill => Down

View solution in original post

1 REPLY 1
Sean
Community Champion
Community Champion

@sherylmeg

In the Query Editor - right-click on the ShipDate Column Header and select => Fill => Down

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.