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
plaralema
Advocate III
Advocate III

Hi ! I Need help creating a table using pivot (I guess)

Hi there, i need some help creating a table.

I have data in tabular way, as shows in picture 1, and i need to create a overview table with a deviation column like i show in second picture example1.png

example2.png

Is any way to create this ? i guess it might work with double pivoting? but i'm not sure.

Please help 😄 thank you very much

 

 

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @plaralema ,

 

You need to unpivot columns first, then spilit an attribute column by space, and then pivot again.

Detailed steps:

1.Select the four columns and click "Unpivot Columns".

3.png

vstephenmsft_0-1678331072373.png

2.Split by space.

vstephenmsft_1-1678331085127.png

vstephenmsft_2-1678331113928.png

vstephenmsft_3-1678331126493.png

3.Select the Attribute.1 column and then click "Pivot Column".

vstephenmsft_4-1678331159493.png

4.Set up as follows and click OK.

vstephenmsft_5-1678331192208.png

vstephenmsft_6-1678331211867.png

 

Final result is as follows. It's displayed as a matrix visual.

vstephenmsft_7-1678331888066.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

View solution in original post

2 REPLIES 2
plaralema
Advocate III
Advocate III

Thank you a lot for your detailed expression, i'll try it right away!

v-stephen-msft
Community Support
Community Support

Hi @plaralema ,

 

You need to unpivot columns first, then spilit an attribute column by space, and then pivot again.

Detailed steps:

1.Select the four columns and click "Unpivot Columns".

3.png

vstephenmsft_0-1678331072373.png

2.Split by space.

vstephenmsft_1-1678331085127.png

vstephenmsft_2-1678331113928.png

vstephenmsft_3-1678331126493.png

3.Select the Attribute.1 column and then click "Pivot Column".

vstephenmsft_4-1678331159493.png

4.Set up as follows and click OK.

vstephenmsft_5-1678331192208.png

vstephenmsft_6-1678331211867.png

 

Final result is as follows. It's displayed as a matrix visual.

vstephenmsft_7-1678331888066.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.           

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.