Inconsistency of Direct-Connected Data on Dashboard Editing and Preview Pages

  • Last update:  2024-02-23
  • Problem:

    Some fields with the same meaning in the database differ in terms of uppercase and lowercase letters, such as Alice and alice, as shown in the following figure.

     1.png

    When enabling Direct-Connected Data in FineBI and directly connecting to the database to create a dashboard for analysis, you may find that the content displayed on the editing page is inconsistent with that on the preview page. Specifically, it includes the following aspects.

    1. In the dashboard editing state, perform filtering for the field by selecting Alice from the drop-down list (excluding alice), as shown in the following figure.

     2.png

    2. In this way, the result of the component on the dashboard editing page is shown as follows.

     3.png

    3. Preview the dashboard, and the result is displayed as follows.

     4.png

    Cause:

    In the dashboard editing state, the internal logic of BI is adopted for direct-connected data to distinguish between uppercase and lowercase letters while in the dashboard preview state, it follows the logic of each database instead of that of BI.

    1. In the dashboard editing state, the data for the filter component is obtained from the database through the group by statement. If the group by statement in the database is not case-sensitive, Alice and alice will be recognized as the same value, and the one that appears ahead is displayed only. This may explain why only Alice is displayed in the case.

    2. After selecting Alice as the filtering condition, the uppercase letters are distinguished from lowercase letters, that is, Alice can only match with Alice, so the filtering result only shows Alice's data.

    3. In the dashboard preview state, depending on the nature of the database, if the database is case-insensitive, both Alice and alice can match with Alice, so the filtering result will display data for both Alice and alice.


    Solution:

    You can modify whether the direct-connected data is case-sensitive or not. You may search for specific modification methods according to the database type.

     


    附件列表


    主题: Creating a Visual Component
    • 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