Jump to content

xiudeng

Members
  • Posts

    6
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Posts posted by xiudeng

  1. Yes, it is an input control that pops up to run the report.  I created a parameter called from_date and I want it shows yesterday's date when the input control pops up.  Of course I can change it to any date if I want. 

    Here is what I did:  I right click on the from_date parameter and then select "Edit",  so the "Add/modify parameter" dialog box appears.  Than I choose  "java.util.Date" for  "Parameter Class Type" and  put "new Date(new Date().getTime()-1000*60*60*24)" in "Default Value Expression" section.

    I found that no matter what I put in the "Default Value Expression" section, even left it blank, the default pop up value is always today's date.

  2. I am trying to set default date as yesterday's date for a Date parameter, which is a java.util.Date type.  I put the following expression in the "Default Value Expression" section:

    new Date((new Date()).getTime()-24*60*60*1000)

    But I still got today"s date as default value.  Any ideas?

    Thanks,

    Sue

     

  3. A group of my users want to extract the data from my Analysis Views into Excel file and then input them for other programs. So they prefer simple Excel files with minimal formatting. For example, no merged cells for the column headings, no color shading of cells, and no boldface text. They also don’t want the lines that read "Dimensions†and "Measures". How can I remove the formats?

     

    Thanks.

×
×
  • Create New...