March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
In PowerBI Desktop, I am wanting to replace text in one column based on what is in another column.
I have a tabled called UoM-TrainMe-Report. I have a column called Division and the other column called Organisation / Portfolio.
Basically, if in the column [organisation / portfolio] there is XYZ, change the text in the Division column to Other.
Thanks guys!
RayinOz
Solved! Go to Solution.
If you don't mind creating another column you can create a calculated column and use dax.
NewDivision = IF([organisation / portfolio] = "ZYX", "other", [Division])
If you have multiple organisations / portfolios values you want to do this for you can use OR or the logical or operator symbol ||
If you don't mind creating another column you can create a calculated column and use dax.
NewDivision = IF([organisation / portfolio] = "ZYX", "other", [Division])
If you have multiple organisations / portfolios values you want to do this for you can use OR or the logical or operator symbol ||
Hi @rayinOz
Basically this has to be done in the PowerQuery.
If you can share the data in onedrive and post the link, I can help you with the steps.
Cheers
CheenuSing
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
90 | |
86 | |
83 | |
72 | |
49 |
User | Count |
---|---|
167 | |
149 | |
98 | |
73 | |
57 |