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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Margosia
New Member

multi distinct columns into flat format

I manged to combined multiple CSV into one, but the flatening using transpose/pivot/unpivot combinations is not working (well) for me. The headings that I want are: 'country', 'month', 'year', 'quantity', 'value'.

 

The problem is that there are four months per file (one each with quantity and value as a separate column). 

Is there a way to open and combine csv files side by side? (I have 48 files)

Image here: https://imgur.com/a/yFAgiiy 

Thank you!

 

1 REPLY 1
Margosia
New Member

I manged to combined multiple CSV into one, but the flatening using transpose/pivot/unpivot combinations is not working (well) for me. The headings that I want are: 'country', 'month', 'year', 'quantity', 'value'.

 

The problem is that there are four months per file (one each with quantity and value as a separate column). 

Is there a way to open and combine csv files side by side? (I have 48 files)

Image here: https://imgur.com/a/yFAgiiy 

Thank you!

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors