await dashboard.applyFilterAsync(
  'State Name', 
  ['Pennsylvania'],
  FilterUpdateType.Replace 
);