web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Office Script (Excel O...
Power Automate
Unanswered

Office Script (Excel Online): Getting timeout on Apply Filter step

(0) ShareShare
ReportReport
Posted on by 21

Hi everyone, I'd like to know if there's a possible solution to this. I keep getting the error

 

Table getColumnByName: Timeout

on the Apply Filter step of the steps I recorded below. This is a 28 col x 16k+ row table and I'm unsure if it's the data volume that is causing the timeout. If so, what's a possible workaround to avoid the timeout? I need to filter the table because I need only the rows flagged TRUE (or if possible, just remove the ones flagged FALSE).

 

Code in question:

 

function main(workbook: ExcelScript.Workbook) {
	let selectedSheet = workbook.getActiveWorksheet();
	// Add a new table at range A:AB on selectedSheet
	let newTable = workbook.addTable(workbook.getActiveWorksheet().getRange("A1").getSurroundingRegion(), true);
	// Set range S2 on selectedSheet
	selectedSheet.getRange("S2").setFormulaLocal("=IF(COUNTIFS([Order No], [@[Order No]]) > 1, \"More than one\", \"only one\")");
	// Sort on table: newTable column index: '1'
	newTable.getSort().apply([{ key: 1, ascending: false }]);
	// Apply checked items filter on table newTable column Step
	newTable.getColumnByName("Step").getFilter().applyValuesFilter(["TRUE"]);
	
	...
}

 

 

Categories:
I have the same question (0)
  • bradt30h Profile Picture
    134 on at

    Hi, I am having the same problem, any ideas how to fix this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard