cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JS Regular Visitor
Regular Visitor

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
v-jianhe-msft Regular Visitor
Regular Visitor

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
v-jianhe-msft Regular Visitor
Regular Visitor

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
JS Regular Visitor
Regular Visitor

Re: Transforming data with all timeframe in a column

Thank you!!! 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 48 members 981 guests
Please welcome our newest community members: