Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
71 | |
70 | |
38 | |
28 | |
26 |
User | Count |
---|---|
97 | |
88 | |
59 | |
43 | |
40 |