Complete the code to create a funnel chart visual in Power BI by specifying the correct field for the stages.
FunnelChart = FunnelChartVisual(StageField = [1])The funnel chart requires a field that represents the stages of the funnel, such as 'SalesStage'.
Complete the DAX measure to calculate the total sales amount for the funnel chart.
TotalSales = CALCULATE(SUM([1]))The measure sums the 'SalesAmount' field to show total sales in the funnel chart.
Fix the error in the DAX formula to calculate the conversion rate between funnel stages.
ConversionRate = DIVIDE(SUM(Sales[SalesAmount]), [1])The denominator should be the sum of sales amount from the previous stage to calculate conversion rate correctly.
Fill both blanks to create a filter that shows only funnel stages with sales above 1000.
FILTER(Sales, Sales[SalesAmount] [1] 1000 && Sales[[2]] <> "")
The filter keeps sales amounts greater than 1000 and ensures the stage field is not empty.
Fill all three blanks to create a calculated table summarizing sales by funnel stage and sorting by sales descending.
SummaryTable = SUMMARIZE(Sales, Sales[[1]], "TotalSales", SUM(Sales[[2]])) SummaryTableSorted = SORTBY(SummaryTable, SummaryTable[[3]], DESC)
The table groups by 'SalesStage', sums 'SalesAmount', and sorts by the calculated 'TotalSales' column descending.