Hi @Frankee,
Your sample doesn’t seem to match with your description, there is no “<0” only “=X”
Copy this script into a new blank query and amend according to your needs.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("pdRLCoAwDATQu3RdIbVW3AueQRDvfw0/FW2a2MUECikIj2FI3Ta3Ou/kCZ7oHOQp5pHymO4RiI3r20xu91lTRIDr5iW8pKJiZF+StYqRsSKZipGDJD8VI5NKPipGjr8pcTMxVysVXCVWgZYZdxt5bXCqSxZ7Cz6Ceh9Ebtxt5LXBoozPN5URlcfBb7jbyGuDtTIKGLYH/U9R5MbdRl4b/JSxHw==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [C0 = _t, CF1 = _t, CF2 = _t, CF3 = _t, CF4 = _t, CF5 = _t, CF6 = _t, C02 = _t, C1 = _t, C2 = _t, C3 = _t, C4 = _t, C5 = _t, C6 = _t, #"Possible combinations" = _t]),
ChType = Table.TransformColumnTypes(Source,{{"C02", type number}, {"C1", type number}, {"C2", type number}, {"C3", type number}, {"C4", type number}, {"C5", type number}, {"C6", type number}}),
DelCol = Table.RemoveColumns(ChType,{"Possible combinations"}),
AddField = Table.AddColumn(DelCol, "Possible combinations", each Text.Combine( Table.SelectRows( Table.FromColumns( { Record.FieldNames(_), Record.FieldValues(_) }), each [Column2] = "X")[Column1], "-" ))
in
AddField
I hope this is helpful