Customer Banners (Ads) - SpiceUp. AX and SpotfireX Disclaimer



If you find this site useful and you want to support, buy me a coffee   to keep this site alive and without ads.

Count number of rows

#count number of rows

#total row count
myTable = Document.ActiveDataTableReference
total = myTable.RowCount

#filtered rows
visible = Document.ActiveFilteringSelectionReference.GetSelection(myTable).IncludedRowCount

#excluded rows
filtered = total - visible


print myTable.Name," total: ",total," visible:",visible, " filtered:",filtered


No comments: