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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hey Community,
I am struggling today. I have a column with data the looks like "CustomerName (Location)". I want to make a new column off a DAX formula that will pull the location out of the column, Also, I have filtered the data on the page level to a specific company (might need a FILTER statement in my formula). This is my current expression:
Location = RIGHT('Query'[Customer Name], LEN('Query'[Customer Name]) - 1)
When I try to increase the subtracted amount, I get an error because some of the other non filtered values in the column are smaller. Also, the CustomerName portion has a static length.
Any help is appreciated!
Cheers,
Alan
Solved! Go to Solution.
Why not split the entire column in the Query Editor - Split by (Custom) Delimiter?
In the Query Editor you can also Trim and Clean much easier ![]()
Why not split the entire column in the Query Editor - Split by (Custom) Delimiter?
In the Query Editor you can also Trim and Clean much easier ![]()
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 130 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |