CLEAN_WIDGET (Only for DEF-Class Functions)

  • Last update:July 01, 2024
  • Overview


    Syntax

    CLEAN_WIDGET(Field 1,Field 2,Field   3....)

    /CLEAN_WIDGET("ALL")

    Function used to ignore the filtering effects generated in the component by the specified fields during the calculation of the current analysis function.

              Parameter

    Field 1,Field 2,Field 3....

    Fields that generate the filtering effects to be ignored.

    • Dimension/indicator fields of any types (including calculation fields) are supported.

    • If "ALL" is specified in CLEAN_WIDGET, the system clears the filtering effects generated in the component by all fields during the calculation of the current analysis function.

    • Default field values are not supported.


    Notes

    This function can only be used in DEF/DEF_ADD/DEF_SUN as a standalone filtering condition.

    Difference with the CLEAN Function

    Calculation Range

    The main difference lies in the range of filtering effects to be ignored. CLEAN_WIDGET clears only the filtering effects generated in the component and does not clear the filtering effects in the dashboard.

    RangeField FilteringCLEAN_WIDGET (Field 1,Field 2,Field   3....)CLEAN_WIDGET   ("ALL")

    Component

    • Filter

    • Drilling

    Field filtering effects are ignored.

    The filtering effects generated by all fields in the analysis function are ignored.

    Dashboard

    • Linkage

    • Jump

    • Filter Component

    Filtering effects are generated normally.

    Filtering effects are generated normally.

    Calculation Logic in DEF

    The calculation logic in DEF is the same as that in CLEAN.

    Example

    Formula
    ResultRemarks

    DEF(SUM_AGG(Indicator),[Province,City],[CLEAN_WIDGET(City)])

    The filtering effects generated by the City field are ignored during the DEF calculation.

    /

    DEF_ADD(SUM_AGG(),[],[CLEAN_WIDGET("ALL")])

    All filtering effects in the component are ignored during the DEF_ADD calculation.

    /

     


    附件列表


    主题: Advanced Data Analyis
    Previous
    Next
    • 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