Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
koorosh
Post Partisan
Post Partisan

Transform

Hello experts, How to get the down table from the above one in the image, please?

 

CROSS.JPG

 

 

1 ACCEPTED SOLUTION
Portrek
Resolver III
Resolver III

Hi.

 

In Power query select your first column and choose the option Unpivot Other Columns

 

Power-BI-Unpivot-Column-730x257.png

 

Best regards.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi @koorosh ,

 

As they said, you could use unpivot in power query; and another method is to create a new table through the following form:

Newtable =
VAR _new1 =
    SUMMARIZE ( 'Table', [Company Name], [Service1], "Type", "Service1" )
VAR _new2 =
    SUMMARIZE ( 'Table', [Company Name], [Service2], "Type", "Service2" )
VAR _new3 =
    SUMMARIZE ( 'Table', [Company Name], [Service3], "Type", "Service3" )
RETURN
    UNION ( _new1, _new2, _new3 )

The final output is shown below:

v-yalanwu-msft_0-1621850254245.png

 

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.  

MintuBaruah
Helper III
Helper III

Hi @koorosh 

 

I tried the following solution.

 

First, you need to select the columns and then unpivot them(refer to screenshot 1).

Screenshot 1:

ComAns2_1.jpeg

 

Which will give you the following output(refer to screenshot 2):

Screenshot 2:

ComAns2_2.JPG

 

 

If you find the solution useful please mark my post as a solution!
In doing so, you are also helping me. Thank you!

Mintu Baruah

Portrek
Resolver III
Resolver III

Hi.

 

In Power query select your first column and choose the option Unpivot Other Columns

 

Power-BI-Unpivot-Column-730x257.png

 

Best regards.

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors