cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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

Accepted Solutions
Resolver II
Resolver II

Re: Transforming data with all timeframe in a column

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
Resolver II
Resolver II

Re: Transforming data with all timeframe in a column

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

Highlighted
Helper I
Helper I

Re: Transforming data with all timeframe in a column

Thank you!!! 

Helpful resources

Announcements

August Community Highlights

Check out a full recap of the month!

Experience what’s next for Power BI

Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.

Top Solution Authors