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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello PBI Community!
I have a column of different county names, some just the name, others, the name and the word county. See below for the example and desired output.
Example:
Column Name: County Name
Clay
Acorn
Bell County
Anchorage
Brock County
Orange County
Smith
Willacy
Carter County
Output Desired:
Clay
Acorn
Bell County
Anchorage
Brock County
Orange County
Smith
Willacy
Carter County
I have tried extract after deliminator, but it just deleted the entire cell contents, as county is the last word in the cells. I know replace value is an option, but with 30,000 lines with a decent % having ending in the word county, I was hoping to see if there was a less manual way of doing this.
Thanks in advance!
Apologies about this! The desired output is:
Clay
Acorn
Bell
Anchorage
Brock
Orange
Smith
Willacy
Carter
This did not work for me. Any other ways to fix this error?
explain why it didn't work
do you need to remove the words county from the Name of column ?
It’s not clear what you want, the result is the same as the input data
Hi @W2SANC
What is the difference between the example and a desired output?
It seems the same ...
User | Count |
---|---|
98 | |
76 | |
75 | |
48 | |
27 |