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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Dimitris_Kats
Helper V
Helper V

Matrix with 2 columns

Hello dear members.

 

I am trying to add 2 columns on a matrix table but it doesn't seem possible.

 

The desire result is the following:
                                 IT                                HR                           SALES
                 INTERNAL EXTERNAL INTERNAL EXTERNAL INTERNAL EXTERNAL
Company1       11                5                12                1               2             4 
Company2       14               0                   9                1               3             5
Company3       13               1                   8                1              2              4

Thank you in advance for your time

1 ACCEPTED SOLUTION
Dimitris_Kats
Helper V
Helper V

Hello there.

I realized that I just had do to 2 measures:
Calculate(sum(table1[Headcount]), table1[Category] = "INTERNAL")
Calculate(sum(table1[Headcount]), table1[Category] = "EXTERNAL")

That's it hehe.

Thank you again

View solution in original post

3 REPLIES 3
Dimitris_Kats
Helper V
Helper V

Hello there.

I realized that I just had do to 2 measures:
Calculate(sum(table1[Headcount]), table1[Category] = "INTERNAL")
Calculate(sum(table1[Headcount]), table1[Category] = "EXTERNAL")

That's it hehe.

Thank you again

Anonymous
Not applicable

Hi @Dimitris_Kats,

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

croberts21
Continued Contributor
Continued Contributor

As far as PBI would see it, you have 7 columns in this matrix in your post. So your question is confusing. Which columns exist before adding the 2 columns? Which 2 columns do you want to add?

Can you post a link to a simplified spreadsheet with test data for us to work with? 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors