// For complete examples and data files, please go to https://github.com/aspose-slides/Aspose.Cells-for-Cloud String fileName = "Book1.xlsx"; String sheetName = "Sheet1"; String storage = null; String folder = null; try { StorageApi storageApi = new StorageApi(Configuration.apiKey, Configuration.appSID, true); // Instantiate Aspose Words API SDK CellsApi cellsApi = new CellsApi(Configuration.apiKey, Configuration.appSID, true); // Upload source file to aspose cloud storage Path inputFile = Utils.getPath(DeleteFilterForFilterColumnExample.class, "Sample.xlsx"); storageApi.PutCreate(fileName, "", "", inputFile.toFile()); // Invoke Aspose.Cells Cloud SDK API to get worksheet autofilter SaaSposeResponse apiResponse = cellsApi.PutWorksheetCustomFilter(fileName, sheetName, "range=A1:B1&fieldIndex=0&operatorType1=LessOrEqual&criteria1=1", storage, folder); if (apiResponse != null && apiResponse.getStatus().equals("Ok")) { System.out.println("Get worksheet autofilter, Done!"); } } catch (Exception ex) { ex.printStackTrace(); }