Forum Discussion
split column by "|" NOT in Power Bi Query
Hi Mtaberna ,
Refer these solutions:
https://community.powerbi.com/t5/Desktop/DAX-How-to-Split-left-a-text-column-on-Character-space/m-p/44584#:~:text=You%20can%20simple%20select%20the,will%20create%20two%20new%20columns.
https://community.powerbi.com/t5/Power-Query/How-to-split-column-till-delimiter-using-DAX/td-p/863563
- Mtaberna4 years agoFrequent Visitor
Hi, thanks for your response.
The thing is that the proposed solutions work for just 2 columns.
I have a max of 9 columns, delimited by this character = |
I need DAX code to split everything inside the column and also consider the case where 1 , 2 or more columns could be empty
New Ideas ?
Thnks
- Mtaberna4 years agoFrequent Visitor
Hi Liu
That worked fine.. in a new table......but is there any other way to create the COLUMNS in the same Original Table ??
The thing is......I need everything in one table
Thanks