Forum Discussion
Drill down into different data
- Anonymous10 years ago
Hi addd123,
I assume that you refer to this similar thread to write the above formula, right? If that is the case, firstly, there are syntax errors in the formula, please change it to the following formula, replace the columns(Table1[Amount]) and Table1[DrillLevel]) with your own fields.ChangeInDrillDown = VAR AverageCalc = AVERAGE(Table1[Amount]) VAR SumCalc = SUM(Table1[Amount]) RETURN IF(ISFILTERED(Table1[DrillLevel]),SumCalc,AverageCalc)
Secondly, you can right click your table and choose “New Measure” to input the code.
Thirdly, create clustered column chart, drag your own fields into Axis and drag ChangeInDrillDown into Value. For more details, please check the example in the attached PBIX file.
Thanks,
Lydia Zhang
Hi addd123,
I assume that you refer to this similar thread to write the above formula, right? If that is the case, firstly, there are syntax errors in the formula, please change it to the following formula, replace the columns(Table1[Amount]) and Table1[DrillLevel]) with your own fields.
ChangeInDrillDown = VAR AverageCalc = AVERAGE(Table1[Amount]) VAR SumCalc = SUM(Table1[Amount]) RETURN IF(ISFILTERED(Table1[DrillLevel]),SumCalc,AverageCalc)
Secondly, you can right click your table and choose “New Measure” to input the code.
Thirdly, create clustered column chart, drag your own fields into Axis and drag ChangeInDrillDown into Value. For more details, please check the example in the attached PBIX file.
Thanks,
Lydia Zhang