Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi, I have received this data set, and I can't seem to wrap my mind around how to extract the value inside the bracket [] (see example below) and add it to a new column.
Some points to note. The BB-xxxx phrase I want is always bracketed, and the cell always starts with AA followed by [BB-xxxx]
As is | To be | ||||
Text | Amount | Text | Number | Amount | |
AA [BB-12345] Test1 | 84 | AA [BB-12345] Test1 | BB-12345 | 84 | |
AA [BB-123425] Test2 | 834 | AA [BB-123425] Test2 | BB-123425 | 834 | |
AA [BB-1345] Test3 | 84 | AA [BB-1345] Test3 | BB-1345 | 84 | |
AA [BB-18345] Test4 | 83 | AA [BB-18345] Test4 | BB-18345 | 83 | |
AA [BB-912345] Test5 | 85 | AA [BB-912345] Test5 | BB-912345 | 85 |
I hope someone is able to help me!
Thanks in advance!
Solved! Go to Solution.
Hi @Anonymous ,
Select your [Text] column in Power Query, go to the Add Column Tab > Extract (dropdown) > Text Between Delimiters.
Start Delimiter = [
End Delimiter = ]
This should do what you need it to.
Pete
Proud to be a Datanaut!
Hi @Anonymous ,
Select your [Text] column in Power Query, go to the Add Column Tab > Extract (dropdown) > Text Between Delimiters.
Start Delimiter = [
End Delimiter = ]
This should do what you need it to.
Pete
Proud to be a Datanaut!
Thanks a lot, Pete!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.