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
webportal
Impactful Individual
Impactful Individual

Split column in two

Hello,

 

My table has the following structure:

Capturar.PNG

I need to analyse the variance of views by page title from the periods in column B: 2016 vs 2015.

For that, I'm using Power BI desktop. I'm trying to split column B in two: one with the period 1/jan/2015-19/ago/2015 and other with 1/jan/2015-19/ago/2015

 

Is this possible to do? How?
I tried unpivoting but it didn't work.

 

Thanks in advance for helping!

1 ACCEPTED SOLUTION
ankitpatira
Community Champion
Community Champion

@webportal You actually need to Pivot it. See below image.

 

Capture.JPG

View solution in original post

2 REPLIES 2
ankitpatira
Community Champion
Community Champion

@webportal You actually need to Pivot it. See below image.

 

Capture.JPG

Hi,

Pivot is the word indeed (not split).

However, I have other values columns, like time on page, bounce rate, etc.

After pivotting the column, the table becomes a mess...

Perhaps I should go back to Excel, build a pivot table and copy-paste values to another table.

Or is there a way to pivot a column with multiple value columns?

Thanks for helping!

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.