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
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
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.