| Quintiq file version 2.0 | 
| #parent: #root | 
| Method FilterDataOnSelectedKpis () id:Method_FormKpiSnapshots_FilterDataOnSelectedKpis | 
| { | 
|   #keys: '[146450.2.1080103844]' | 
|   Body: | 
|   [* | 
|     // Sets the filter on the KpiValues list to match the selected KPIs and the  | 
|     // LastSnapshotOnly checkbox. | 
|      | 
|     filter := GlobalStateKpiTracker.FilterDataOnSelectedKpis( DataHolderKpiSelection.Data(), | 
|                                                               DataHolderSeriesSelection.Data(), | 
|                                                               CheckboxLastSnapshots.Checked() ); | 
|      | 
|     DataSetLevelKpiValues.FixedFilter( filter ); | 
|   *] | 
| } |