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
infantpowerbi
Helper II
Helper II

How to Unpivot the data for multiple duplicate columns

Dear All,


I am from Tableau background and my data is in Oracle DB is in below format  with different countires for different years and different quaters columns.
Can any one please help me how can I convert to unstructured data 

Unstructured DataUnstructured Data

3 REPLIES 3
ibarrau
Super User
Super User

Hi, can you explain a bit more about "A,B,C,D" in the table? if you don't use them, using Q3 2019 in replace of those fields can solve the problem. You can "unpivot" the data in "Edit Queries" in Power Bi.

 

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

You Can consider it as Application name

Then I think you can merge those rows together like "A Q1 2018". Then you can do the transformation unpivot in Edit queries. This will generate a key value column. The key will be A Q1 2018 and the value the number of the table.

After that you can continue the split column by first space if you want to separate application name from Q1 2018 in two columns.

 

Hope this helps

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

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.