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.
Hey guys,
I have a column of "Charge Description," and would like to shorten the text in the column.
It looks something like this:
Shop(1) - 1st Checked Bag
Shop(2) - 1st Checked Bag
Shop(5) - 1st Checked Bag
Shop(3) - 1st Checked Bag
Shop(10) - 2nd Checked Bag
Shop(9) - 2nd Checked Bag
and so on.
It there a way to remove all of the Shop() values, and hyphens (leaving only 1st Checked Bag, 2nd Checked Bag, etc.), in one step?
Have been googling for a while now and can't seem to find an answer.
Tried something similar to this but no success yet, because it's not entirely correct, I'm sure -
List.Transform([GL Charge Description], each Text.Contains((FindStrings[GL Charge Description]),-))
Any help is appreciated. Thanks 🙂
Solved! Go to Solution.
Nevermind! I have it! Just simply split the column by number of characters!
Nevermind! I have it! Just simply split the column by number of characters!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |