The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Customer | Price |
Costco USA | 754 |
Walmart MX | 365 |
Kenny's USA | 956 |
Freddy's | 457 |
From the table above I need to replace the whole cell value for only those that contain the word "USA" to "Offboarded" so I can end up with a table like this
Customer | Price |
Offboarded | 754 |
Walmart MX | 365 |
Offboarded | 956 |
Freddy's | 457 |
I have looked into DAX's "Replace" and "substitute" but cannot make it work for this particular scenario where I believe the usage of *wildcards* may be required.
Any suggestions are truly appreciated.
Solved! Go to Solution.
@Anonymous , Try a new column like
if(search("USA",[Customer],,0) >0, "Offboarded",[Customer])
@Anonymous , Try a new column like
if(search("USA",[Customer],,0) >0, "Offboarded",[Customer])
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
80 | |
73 | |
52 | |
50 |
User | Count |
---|---|
129 | |
123 | |
78 | |
64 | |
60 |