Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |