Forum Discussion
Sambidha
6 years agoNew Member
Changing multiple row names
I have a table as below: Country Cost Percentage Africa pacific region 1k 95% Asia Region 2k 96% Europe Region 3k 97% Latin America Region 4k 98% Here i want to chan...
- 6 years ago
Hi Sambidha ,
You can try to create a calculated column like so:
Column = VAR LastWord = TRIM ( RIGHT ( SUBSTITUTE ( [Country], " ", REPT ( " ", LEN ( [Country] ) ) ), LEN ( [Country] ) ) ) RETURN UPPER ( LEFT ( [Country], 2 ) & LEFT ( LastWord, 1 ) )Best regards
Icey
If this post helps,then consider Accepting it as the solution to help other members find it faster.
Daviejoe
Memorable Member
6 years agoLet me know if this helps (also, be mindful that Replace Values is case sensitive)