2024-07-17_173726.jpg
or you could use the user interface and go into
Add column, then
Conditional column and fill in for example as follows:
2024-07-17_174119.jpg
which results in the likes of:
Code:
= Table.AddColumn(#"Removed Blank Rows", "IsHdr", each if [MODULE NUMBER AND PREFIX] = null then false else true)