Forum Discussion
ak77
Post Patron
2 years agoRetain Cases in a single column
Hi all,
i want to retain the Case of the column where the same value in different cases retains its case when i import data from excel to powerbi. is this possible.Please help Ex: TOTAL INFRASTRUCTURE should be Upper case if exported to powerbi and Total Infrastructure should be Total Infrastructure(camel case) ans total infrastructure should be total infrastructure (lower case)
Please help
4 Replies
- danextian
Super User
By the looks of it, you actually did transform the column as total infrastructure (in lowercase) is nowhere to be found in your model. They're all in Capitalize each word. If you want to retain the UPPERCASE, create a custom column with a similar formula as below and then use that column instead.
if Text.Upper([Column]) = [Column] then [Column] else Text.Proper([Column])