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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors