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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
petermb72
Helper IV
Helper IV

Power Query editor rename the next 6 cells based on a value in a cell

I have a report that somewhat looks like this in Power Query editor:

 

nullnullnullnullnull
Date10/1/202310/2/202310/3/2023null
Volume151610null
Total Hours151510null
nullnullnullnull

Job:RN

Date10/1/202310/2/202310/3/2023null
Volume151610null
Total Hours777null
nullnullnullnullJob:CNA
Date10/1/202310/2/202310/3/2023null
Volume151510null
Total Hours883

null

Date10/4/202310/5/202310/6/2023

null

Volume121415null
Total Hours141414null
nullnullnullnullJob:RN
Date10/4/202310/5/202310/6/2023null
Volume121415null
Total Hours777

null

nullnullnullnull

Job:CNA

Volume121415

null

Total Hours777

null

What I want it to look like is:

 

DateVolumeTotal hours
10/1/20231515
10/2/20231615
10/3/20231010
10/4/20231214
10/5/20231414
10/6/202315

14

 

I need to eliminate the Rows that contain Job:*** and then the next three after it.  That way I would eliminate parts of the report that duplicate.  I can then manipulate the rest of the report to get the table looking correctly.  However I am stumped on on to eliminate a row with certain data and then the next three.  Is that Posiable?

1 REPLY 1
petermb72
Helper IV
Helper IV

I missed the last row of dates in the sample data.  It would go in the row just after Job:CNA

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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