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!
Hi,
I have a DB where in a column will hold data delimited by a COMMA and this kind of data is present in more than one column. I want to split all of these columns into multiple columns. I tried the option of split Column, but this will do only one column and i cannot select more than one column.
Is there a way to bring into the script to select multiple columns and rename it by selecting a particular data in a array of strings?
Also, the columns in the DB tabel resluts_table is named as Item_0, Item_1 and goes on till Item_x. The actual name for these columns is stored in another table called Map_table with a comma delemit. I need to read from the data from Map_table and store it in array of strings. Then rename the columns in results_table to the data present in the array of strings.
Is there a way to achive above two requirments in PowerBI desktop?
Thanks.
Hi @yogeshYS,
From my understanding, to achieve your reqirement with Power Query, you might have to write custom function which is not an easy work. In this scenario, I think splitting columns manually is much easier and spending less time than developing a complex custom function.
Regards,
Yuliana Gu
I have around 400+ columns to rename and split.
So manual operation will be a tedious job. So, i am still exporing how to automate this process.
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 |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |