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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Thorsten_P
New Member

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
New Member

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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