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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Muthuramalingam
Frequent Visitor

Regarding Dimensional Table

We are using the variance chart to show the profit and loss statement on year on year basis with a financial chart of accounts. The dimension table is made in an excel sheet. We have used two hierarchies namely the first hierarchy represents the total amount, and the second hierarchy represents the line items (lower node). To calculate gross profit (Net sales-cost of sales), we have to add again Net sales and cost of sales line items in gross profit in the dimension table.
While using this dimensional table in the variance chart the entire line items of net sales and cost of sales again appear in gross profit. However, we need to show the Gross profit as a "subtotal" being the result of the value of net sales and cost of sales, and don't need to show the line items below the Gross profit.


I would like to show subtotals(KPI) of profit and loss statements such as gross profit, operating income, etc in the default matrix chart

The dimensional table is made in the excel sheet when I try to add the dim table the entire line item of the p&l including the KPIs is shown, without any option to add subtotals
I have attached the sample pbix file and dimensional table. if anyone can help me with how to show subtotals in the default matrix chart it would be helpful

 

 

https://docs.google.com/spreadsheets/d/1A3da7TVDD5usw41S8fsWfnpj2EaxWg3R/edit#gid=349591095 - sample excel file

Image.PNG

3 REPLIES 3
Anonymous
Not applicable

Hi @Muthuramalingam ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it.

Or if you are still confused about it, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Best Regards,
Eyelyn Qin

Hi 

 

The issue is not yet solved. We tried the solutions but we didn't meet our requirements. I will share my pbix file 

Anonymous
Not applicable

Hi @Muthuramalingam ,

 

If you want to change the row sub-total in matrix, you could try ISINSCOPE():

Measure = IF(ISINSCOPE('Table'[Sub-type]),SUM('Table'[Value]),0)

Eyelyn9_0-1654566277245.png

Then you could replace 0 with your wanted measure.

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors