Weekly report

  • Last update:  2021-10-27
  • I. Overview

    If there is a column of date-type data in the database, and you want to enter a certain date, the data of the current date can be queried, that is, the weekly report query, as shown in the figure below, how to achieve this?  

     0.jpg

    II. Example 

    1) Opening the template  

    2) Parameter settings  

    Delete the original report parameter and add a new report parameter named Date As follows:  

     1.jpg

    Add the Date parameter to the parameter panel. The Date widget type is Date and the return type is the default string.  The parameter settings are as follows:  

    2.jpg

     3) Setting filter conditions  

    Delete the filter condition of the original A2 cell, and then set the filter condition for A2 cell again. Select the formula at the condition, as shown in the figure below:  

    3.jpg

    The first formula:DateInWeek ($Date,1) returns the first day of the query week.  

    The second formula:$dateInWeek($Date,-1) returns the last day of the query week.  

    III. Save the preview  

    Save the template, click Pagination Preview, select a date and query only the data of the week of the date, as shown in the image above.  

    For details, see the template:%FR_HOME%\webroot\WEB-INF\reportlets\doc-EN\Parameter\Weekly_report.cpt

    Attachment List


    Theme: Parameter
    Already the First
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy