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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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