Removes any rows from the table where every cell in that row is blank.
TableRemoveBlankRows(Table, Remove Blank Header)
Where:
Table is the Table to remove blank rows from.
Remove Blank Header (optional) is False, or omitted, to keep header row even if it is blank.
| Rule | Meaning | 
|---|---|
| TableRemoveBlankRows(DWGroupTableCustomers) | Will remove only the rows where every cell is blank. See Example Outcome 1 below. | 
| TableRemoveBlankRows(DWGroupTableCustomersBlankHeader, TRUE) | Will remove the rows and header where every cell is blank. See Example Outcome 2 below. | 
| TableRemoveBlankRows(DWGroupTableCustomers, FALSE) | Will remove only the rows where every cell is blank. See Example Outcome 1 below. | 
DWGroupTableCustomers
| CustomerName | City | Country | 
|---|---|---|
| Amazon Warriors | Paris | France | 
| Bolton Burners | [Blank] | United States | 
| [Blank] | [Blank] | [Blank] | 
| Cambridge Cats | Toulouse | France | 
DWGroupTableCustomersBlankHeader
| [Blank] | [Blank] | [Blank] | 
|---|---|---|
| Amazon Warriors | Paris | France | 
| Bolton Burners | [Blank] | United States | 
| [Blank] | [Blank] | [Blank] | 
| Cambridge Cats | Toulouse | France | 
For the rules:
TableRemoveBlankRows(DWGroupTableCustomers)
and
TableRemoveBlankRows(DWGroupTableCustomers, FALSE)
| CustomerName | City | Country | 
|---|---|---|
| Amazon Warriors | Paris | France | 
| Bolton Burners | [Blank] | United States | 
| Cambridge Cats | Toulouse | France | 
DriveWorks will return the table above as an array, which will look like:
| Table returned as an Array | 
|---|
| {"CustomerName","City","Country";"Amazon Warriors","Paris","France";"Bolton Burners","","United States";"Cambridge Cats","Toulouse","France"} | 
For the rule:
TableRemoveBlankRows(DWGroupTableCustomersBlankHeader, TRUE)
| Amazon Warriors | Paris | France | 
| Bolton Burners | [Blank] | United States | 
| Cambridge Cats | Toulouse | France | 
DriveWorks will return the table above as an array, which will look like:
| Table returned as an Array | 
|---|
| {"Amazon Warriors","Paris","France";"Bolton Burners","","United States";"Cambridge Cats","Toulouse","France"} |