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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

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.