Link to home
Start Free TrialLog in
Avatar of teknovation
teknovation

asked on

SSRS - how to hide a row?

So I tried to add a new field onto the SSRS report which is either a yes or no value.

I want to hide the row in the SSRS report if the value is NO, and show if the value is YES.

I added this to the row hidden expression and it won't do anything.

Can someone help?
iif(Field!ShowRow = "Yes", true, false)
ASKER CERTIFIED SOLUTION
Avatar of teknovation
teknovation

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keyurnpatel
keyurnpatel

Hi,

To do the same follow the below steps:

1. Right click on the row
2. Select Row Visibility
3. Select Show or Hide based on an expression
4. enter the expression as =IIF(Fields!ShowRow.Value = "Yes", FALSE, TRUE)
5. Preview the report

It will definitely work

Regards,
Keyur Patel