Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

How to Transpose the data in a matrix control

I have a matrix control in Power BI showing like the table below with the name in the rows on the left. The Total column is a "calculated column" not a subtotal created by the control.

 

NameSales PurchasesTotal
Multi Manager500200700
High Income Growth300400700
Growth & Income 100300400
Next Generation300300600

 

I would like to flip the table by transposing the matrix so that the name in the rows above are now shown in the columnss at the top and the numbers go across instead of downwards like in the table below.

 

NameMulti ManagerHigh Income GrowthGrowth & Income Next Generation
Sales 500300100300
Purchases200400300300
Total700700400600
  • Note that the sort order is now borked - that is something you need to handle separately, via a sort column.

3 Replies

  • Note that the sort order is now borked - that is something you need to handle separately, via a sort column.

  • Anonymous's avatar
    Anonymous
    Not applicable

    How wer you able to do this please? Under what format group do you find the Switch values to rows option?

    • lbendlin's avatar
      lbendlin
      Icon for Super User rankSuper User

      In the values section.

      You can always use the search box to hunt for settings.