Forum Discussion
Instead of .childreninclusive use .TreeDescendantsInclusive. This leaves the member hierarchy intact unless you have a .remove or custom member formula or something in there.
- sukensheth2 years agoNew Contributor
Yes, I used .TreeDescendantsInclusive but need more indentation on the descendants
- rjgoss2 years agoNew Contributor III
How are you viewing the cube view? In the Windows app, Excel or report/pdf? Unfortunately, it doesn't seem to like putting IndentLevel as a conditional formatting property to view in the Windows app. But it does work if you are viewing in Excel with something like the below.
The row will have (for examaple) A#Your_Member_Name_Here.ChildrenInclusive.
The conditional formatting would be:
If (MemberName <> 'Your_Member_Name_Here') Then
ExcelIndentLevel = 5
End IfNot the most elegant solution if you have tons of rows or the member names on the rows are going to change often, but you could substitute parameters in for the hard coded members. You'll have to weigh the effort versus the impact.
Related Content
- 5 months ago
- 5 months ago
- 6 months ago
- 3 months ago