CLEAN_WIDGET (Only for DEF-Class Functions)

  • Last update:  2024-07-01
  • 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.

    /

     


    Attachment List


    Theme: Advanced Data Analysis
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    9s后关闭

    反馈已提交

    网络繁忙