Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I'm getting this error, what am i missing.
summary
i want to create a colum that looks at 1 column for text.contains "XXXXX" and the start of another column doesn't start with text "YYYYY_______" then return a result
Solved! Go to Solution.
Table.AddColumn(
your_table,
"LHRR",
each
if Text.Contains([a], "xxxx") and
not Text.StartsWith([b], "yyyy")
then "LHRR"
else "notLHRR"
)
ledgend. thanks so much
Table.AddColumn(
your_table,
"LHRR",
each
if Text.Contains([a], "xxxx") and
not Text.StartsWith([b], "yyyy")
then "LHRR"
else "notLHRR"
)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 9 | |
| 8 | |
| 8 |