Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi Team
I'm wondering if there is an easy way to extract anything starting with CRC or PE into a new column as per the picture below.
Please note: some have multiple so I would need all of these possibly separated by a comma.
Any help appreciated
Cheers
Z
Solved! Go to Solution.
Hi @ZachUnger
In Power Query Editor, please create a custom column and use below code
Text.Combine(List.Select(Text.Split([#"PE (comments)"], " "), each Text.StartsWith(_, "CRC") or Text.StartsWith(_, "PE")), ", ")
If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
www.MyAccountingTricks.com
https://www.youtube.com/MyAccountingTricks
Proud to be a Super User! | |
Thanks, PijushRoy. This has resolved the issue.
You are welcome @ZachUnger
Proud to be a Super User! | |
Hi @ZachUnger
In Power Query Editor, please create a custom column and use below code
Text.Combine(List.Select(Text.Split([#"PE (comments)"], " "), each Text.StartsWith(_, "CRC") or Text.StartsWith(_, "PE")), ", ")
If your requirement is solved, please make sure to MARK AS SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
www.MyAccountingTricks.com
https://www.youtube.com/MyAccountingTricks
Proud to be a Super User! | |
Hi @ZachUnger ,
Please post a sample data that can be copy-pasted to Excel (not an image). Questions:
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
77 | |
76 | |
57 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
56 | |
46 | |
40 |