Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
id | description |
1 | 123acx |
1 | 123acx |
2 | 456qwe |
Hi,
i want to replace 123 to 789(or first 3 value to another 3 value), if the id column == 1, and "acx" remains. how should i code in power query? Very appreciate your help!
Solved! Go to Solution.
@Anonymous
if [id]=1 and Text.Contains([description],"acx") then Text.Replace([description],"123","789") else [description]
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
@Anonymous
if [id]=1 and Text.Contains([description],"acx") then Text.Replace([description],"123","789") else [description]
Proud to be a Super User!
New Animated Dashboard: Sales Calendar
Great! thanks for your solution. it works!
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!