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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Matrix values in new rows

Hello,

 

I have the following matrix:

errada.png

 

But I want something like this:

 

certa.png

 

Forget about the colors, I just want "Receitas"  to becomes a new row instead to be side by side with the "Despesas" row.

 

My data is organized with the following way:

 

Tables:  

 

 

|  Data/Date   |                     |  Despesas/Profits  |                   | Receitas/Revenues | 

 --------------                          ------------------                        --------------------    

|  mês/month |                     |   VRTOTAL/Value  |                    |    VRTOTAL/Value   |

                                            |      mês/month     |                    |      mês/month       |

                                            |    Valor_Sring¹      |                    |     Valor_String¹      |

 

1 -- Valor_String is just a a string value containing the name of the table.

 

And these are my fields:

 

estrutura.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

To fix it, I create a new table named Result, and it contains the difference between Profit's VRTOTAL and Revenues' VRTOTAL, the date and added a new columns with 'Result' as value for all rows.

 

Then I created a new table like this:

 

|     NewTable     |

|     month          |

|     VRTOTAL      |

|     Valor_String |

 

In this new table, I appended all VRTOTAL, month and Valor_String from Profit, Revenues and Result. For example:

 

NewTable  --> |  month  |  VRTOTAL  |  Valor_String

                             01              100             'revenue'

                             10                30             'revenue'

                             10              100             'result'

                             01              -40             'result'

                             01                60             'profit'

                             10                50             'profit'

 

And finally, I added this table to a martrix.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

To fix it, I create a new table named Result, and it contains the difference between Profit's VRTOTAL and Revenues' VRTOTAL, the date and added a new columns with 'Result' as value for all rows.

 

Then I created a new table like this:

 

|     NewTable     |

|     month          |

|     VRTOTAL      |

|     Valor_String |

 

In this new table, I appended all VRTOTAL, month and Valor_String from Profit, Revenues and Result. For example:

 

NewTable  --> |  month  |  VRTOTAL  |  Valor_String

                             01              100             'revenue'

                             10                30             'revenue'

                             10              100             'result'

                             01              -40             'result'

                             01                60             'profit'

                             10                50             'profit'

 

And finally, I added this table to a martrix.

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

I don't think there is an easy way to do it currently. Here is a similar idea which requests option to show Matrix Measures or Values on Rows instead of Columns on Power BI Ideas. You can vote it up and add your comments there to improve Power BI on this feature.Smiley Happy

 

Regards

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.