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! It's time to submit your entry. Live now!
There are data clean up required. I want to replace the status in the column "return reason" from FPC to FPR where the column "Model" is equal to "S123". Any advice?
Solved! Go to Solution.
@Anonymous , A new column in DAX
if([return reason] = "FPC" && "Model" = "S123" , "FPR", [return reason] )
Hi, @Anonymous ;
Such as amitchandak said ,you could use replace value.
and if you want to change a column and don't want to add a new column, may be you must complete it in power query.
One method is replace the value;
Another method is add a condition column then delete the original column.
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.
Creating a new column is not my plan.
@Anonymous , Then you need to do it power query , refer
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 11 | |
| 9 | |
| 8 | |
| 7 |