Can anyone help me with my requirement below?

If Debit is not equal to Credit, I want the data to show. But if Debit and Credit is now balance, no data should show. I have no luck with the having clause. Thanks in advance.

Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 5, 2017, 12:54 AM EDT
Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 5, 2017, 12:14 AM EDT
Jes SieRank #1,285 · 1.3K reputationPosted Apr 5, 2017, 12:47 AM EDT
Piyush Pansuriya, thanks for your reply. I tried your suggestion but regardless if balance or not, it shows all the data. Please see attached photo.
Jes SieRank #1,285 · 1.3K reputationPosted Apr 5, 2017, 1:11 AM EDT
Piyush Pansuriya, thanks. Got it already