Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table imported daily from the web and it contains two columns , one is name and address and the other is just address
I need to extract just the name from the address , by a formula to remove what is in the address column from the name address column
Name Address Addresss
John Smith Johns Beach Bar , Miami , US Johns Beach Bar , Miami , US
Mike Brown Mikes Beach Bar , Florida , US Mikes Beach Bar , Florida , US
I need a Name Column adding which just shows the name
John Smith
Mike Brown
I need to do this in query editor please
Solved! Go to Solution.
HI @Pandadev,
Did you mean to remove the 'text string' stored in the 'address' column from the 'name address' field? If that is the case, you can create a calculated column with SUBSTITUTE function:
Replaced = SUBSTITUTE([Name Address],[Addresss],"")
Regards,
Xiaoxin Sheng
HI @Pandadev,
Did you mean to remove the 'text string' stored in the 'address' column from the 'name address' field? If that is the case, you can create a calculated column with SUBSTITUTE function:
Replaced = SUBSTITUTE([Name Address],[Addresss],"")
Regards,
Xiaoxin Sheng
@Pandadev you can make use of below measure
unfortunately not , sometimes it can be like
Smith, Arnold James
John & Mary Smith
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
37 |