Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Grouping to eliminate null

Grouping to eliminate null

Scheduled Pinned Locked Moved Database
databasehelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    member27
    wrote on last edited by
    #1

    Hi all, Iam using Sql reporting services .iam having a field Invoicereq in one table.I want to group only the invoicereq="y" and get the result.. I have given the group field as invoicereq="y" in reporting services and got the result but i am getting a null value along with it . (totally only one row but the result produce is 2 rows (one row null)) how to eliminate nuull values? in where condition i cant use the invoicereq="y" option because i want all th rows from tat table but group tat separate can anyone help me?

    E 1 Reply Last reply
    0
    • M member27

      Hi all, Iam using Sql reporting services .iam having a field Invoicereq in one table.I want to group only the invoicereq="y" and get the result.. I have given the group field as invoicereq="y" in reporting services and got the result but i am getting a null value along with it . (totally only one row but the result produce is 2 rows (one row null)) how to eliminate nuull values? in where condition i cant use the invoicereq="y" option because i want all th rows from tat table but group tat separate can anyone help me?

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      Exclude the null records from your query using where table.column is not null Another option, if you want the nulls returned is isnull(table.column, 'null') To which you could then report on.

      Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
      If you don't ask questions the answers won't stand in your way.
      Most of this sig is for Google, not ego.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups