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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
laganlee
Helper II
Helper II

Combine Files: Want to include another column as repeated

Hi

When I click on the two down arrows to combine, I get the expanded Content.

laganlee_4-1669580323524.png

 

Which is good, but the Source.Name column disappears, leaving just the expanded content with its rows A,B,C & D.

 

A      B               C                   D            

Bill   Rodgers   23/11/22      500 

Jo     Hind        23/11/22      401       

Jill     Hind        11/10/22      431         

Jan    Bind       11/11/21      222          

Jo      Kind        11/12/21      223             

 

 

What I need it to have the Source.Name for each 'Binary' row, i.e. so I can identify the source for each row.

i.e.

A      B               C                   D            Source.Name

Bill   Rodgers   23/11/22      500              first

Jo     Hind        23/11/22      401              first 

Jill     Hind        11/10/22      431             second

Jan    Bind       11/11/21      222              second

Jo      Kind        11/12/21      223             second

 

How can that be done?

Many thanks for looking 🙂

 

 

1 ACCEPTED SOLUTION
ImkeF
Super User
Super User

Hello @laganlee ,
one of the automatically created steps removes this column. I you click on the gearwheel, a dialogue will open that allows you to check all the columns you want to keep:

ImkeF_0-1669581869038.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

2 REPLIES 2
laganlee
Helper II
Helper II

Thanks a lot ImkeF!

That is so simple - much appreciated.

 

ImkeF
Super User
Super User

Hello @laganlee ,
one of the automatically created steps removes this column. I you click on the gearwheel, a dialogue will open that allows you to check all the columns you want to keep:

ImkeF_0-1669581869038.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors