We help IT Professionals succeed at work.

SQL Reporting hide null data

bkpierce
bkpierce asked
on
635 Views
Last Modified: 2012-05-09
We have a SQL report (screen shot below) that shows various statistics from projects. It's showing a lot of NULL data. What's the best way to hide that? Can it be done with an IIF expression? I cannot change the select statement, I can only modify the data from BIDS.
PVR.jpg
Comment
Watch Question

Seems to me you should be able to add a where clause something like:

Where Estimated_Hours is not null
         

Author

Commented:
I added in a IS NOT NULL and it's still showing the data?

Author

Commented:
correction not data, but blank cells in the table.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
if there's a group by add (after the group by
Having isNull(sum(Estimated_hours),0)  > 0

Author

Commented:
That worked, thanks for your help.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.