You need to set the row Row Visibility to be expression-based using the Previous
function, not the Textbox expression.
Say you have a simple Dataset, and a simple Table based on this:
The expression is the same as the expression in your question.
This gives the blank row you're seeing:
As above, you need to set the Row Visibility to be expression-based:
In my example the expression is:
=IIF(Fields!GPIDrugGroupName.Value = Previous(Fields!GPIDrugGroupName.Value)
, True
, False)
Which now gives what I think is the required result:
The other consequence is that you can remove the expression from the Textbox and just reference the field directly.