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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Kid_Koala
Frequent Visitor

Merge rows contain different values

I've got a problem with merging some rows. Bad issue with geting data brings me two different rows, (which are really the one) contains two part of information.

For instance, this one. Here you can see two rows representing data on the one single ad campaing. The first row contains stats for clicks, costs and everithing except goal converstions. The second one is showing just conversions. I want to merge them in Power Bi, as I can't solve the issue with the correct data getting. 

example.png


Could someone help? Thanks.

1 ACCEPTED SOLUTION
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Kid_Koala,

 

You may try CONCATENATEX Function.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Kid_Koala,

 

You may try CONCATENATEX Function.

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
stretcharm
Memorable Member
Memorable Member

You could do this a few ways.

 

I would start by creating a key by using split delimeter right most | on campaign.

You can then create two references for the 2 types of row. Filtering each with the 2nd part of the split.

Finally merge them together again with the key and expand the 2nd tables columns.

 

 

Helpful resources

Announcements
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.