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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
HenryJS
Post Prodigy
Post Prodigy

Populating Fields

Hi all,

 

I have some poorly structured data.

 

How can I add a Measure or Column so that Christopher Constable has a '1' in every 'ok to pay' cell? Not just the top one.

 

 

 

 

Data.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @HenryJS,

In fact, measure and calculated column not suitable for this requirement, they can't directly modify original table record values.
In my opinion, I'd like to suggest you enter to 'query editor' to enable 'fill down' function on your 'ok to pay' field.

How to Fill Down Blank or Null Cells in Power Query 

Notice: If fill down not working, please double check your record values if any whitespace/specific characters that block fill down feature.

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @HenryJS,

In fact, measure and calculated column not suitable for this requirement, they can't directly modify original table record values.
In my opinion, I'd like to suggest you enter to 'query editor' to enable 'fill down' function on your 'ok to pay' field.

How to Fill Down Blank or Null Cells in Power Query 

Notice: If fill down not working, please double check your record values if any whitespace/specific characters that block fill down feature.

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@HenryJS 

Try

new column =1
 
 new column =
 switch(true(),
  [firstname]="Christopher" && surname ="Constable", 1,
  ///other conditions if needed
  blank()
  )

 

suggested switch in place if so that other conditions can be added easily

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.