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

Transforming data with all timeframe in a column

Hello all. 

 

I have a raw data below and require certain transofmation and any advise/solution will be helpful. 

 

I have a column name Quartely Breakdown and it contains information as shown below. 

 

IDQuarterly Breakdown
12018Q1: 5000
22018Q2: 2500; 2018Q3: 2400
32018Q1: 4000; 2018Q2: 4000; 2018Q3: 4000; 2018Q4: 5000

 

I wish to obtain a desired results below. 

 

IDPeriodAmount
12018 Q15000
22018 Q22500
22018 Q32400
32018 Q14000
32018 Q24000
32019 Q34000
32019 Q45000

 

I have tried unpivoting and pivoting the columns but still could not get the desired results. Thanks in Advance! 

 

JS

1 ACCEPTED SOLUTION
v-jianhe-msft
Resolver II
Resolver II

Hi,

 

To achieve it, you could first split the column based on the delimiter “semicolon”, noted in “Advanced options”, select “rows”.

1.PNG

By doing this, the column will become

2.PNG

Then split the column again. This time only need to set delimiter as “Colon”:

3.PNG

And the final result is like:

4.PNG

BR,

Henry

 

View solution in original post

2 REPLIES 2
v-jianhe-msft
Resolver II
Resolver II

Hi,

 

To achieve it, you could first split the column based on the delimiter “semicolon”, noted in “Advanced options”, select “rows”.

1.PNG

By doing this, the column will become

2.PNG

Then split the column again. This time only need to set delimiter as “Colon”:

3.PNG

And the final result is like:

4.PNG

BR,

Henry

 

Thank you!!! 

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.