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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
MatH
Frequent Visitor

Combining multiple columns whilst keeping ID/Date

Hi

 

I have a table that looks something like this:

MatH_0-1658226039182.png

 

I wanted to have one long list of all the subtypes, ideally keeping them with the correct date and ID's.

 

Using some other posts from here I tried unpivoting but it doesn't seem to have worked instead just giving me each subtype for every ID, where this wouldn't be the case.

 

1 ACCEPTED SOLUTION
Avantika-Thakur
Solution Supplier
Solution Supplier

Hi @MatH ,

You will have to follow the below steps :

1) Unpivot by selection only the columns - Reason Type 1, Reason Type 2, Reason Type 3, Reason Type 4. It will give you the below result

Image 3.JPG

2) Filter ou the Blank rows from the column -"Value" to get the below table

Image 4.JPG

Hope this helps.

Please accept the solution if this answers your query.

Thanks!

Avantika

View solution in original post

2 REPLIES 2
Avantika-Thakur
Solution Supplier
Solution Supplier

Hi @MatH ,

You will have to follow the below steps :

1) Unpivot by selection only the columns - Reason Type 1, Reason Type 2, Reason Type 3, Reason Type 4. It will give you the below result

Image 3.JPG

2) Filter ou the Blank rows from the column -"Value" to get the below table

Image 4.JPG

Hope this helps.

Please accept the solution if this answers your query.

Thanks!

Avantika

Thank you - this is effectively what I had tried but missed the simple last step of filtering out those blanks. Much appreciated

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors