1

My sql query is running fine but when I export the data to excel it gives warning : null value is eliminated by an aggregate or other SET operation. How to fix this issue?

2
  • 1
    If you could post your query we may have a better chance at answering. Commented Jun 9, 2016 at 7:49
  • Maybe you should post the query? How shall we know what you are trying to do if you just tell us that error message.. Commented Jun 9, 2016 at 7:49

1 Answer 1

4

Really it's just a warning indicating some aggregated data are NULLs. For example average of {10, null, 20} is (10+20)/2=15, null is totally ignored. If it's OK, just ignore the warning or set ansi_warnings off to turn it off. Otherwise check your data for NULLs or change the query accordingly.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.