RDLC / RDL report - How to determine last row in Tablix/Table
we need to use Count() and RowNumber() functions to check the last row
Count() function returns total number of given dataset.
RowNumber() function returns current row number
Finally,
= iif (COUNT(Fields!EntityID.Value,"DatasetName") = RowNumber("DatasetName"), "Solid","Default")
Click the cell in the table row and select the bottom expression
Result: first column is showing bottom line with each cell but second column is only showing column with the last cell.
Count() function returns total number of given dataset.
RowNumber() function returns current row number
Finally,
= iif (COUNT(Fields!EntityID.Value,"DatasetName") = RowNumber("DatasetName"), "Solid","Default")
Click the cell in the table row and select the bottom expression
Bottom expression
Comments
The article was nice. However, is there any way to dtermine the last row in a page, rather than the last row in the entire result?
Thanks in advance,
Asif