Complete the code to create a decomposition tree visual in Power BI.
DecompositionTree = [1]()The correct visual object name in Power BI for decomposition tree is DecompositionTree.
Complete the code to add a measure as the analysis field in the decomposition tree.
DecompositionTree.AnalysisField = [1]The measure SalesAmount is commonly used as the analysis field in decomposition trees to show sales values.
Fix the error in the DAX formula to calculate the total sales for the decomposition tree.
TotalSales = CALCULATE(SUM(Sales[[1]]))The correct column name inside the Sales table is Amount. The formula sums the Amount column.
Fill both blanks to filter the decomposition tree to only show data for the year 2023.
FILTER(Sales, Sales[[1]] = [2])
The filter uses the Year column and the value 2023 to show only that year's data.
Fill all three blanks to create a decomposition tree that breaks down sales by Region and then by Product Category.
DecompositionTree.AddBreakdown([1]) DecompositionTree.AddBreakdown([2]) DecompositionTree.AnalysisField = [3]
The breakdowns are first by Region then by ProductCategory. The analysis field is the SalesAmount measure.