Forum Discussion

mweber87's avatar
mweber87
Helper I
3 years ago
Solved

Splitting column details

I have this data set. There are different types of pizzas. There is a column that is labeled ingredients. And each row lists all the ingredients for that pizza on one line. Example 

bbq_cknThe Barbecue Chicken PizzaChickenBarbecued Chicken, Red Peppers, Green Peppers, Tomatoes, Red Onions, Barbecue Sauce

 

However, I would like to seperate the ingredients so they show up on different rows. For example:

pizza_type_idnamecategoryingredients
bbq_cknThe Barbecue Chicken PizzaChickenBarbecued Chicken
bbq_cknThe Barbecue Chicken PizzaChickenRed Peppers
bbq_cknThe Barbecue Chicken PizzaChickenGreen Peppers
bbq_cknThe Barbecue Chicken PizzaChickenTomatoes
bbq_cknThe Barbecue Chicken PizzaChickenRed Onion
bbq_cknThe Barbecue Chicken PizzaChickenBarbecued Sauce

 

I am new to Power Bi and DAX so any help would be greatly apprecaited!

4 Replies