Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi all,
I ran into an interesting issue cleaning up some data and I'm still new at Power BI so I'd appreciate any help you can give me! I've included a snippet of the column I'm trying to clean up. I just want to remove the semicolon that comes first in some cells but leave the other semicolons that are separating other values (the semicolons in red). There aren't any particular letters that always have a semicolon before them and sometimes there is a space and sometimes there is not a space. Any ideas on how to remove just these ones? If I didn't have 50,000 observations I'd be tempted to just manually find and replace these. Thanks everyone!
; M5441 |
; M5441 |
; M5441 |
J040; J069; B9789; |
J040; J069; B9789; |
J040; J069; B9789; |
S61211A; |
S61211A; |
S61211A; |
S61211A; |
S61211A; |
S61211A; |
S61211A; |
; L02219; L03319 |
; L02219; L03319 |
; L02219; L03319 |
;K029 |
F458;F259; K5900 |
F458;F259; K5900 |
F458;F259; K5900 |
F458;F259; K5900 |
I509; R079 |
; H9203; J4521; J069; B9789 |
; H9203; J4521; J069; B9789 |
; H9203; J4521; J069; B9789 |
Solved! Go to Solution.
@Anonymous you can add custom column in power query with following expression, change col in following expression with your column name
if Text.StartsWith([Col],";") then Text.AfterDelimiter([Col],";") else [Col]
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Anonymous you can add custom column in power query with following expression, change col in following expression with your column name
if Text.StartsWith([Col],";") then Text.AfterDelimiter([Col],";") else [Col]
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Wow, I made that way more complicated in my head! Thank you so much!
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
85 | |
67 |