Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Estebanco
Frequent Visitor

How to separate one type of data in two type in the same column

Hello community!

I've been eating my head all day to figure this out, I don't know if it's something very complex or I just haven't found the key, I have some peculiar data and I'd like to see if you can help me.

This is my data model:

Where have the following relationship:
Calendar[Date] 1 -> * Commercial activities[Date]

Calendar[Date] 1 -> * Orders[Order date]
Estebanco_4-1689097206564.png


Commercial activities:

Estebanco_1-1689097077167.png

Orders:

Estebanco_3-1689097167424.png


I want to know if there is any way to separate on the table "Commercial activities" the campaign "1+2" into "1" on one side and "2" in the other and transform campaign "5" in campaign "1" or "2".

I want use the "Type" found in "Orders", assuming that if it is type "0" it belongs to campaign "1" and if it has type "1" that belongs to campaign "2", and the same for campaign "5" assuming that if the order is type " 0" belongs to campaign "1" and if it is type "1" it belongs to campaign "2".

Best regards,
Esteban

1 REPLY 1
lbendlin
Super User
Super User

Data cleanup and transformation is best done at the source or in Power Query.  You can split columns by delimiter (in your case the "+" sign), and split into new rows.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.