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
Highlighted
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
Highlighted
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 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors