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! Get ahead of the game and start preparing now! Learn more
Hi,
I have a column of data which is of the format given below:
[{'name': 'TriStar Pictures', 'id': 559}, {'name': 'Teitler Film', 'id': 2550}, {'name': 'Interscope Communications', 'id': 10201}]
I want to split this column of data into multiple columns, with delimiter start as '{' and delimiter end as '}'.
Endresult expected:
| Column 1 | Column 2 | Column 3 |
| {'name': 'TriStar Pictures', 'id': 559} | {'name': 'Teitler Film', 'id': 2550} | {'name': 'Interscope Communications', 'id': 10201} |
If I use the delimiter as comma, then even then the result would be 6 columns, which is not what I want. Can you please suggest how this can be done in Power BI Query Editor using the Split column feature.
Solved! Go to Solution.
You can use below DAX
=PATHITEM(SUBSTITUTE(Person[Full Name], “{”, “|”), 1)
1 is for previous text {
2 for after text {
You can use below DAX
=PATHITEM(SUBSTITUTE(Person[Full Name], “{”, “|”), 1)
1 is for previous text {
2 for after text {
Thanks Aditya for your quick response. It really helped in resolving the issue. Thanks once again.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 37 | |
| 35 | |
| 35 | |
| 28 |
| User | Count |
|---|---|
| 134 | |
| 101 | |
| 71 | |
| 67 | |
| 65 |