Reputation: 89
I need help trying to hide a row in ssrs 2005 ive tried select distinct and putting an
=iif(Previous(Fields!food.Value) = Fields!food.Value,Nothing,Fields!food.Value)
my table is a lot bigger than this but just an example
Food dish type Damaged
Italian soup A 4
Pizza Supreme B 13
Pizza Supreme B 12
Spaghetti C 10
and I want Pizza supreme line 2 to be hidden Thanks
Upvotes: 1
Views: 1847
Reputation: 39566
To hide rows you need to set the Row Visibility based on an expression using Previous
.
With your data:
I have a simple table:
I have set the Row Visibility to be expression based:
=IIf(Previous(Fields!food.Value) = Fields!food.Value, true, false)
This hides the row as required:
Upvotes: 3