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.

     


    Attachment List


    Theme: 可視化コンポーネントの作成
    前の記事
    次の記事
    • いいね
    • 良くない
    • 閲覧しただけ

    フィードバック

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

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

    不再提示

    9s后关闭

    反馈已提交

    网络繁忙