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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Thorsten_P
Regular Visitor

Matrix Visual with calculated lines

Hello, I am an enthusiastic user of PowerBI. I have a challenge. I hope you can help me.

I have a table with this structure.

 

TABLE                  

Products             Value    Top

Product A            200         Top1

Product B            300         Top1

Product B            400         Top2

Product C            100         Top3

Produkt D           500         Top4


I would like to create a visual matrix. In the matrix I want to calculate more rows (like 'sum' in row 5).

 

VISUAL                                               

                                       Product A          Product B             Product C            Product D

Top1                                         200                   300                       

Top2                                                                  400                        

Top3                                                                                              100            

Top4                                                                                                                           500

sum(Top1,Top2)                       200                    700                        0                            0

sum(Top3,Top4)                           0                        0                   100                         500

sum(Top1,Top2)*1,05               210                    735                       0                             0

 

Is this possible?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Create measures for all of your "rows" , then put the measures into the values well and switch values to "Switch values to rows".

 

lbendlin_0-1673141579716.png

See attached

View solution in original post

2 REPLIES 2
Thorsten_P
Regular Visitor

Thank you very much. It works.

lbendlin
Super User
Super User

Create measures for all of your "rows" , then put the measures into the values well and switch values to "Switch values to rows".

 

lbendlin_0-1673141579716.png

See attached

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.