Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PowerBI: Split column in to separate columns

Tags:

powerbi

I have a category multiselect field which i'm importing, which has multiple values separated by a comma:

Agriculture, Microfinance, Peace Building

My primary instinct is to split each value in to a separate column using text functions, but i'm wondering if there's a better, easier way of doing this?

like image 629
R0b0tn1k Avatar asked Jun 15 '16 10:06

R0b0tn1k


People also ask

How do I split a column in DAX?

You can simple select the column, select split column from the ribbon and choose split by delimiter. Then select the space. It will create two new columns.


1 Answers

Ok, found it! Opened Edit queries in the data view, right click the column, Split Column > By delimiter

like image 69
R0b0tn1k Avatar answered Oct 03 '22 01:10

R0b0tn1k