Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I have a column with a number of different stores each ending with the area (these are different) in parenthesis.
What I would like is to remove the parenthesis and the string within that.
eg. Store 1 (Cardiff) = Store 1
Store 2 (Birmingham) = Store 2
etc
Any ideas how to do this?
Thanks
Alex
Solved! Go to Solution.
@AMCMILLAN , Power Query -> Transform ->Extract -> Text before Delimiter
Dax
New column = Left([Column], Search("(", [Column],,0)) )
Hi @AMCMILLAN, there are two options to achieve this, depending on whether you want to cleanse it as a column in Power Query or extract it via DAX.
Power Query Editor:
DAX (Note: I renamed the table + column in this example, to make it easier to understand the formula):
Cleaned DAX = LEFT(ExampleTable[RawColumn], SEARCH(" (", ExampleTable[RawColumn])-1)
@AMCMILLAN , Power Query -> Transform ->Extract -> Text before Delimiter
Dax
New column = Left([Column], Search("(", [Column],,0)) )
Thank-you, I sent the request and then realised what I needed to do but thank-you for posting a reply.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 53 | |
| 42 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 106 | |
| 44 | |
| 32 | |
| 24 |