How to filter rows with null values in any of its columns in SSRS

后端 未结 3 911
无人共我
无人共我 2020-12-31 02:26

I want to filter out the output without rows containing null values or blank columns. I am using Sql server 2012 there is no option named \'Blank\' as in SS

3条回答
  •  生来不讨喜
    2020-12-31 03:17

    • Pull up the tablix or group properties
    • Switch to "Filters"
    • Add a new filter
    • Set the expression to:

      =IsNothing(Fields!YourFieldHere.Value)

    • Set the type to "Boolean" (see screenshot below) otherwise you'll get a "cannot compare data of types boolean and string" error.

    • Set the value to false

    screenshot of grouping dialog, higlighting expression type setting

    This works for filtering both rows and groups.

提交回复
热议问题