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!View all the Fabric Data Days sessions on demand. View schedule
Hi,
I have the following table:
Application Code Owners
ABC EW123, FH902, G903
DEF AG945
I need to break this out to individual application code/Owners as such to do a merge process
Application Code Owners
ABC EW123
ABC FH902
ABC G903
DEF AG945
Thanks
Solved! Go to Solution.
Hey @EaglesTony,
Based on your requirement to split comma-separated owner values into individual rows, here are the recommended approaches:
If you prefer a calculated table approach:
ExpandedTable =
ADDCOLUMNS(
SELECTCOLUMNS(
GENERATESERIES(1, MAXX(YourTable, LEN(YourTable[Owners]) - LEN(SUBSTITUTE(YourTable[Owners], ",", "")) + 1)),
"RowNumber", [Value]
),
"Application Code",
LOOKUPVALUE(
YourTable[Application Code],
YourTable[Application Code],
YourTable[Application Code]
),
"Owners",
TRIM(
PATHITEM(
SUBSTITUTE(YourTable[Owners], ",", "|"),
[RowNumber]
)
)
)
The Power Query method (Method 1) is strongly recommended as it provides the most robust and maintainable solution for your merge process requirements.
Fixed? ✓ Mark it • Share it • Help others!
Best Regards,
Jainesh Poojara | Power BI Developer
Hi @EaglesTony
Follow these steps:
Did it work? 👍 A kudos would be appreciated
🟨 Mark it as a solution to help spread knowledge 💡
Hey @EaglesTony,
Based on your requirement to split comma-separated owner values into individual rows, here are the recommended approaches:
If you prefer a calculated table approach:
ExpandedTable =
ADDCOLUMNS(
SELECTCOLUMNS(
GENERATESERIES(1, MAXX(YourTable, LEN(YourTable[Owners]) - LEN(SUBSTITUTE(YourTable[Owners], ",", "")) + 1)),
"RowNumber", [Value]
),
"Application Code",
LOOKUPVALUE(
YourTable[Application Code],
YourTable[Application Code],
YourTable[Application Code]
),
"Owners",
TRIM(
PATHITEM(
SUBSTITUTE(YourTable[Owners], ",", "|"),
[RowNumber]
)
)
)
The Power Query method (Method 1) is strongly recommended as it provides the most robust and maintainable solution for your merge process requirements.
Fixed? ✓ Mark it • Share it • Help others!
Best Regards,
Jainesh Poojara | Power BI Developer
Thank you!...Exactly what I needed and I did use option 1, since I have to merge data to it.
Sounds good, Happy to contribute!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 12 | |
| 7 | |
| 5 | |
| 5 | |
| 3 |