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
Pillz_
Frequent Visitor

Filling column with another value in the same column but different row

I have a table that contains main jobs and sub jobs that are related to the main jobs. I'm trying to create a filter that contains the concatenation of the job code and the respective job name. This will be the Job Combined column. Based on the current photos of the mock tables, is there a way to change the Job Combined Table to only contain the parent job names and not the sub job names?

Current table layout

Pillz__1-1612201046274.png


What I want 

Pillz__2-1612201054404.png

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Is there a column which indicates the Parent Jobs?

If so, and the Jobs and SubJobs are in order this can probably be done in Power Query in a straightforward manner - create a column on the Parent Jobs to give the 'Job Combined' then do a Fill Down on the column.

 

If they are not in order, there needs to be a column on the subjobs which shows which is the parent.  Then use M or DAX to get the JOb Combined from the parent.

 

 

View solution in original post

5 REPLIES 5
parry2k
Super User
Super User

@HotChilli Do you want to assist @Pillz_  here, if not then I can take care of it. Cheers!!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

HotChilli
Super User
Super User

Is there a column which indicates the Parent Jobs?

If so, and the Jobs and SubJobs are in order this can probably be done in Power Query in a straightforward manner - create a column on the Parent Jobs to give the 'Job Combined' then do a Fill Down on the column.

 

If they are not in order, there needs to be a column on the subjobs which shows which is the parent.  Then use M or DAX to get the JOb Combined from the parent.

 

 

See my reply to @parry2k below with the updated table mockup containing a hierarchy for the jobs

parry2k
Super User
Super User

@Pillz_ it can be done but from the mock-up, it is not clear how sub-jobs are related to parent job, I don't see any logic or pattern in it.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Forgot to include in the table but there is a column called Hierachy that tracks the hierarchy level. I've also found out that some of these sub jobs also have sub jobs within them. Here's a new mockup for the table 

Pillz__0-1612206773406.png

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors