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

Adding custom row sums to table

Hi All,

 

I am in the in the process of changing from BI tool Targit to Power BI. I have built a tabular model on top of

my existing data warehouse and I am now creating all my reports in Power BI that I used to have in Targit.

I am using Visual Studio and sql server 2019 (compatability level 1500).

 

I have an account plan that looks like this in Targit:

LasseAHoei_0-1614608381808.png

You will notice in the bottom I have some custom members which has been created in OLAP model. 

 

In PowerBI it looks like this:

LasseAHoei_1-1614608460616.png

 

I am looking for a way to create those custom members in Power BI as well.

Gross Profit for instance is the sum of 00 Revenue and 01 Voyage Expenses.

I can easily calculate it but I need it integrated into the table so I could make a report looking something like below

with the custom members integrated.

 

LasseAHoei_2-1614608668326.png

 

Hope you guys have some great ideas

 

Brgds,

Lasse

 

 

 

2 REPLIES 2
LasseAHoei
Frequent Visitor

Hi Amit,

 

I was just wondering if there were a similar function in DAX, as custom members in MDX.

When I connect Power BI to my old OLAP cube it cannot show the custom members it just adds

a field called unknown, so that will definitely not work.

It would be preferable if I could have solved this in the data model rather than the visual but it seems

the way to go now is to find a visual where I can add custom sub totals, as suggested in one of the links.

 

 

amitchandak
Super User
Super User

@LasseAHoei , I am assuming you have few rows values(column used in the row of the matrix), and below you want to add some custom formula. I doubt direct way. You might have to create a custom table

 

refer if this blog can help you a bit

https://community.powerbi.com/t5/Desktop/Traditional-Financial-Statements/td-p/7223

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.