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
Yindiao
Frequent Visitor

Need Help - Customized Row in Matrix

Hi,

 

I have below Matrix and I want to add "Net Profit" under Main Account Group (Row field), Net Profilt = Revenue - Material Cost - Operational Expenses.

 

图片1.png

 

Could someone teach me how to do this please?

 

Thanks

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

HI, @Yindiao

    After my research, it does not support that add customized Rows or columns in the matrix for now.

But you can get the same effect by this way:

Add a measure for every column like these

Current Net Profilt = CALCULATE(SUM(Table1[Current]),Table1[Main Group]="1000")-CALCULATE(SUM(Table1[Current]),Table1[Main Group]="1900")-CALCULATE(SUM(Table1[Current]),Table1[Main Group]="2000")
6M Net Profilt = CALCULATE(SUM(Table1[6M]),Table1[Main Group]="1000")-CALCULATE(SUM(Table1[6M]),Table1[Main Group]="1900")-CALCULATE(SUM(Table1[6M]),Table1[Main Group]="2000")

then disable the Row subtotals and drag them into Card visual or other visual like this 

18.PNG

They can also influence each other.

 

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yindiao
Frequent Visitor

Hi, can someone help pls? Thanks

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.