Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
i am new to Power BI.
I need a DAX formula to check if fields contain a particular word.
if text contains the word remote then return "yes" otherwise "no"
example
123Remotexyz. return "Yes"
123Physicalxyz. return "No"
Solved! Go to Solution.
Hi @Kamchokshi ,
How about this:
LookupResult = IF ( ISERROR ( SEARCH ( "remote", 'Table'[Column] ) ), "No", "Yes" )
Let me know if this helped 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Hi @Kamchokshi ,
You can create a new column and input the following code:
Column =IF(CONTAINSSTRING('Table'[Column1],"remote"),"Yes","No")
Output:
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kamchokshi ,
You can create a new column and input the following code:
Column =IF(CONTAINSSTRING('Table'[Column1],"remote"),"Yes","No")
Output:
Best Regards,
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Kamchokshi ,
How about this:
LookupResult = IF ( ISERROR ( SEARCH ( "remote", 'Table'[Column] ) ), "No", "Yes" )
Let me know if this helped 🙂
/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |