12-12-2022 11:23 AM - last edited on 05-24-2023 12:23 PM by JackLacava
Hi community,
refering to the solved request in the link:
Is it also possible to get a drill down here? That doesn´t work with the described UD8 anymore.
Thanks.
Solved! Go to Solution.
12-13-2022 02:31 AM
You'll have to specify a formula for drilldown, see the section "Formulas for Calculation Drill Down" in the Design and Reference Guide. The example below shows an option to determine what to look at (switching on storage type of the cell), you don't necessarily need to do it this way - what matters is that you call the result.SourceDataCells.Add() method to point the system in the direction of the intersections you want to list in the interface.
Dim result As New DrillDownFormulaResult()
If args.DrillDownArgs.RequestedDataCell.CellStatus.StorageType = _
DataCellStorageType.Calculation Then
‘Use this to drill down to data that was copied using a Scenario Formula.
result.Explanation = “Formula Definition: Actual = Budget”
result.SourceDataCells.Add(“Cb#Houston:E#Houston:S#Actual”)
Else If args.DrillDownArgs.RequestedDataCell.CellStatus.StorageType = _
DataCellStorageType.Input Then
‘Use this to drill down to data that was copied using Data Management.
result.Explanation = “Data Management Defintion: Actual = Budget”
result.SourceDataCells.Add(“Cb#Houston:E#Houston:S#Actual”)
End If
Return Result
12-13-2022 02:31 AM
You'll have to specify a formula for drilldown, see the section "Formulas for Calculation Drill Down" in the Design and Reference Guide. The example below shows an option to determine what to look at (switching on storage type of the cell), you don't necessarily need to do it this way - what matters is that you call the result.SourceDataCells.Add() method to point the system in the direction of the intersections you want to list in the interface.
Dim result As New DrillDownFormulaResult()
If args.DrillDownArgs.RequestedDataCell.CellStatus.StorageType = _
DataCellStorageType.Calculation Then
‘Use this to drill down to data that was copied using a Scenario Formula.
result.Explanation = “Formula Definition: Actual = Budget”
result.SourceDataCells.Add(“Cb#Houston:E#Houston:S#Actual”)
Else If args.DrillDownArgs.RequestedDataCell.CellStatus.StorageType = _
DataCellStorageType.Input Then
‘Use this to drill down to data that was copied using Data Management.
result.Explanation = “Data Management Defintion: Actual = Budget”
result.SourceDataCells.Add(“Cb#Houston:E#Houston:S#Actual”)
End If
Return Result
12-13-2022 04:21 AM
Hi Jack,
Thank you. With this I´ve found the solution for this specific U8 member:
Dim result As New DrillDownFormulaResult
result.SourceDataCells.Add("U8#None")
Return Result