XLCubed is now FluenceXL. The new wiki can be found here: https://help.fluencexl.com/

Difference between revisions of "Level based formatting"

Line 40: Line 40:
  
 
==New syntax for XLCubed V8==
 
==New syntax for XLCubed V8==
As of the V8 release you can specify formats just for leaf members using the syntax
+
As of the [[Version 8]] release you can specify formats just for leaf members using the syntax
  
 
''LEVEL:LEAF'' or ''LEVEL:NOTLEAF''
 
''LEVEL:LEAF'' or ''LEVEL:NOTLEAF''
 +
 +
 +
==New syntax for XLCubed V9==
 +
As of the [[Version 9]] release you can specify formats for subtotals using the syntax
 +
 +
''LEVEL:SUBTOTAL''
 +
 +
[[Image:gridfmt_lvlsubtotal.PNG|350px|centre]]
  
 
[[Category:Grid Reporting]]
 
[[Category:Grid Reporting]]

Revision as of 11:16, 5 August 2016

XLCubed V6.5

From v6.5, you are able to format grid members depending on their level position in the cube structure. In the example below we have a grid report showing the measure, Reseller Sales Amount with Geography on columns and Product Model Categories on rows.

Lr1.png

We would like to apply some formatting on rows so that each level on the Product Model Categories hierarchy is displayed in a different shade of blue.

We want to display All Products level in dark blue and then all levels (Category, Subcategory and Model Name) in that hierarchy in lighter shades of blue. Make the changes to the XLCubedFormats sheet as below:

[Dimension].[Hierarchy1]: enter the dimension and hierarchy

[Member1 Name]: rather than a member name, here we need to specify a level name. We must put the asterisk (*) at the end of the level name to ensure that all members at that level are displayed in the desired format. We can check the full level name by selecting a member at that level, and then going to Grid Properties to check the MDX generated. We can also edit the hierarchy that we wish to format to confirm the hierarchy level names.


Lr6.png


Lr2.png


The report is formatted as below:


Lr4.png


Parent Child Dimensions

This method doesn't currently support parent child dimensions - as the member unique names don't contain the level name.

If you are using V7 or above you can use the new syntax described below.

New syntax for XLCubed V7

As of the V7 release you can enter the level number in the member name area using the syntax, LEVEL:Number, e.g.

LEVEL:3

New syntax for XLCubed V8

As of the Version 8 release you can specify formats just for leaf members using the syntax

LEVEL:LEAF or LEVEL:NOTLEAF


New syntax for XLCubed V9

As of the Version 9 release you can specify formats for subtotals using the syntax

LEVEL:SUBTOTAL

Gridfmt lvlsubtotal.PNG