Displaying an Empty Value by Default in a Date Widget

  • Last update:June 12, 2025
  • Overview

    Version

    Report Server Version
    Functional Change

    11.0

    /

    Expected Effect

    When you add a date widget in a report, the widget displays the current date by default. You want to display the empty value by default in a date widget. Namely, you want to display no date at all by default, as shown in the following figure.

    1.png

    Implementation Method

    You can realize the effect by modifying the type of the widget value.

    Procedure

    Date Widget Adding

    Create a general report, and add a date widget on the parameter panel. The date widget displays the current date by default, as shown in the following figure.

    2.png

    Method One

    Modify the type of Widget Value to Formula, and enter "" in the input box of Formula, as shown in the following figure.

    3.png

    Method Two

    Modify the type of Widget Value to Field, as shown in the following figure. In this case, you just need to select Field as the type of Widget Value and do not need to select any field.

    4.png

    Effect Display

    PC

    The effect is the same as that shown in section "Expected Effect."

    Mobile Terminal

    The following figure shows the preview effect on the DataAnalyst app and the HTML5 terminal.

    移动端.jpg


    Attachment List


    Theme: Parameter
    • 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