Only show Subtotal and not the detail within rows (Powerpivot)

Reiss

New Member
Joined
Jan 9, 2019
Messages
10
Hi,

Is it possible to create a measure that will only be used as a sub-total.

I have a field in my table called "Present", the data for this is allocated to the top row for the daily records.When this is pivoted all I want to show is the sub-total and not the detail for that particular row.

My data is structured below in a pivot table format. I would like to only show the 63 as a Total and not the red 63 detail.

I am not looking to use conditional formatting as it is unreliable, I tried using sumx but wasn't successful.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Dept[/TD]
[TD]Name[/TD]
[TD]Activity[/TD]
[TD]Eff%[/TD]
[TD]Present[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Name1[/TD]
[TD]Actvity1[/TD]
[TD]25%[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Name2[/TD]
[TD]Activity2[/TD]
[TD]15%[/TD]
[TD]63[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]Name Total[/TD]
[TD][/TD]
[TD]40%[/TD]
[TD]63[/TD]
[/TR]
[TR]
[TD]ABC TOTAL[/TD]
[TD][/TD]
[TD][/TD]
[TD]40%[/TD]
[TD]63[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,817
Messages
6,181,149
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top