decomposition tree
2 TopicsHow do I set the correct colour in the decomposition tree?
Hello, I have a question regarding the colour in a decomposition tree. I would like to create a KPI tree that should show me in colour whether I have reached the target (bar should be green) or not (bar should be red). I have created an extra variable for this, which looks like this: Color = VAR SumValue = LOG_Kosten_nach_Produkten[Gesamtkosten] VAR Target = LOG_Kosten_nach_Produkten[TargetValue] RETURN SWITCH( TRUE(), SumValue > Target, "Red", SumValue < Target, "Green", SumValue = Target, "Yellow" ) Now I have taken the field value from the variable Color for the colour in my tree. (Analysis tree -> Conditional formatting -> Colour for data bar -> Field value -> Color) Unfortunately, the correct colour is only ever displayed in the child node (rightmost node). As soon as I expand other nodes, the colour of the parent node changes to the wrong colour. If I now display all relevant variables in a table, the correct colour is displayed , even if I select a specific path in the tree (see picture). What could be the reason that the tree displays the colours in the parent nodes incorrectly? The picture shows again what the problem is. I have selected LOM 2 by double-clicking in the tree. The values "Gesamtkosten" and "TargetValue" are the same, but the colour red is displayed in the tree. In the table above, the values are the same as in the tree (also the same) and the correct colour is displayed (yellow). Why is the colour red displayed in the tree, although the values are the same and according to the logic the colour should be yellow? Thank you for your help.Solved1.7KViews0likes2CommentsMeasure not changing value with decomposition tree
Hello, I need some help. I have a measure which is calculated as Realization = DIVIDE([Net Revenue],[Production]) The above two factors contributing to Realization are caluclated as Net Revenue = [Production]+[Variance]+SUM('star factWIPProvision'[Amount]) Production = SUMX('star factWIP',IF(ISBLANK('star factWIP'[TimeProduction]),0,'star factWIP'[TimeProduction])+IF(ISBLANK('star factWIP'[ExpenseProduction]),0,'star factWIP'[ExpenseProduction])+IF(ISBLANK('star factWIP'[JobTypeAllocationProduction]),0,'star factWIP'[JobTypeAllocationProduction])) The Variance is Calculated as Variance = SUM('star factWIP'[WriteUpDownAmount]) Now my question is I am using a decomposition tree to see the realization value across different hierarchy but the value doesnt change, its showing same across all hierarchy951Views0likes3Comments