Row Header Format is Bold when no children exist

cpv

New Member
Joined
Nov 16, 2010
Messages
4
I am using a calculated column showing the level of an account and several measures to allow children to show only when necessary. However I noticed one thing - Excel Power Pivot treats all row labels within a group as row headers (bold) even though not all have children. In my mind this would be a bug, but I know that Excel does not do well with "ragged hierarchies" or hierarchies in general.

Exhibit A: normal format for 50001. 51800, 52300

exhibit_a.png


Exhibit B: 50001 is the only account that has a subaccount, yet 50001, 51800, and 52300 are all treated by Excel as row headers, meaning that it thinks that 51800 and 52300 have subaccounts (yet they don't)

exhibit_b.png



The Measure for each column contains:
VAR Val = [Measure]
VAR AccountShowRow = [[DAXP]] AccountBrowseDepth]<=[[DAXP]] AccountRowDepth]
VAR Result =
IF ( AccountShowRow, Val )
RETURN
Result

The formula itself works as expected, however the treatment of a parent with no child as a row header, does not.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,817
Messages
6,181,144
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