Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Apply Logic in Parameters

  1. #1
    Join Date
    Jan 2017
    Posts
    1

    Default Apply Logic in Parameters

    Hi,
    I'm new to Pentaho Reporting and thus coming with a very basic question. I have two dates FromDate and ToDate as parameters for my report. I want my FromDate to be <= ToDate else report should not run, as a filter logic. Please Help

  2. #2
    Join Date
    May 2016
    Posts
    280

    Default

    I'm not getting exactly your problem. Normally your query won't return information if FromDate>ToDate. If it's returning information, then you can add a condition in your query so you force it to not return any data. If the problem is that you want a different message to warn the user the dates are not correctly chosen, you can personalize your NoData message so it displays a message warning about the incorrectly set dates.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.