Forum Discussion
Splitting Columns into Individual rows and mapping with corresponsing values in the table
- 3 years ago
Anonymous , refer this blog for the solution
https://prathy.com/2018/02/split-multiple-columns-rows-powerquery/
- 3 years ago
Hello Anonymous
Add As custom column
1> Text.Split([Country] , ",")
2> Text.Split([Cost Savings Forecast] , ",")3> Text.Split([Cost Savings Actual] , ",")
after delete original column then ADD Custom Column
Table.FromColumns({[Country.1],[Cost Savings Forecast.1],[Cost Savings Actual.1]})before Expanded Table Delete Created Custome Column And then Expand Table column end you get your result .
Thank you ,Mahesh patel
- 3 years ago
Anonymous
Hello Anonymous
Add As custom column
1> Text.Split([Country] , ",")
2> Text.Split([Cost Savings Forecast] , ",")
3> Text.Split([Cost Savings Actual] , ",")
after delete original column then ADD Custom Column
Table.FromColumns({[Country.1],[Cost Savings Forecast.1],[Cost Savings Actual.1]})
before Expanded Table Delete Created Custome Column And then Expand Table column end you get your result .
Thank you ,
Mahesh patel
- Anonymous3 years agoNot applicable
Thanks Mahesh. The solution worked.
This is what I was looking for earlier. I have been trying different queries, but eventually none of them worked