Skip to Content
author's profile photo Former Member
Former Member

How to avoid blank values while calculating Count on calmonth

Hi Gurus,

I am facing an issue in my current report i want to calculate count for calmonth but i need to avoid blank values i.e need to display count for the months for the values avaliable.

see the below example:

jan2013 Feb2013 Mar2013 Apr2013 May2013 June2013

Savings 1000 3000

As per above example if we apply count(calmonth) by default it returns 6.

But my requirement is if we applied count it should return only 2 because savings have only two values for two months

I tried this formula =Count([Calmonth]) where([savings>0) but it returns 6 only.

Please throw some light on the issue

Any help would be appreciatable.

Thanks In advance.

Regards,

Mahesh.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2014 at 11:09 PM

    hi,

    when checkin for null values, keep in mind that , at report side , null is greater than anything.

    Try this instead : =Count([Calmonth] where(Not(IsNull([savings]))))

    CHeers,

    ROgerio

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.