Forum Discussion
PaddyHS
3 years agoFrequent Visitor
Show only values at the second level down in a matrix
I have a Matrix with rows based on a Division > Cost Center Hierarchy (Engineering and Finance are at the Division Level). I would like to show the SEC Class value on the right ...
hnguy71
Super User
3 years agoHi PaddyHS ,
In this case you would use a function called ISINSCOPE to check. You'll use it against your second level.
VAR _InScope = ISINSCOPE(YOUR_TABLE[Cost Center])
RETURN
IF( _InScope, SUM(YOUR_TABLE[Value]) )
PaddyHS
3 years agoFrequent Visitor
This script throws the visual off. Could it be that you're summing a categorical variable with the SEC Class field? I just want to display whatever value is associated with the respective cost center with the Division level remaining blank.