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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
JulietZhu
Helper IV
Helper IV

Transpose row and column in visualization table

I have visualization table from different tables. which you can see below.

 

3.PNG

 

But I need switch row and columns in order to plot 100% stack column chart based on payer name. Since 

it is not physical table exsiting, I can't do transpose table or pivot table. Please give some suggestion and clue. Thanks

 

 

4.PNG

 

Dummy data: 

https://1drv.ms/u/s!AlYpYKwSuOKxhFCytsL0nAuDszJ2

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JulietZhu,

 

You can take a look at following link to know how to use relationship keys to merge tables, then do 'unpivot columns' on merge new table.

Combine data from multiple data sources (Power Query)

Merge Tables 

 

Regards,

Xiaoxin Sheng

View solution in original post

5 REPLIES 5
Luiggo07
Frequent Visitor

Just change the Table visual for a Matrix, there you have an option to switch values.

JulietZhu
Helper IV
Helper IV

Can anyboday give  clue?  Thanks

Anonymous
Not applicable

Hi @JulietZhu,

 

Current data view side not contains feature to transpose row/columns.

I'd like to suggest you enter to query editor to use unpivot column feature to transform your tables. 

Unpivot Data Using Excel Power Query

 

Regards,

Xiaoxin Sheng

@Anonymous I don't have phyiscal data or table. How can I use pivot or unpivot features? Thanks

Anonymous
Not applicable

Hi @JulietZhu,

 

You can take a look at following link to know how to use relationship keys to merge tables, then do 'unpivot columns' on merge new table.

Combine data from multiple data sources (Power Query)

Merge Tables 

 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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