Adding a Parameter to a Formula

Posted on 2011-10-12
Last Modified: 2012-06-21
Good morning!

In a nutshell, I need to create a formula where the user identifies the date range and if there is a donation within that date range, then return the value of the donation.

I have created a parameter, ?Asks as of   - this identifies a date range for the user to enter.
How do I combine the two in a formula?  

If ?Asks as of  then donation amount ? - I am missing something in the syntax here but can't think of it!

Thank you very much in advance,
Question by:rporter45
    LVL 19

    Accepted Solution

    It would be something like this

    If {table,donation_date} in {?Asks as of] Then {table.donation_amount}
    LVL 77

    Expert Comment

    (No points) with typos corrected should be ...

    If {table.donation_date} in {?Asks as of} Then {table.donation_amount}

    Author Closing Comment

    Thanks very much! It works now!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
    I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now