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.
Hi All,
I have list of items in a table as below:
LON_HOME
LON_ADDRESS
LON_PERSON
LON_OWNER etc
I want data appears in the report as:
HOME
ADDRESS
PERSON
OWNER
I am using Power Bi desktop version.
Thanks
Solved! Go to Solution.
There can be many ways to do it.
1. In power query replace LON_ to blank.
2. You can split the column in Power query by number of delimiters as 4 as far left as possible.
Hi @sdhn ,
You can copy and paste the following codes in your Advanced Editor:
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45W8vH3i/fw93VVitWBcBxdXIJcg4Ph/ADXoGB/PzjXP9zPNUgpNhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Text = _t]),
#"Trimmed Text" = Table.TransformColumns(Source,{{"Text", Text.Trim, type text}}),
#"Replaced Value" = Table.ReplaceValue(#"Trimmed Text","LON_","",Replacer.ReplaceText,{"Text"})
in
#"Replaced Value"
Best Regards
There can be many ways to do it.
1. In power query replace LON_ to blank.
2. You can split the column in Power query by number of delimiters as 4 as far left as possible.
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 |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |