Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
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])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
124 | |
111 | |
73 | |
65 | |
46 |