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
help needed in how to:
need to use DAX to search column A and column B for specific string existence in its text, and update column C based on that
Solved! Go to Solution.
Hi, @agkolkata ;
You could try to create a column by dax.
Column =
IF(
CONTAINSSTRING([Column1],"ZZ")&&CONTAINSSTRING([Column2],"B_C"),666,[Column3])
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @agkolkata ;
You could try to create a column by dax.
Column =
IF(
CONTAINSSTRING([Column1],"ZZ")&&CONTAINSSTRING([Column2],"B_C"),666,[Column3])
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You cannot modify the content of a column with DAX, the only way is to create custom column in "Power Query Editor" or Create a new Column after you load the data.
Please find belowe an example in power query editor:
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 6 | |
| 5 | |
| 5 | |
| 3 |