แชร์ผ่าน


แดชบอร์ดแบบเรียลไทม์ - การรวม Git

บทความนี้แสดงรายละเอียดโฟลเดอร์และโครงสร้างไฟล์สําหรับ Real-Time รายการแดชบอร์ดเมื่อมีการซิงค์กับที่เก็บ GitHub หรือ Azure Devops

โครงสร้างโฟลเดอร์

เมื่อพื้นที่ทํางานถูกซิงค์กับ repo คุณจะเห็นโฟลเดอร์ระดับบนสุดสําหรับพื้นที่ทํางานและโฟลเดอร์ย่อยสําหรับแต่ละรายการที่ถูกซิงค์ โฟลเดอร์ย่อยแต่ละโฟลเดอร์ถูกจัดรูปแบบด้วย ชื่อรายการชนิดหน่วยข้อมูล

ภายในโฟลเดอร์สําหรับแดชบอร์ด คุณจะเห็นไฟล์ต่อไปนี้:

  • แพลตฟอร์ม: กําหนดค่าแพลตฟอร์มผ้า เช่น ชื่อที่แสดงและคําอธิบาย
  • คุณสมบัติ: กําหนดค่าเฉพาะของรายการ

นี่คือตัวอย่างของโครงสร้างโฟลเดอร์:

Repo

  • พื้นที่ทํางาน A
    • Item_A.KQLDashboard
      • แท่น
      • RealTimeDashboard-1.json
  • พื้นที่ทํางาน B
    • Item_B.KQLDashboard
      • แท่น
      • RealTimeDashboard-2.json

Real-Time ไฟล์แดชบอร์ด

ไฟล์ต่อไปนี้มีอยู่ในโฟลเดอร์แดชบอร์ด:

  • แท่น

    ไฟล์ใช้ schema ต่อไปนี้เพื่อกําหนดแดชบอร์ดแบบเรียลไทม์:

    {
      "$schema": "https://developer.microsoft.com/json-schemas/fabric/gitIntegration/platformProperties/2.0.0/schema.json",
      "metadata": {
        "type": "KQLDashboard",
        "displayName": "",
        "description": ""
      },
      "config": {
        "version": "2.0",
        "logicalId": ""
      }
    }
    
  • RealTimeDashboard.json

    ไฟล์ใช้ schema ต่อไปนี้เพื่อกําหนดแดชบอร์ดแบบเรียลไทม์:

    {
      "$schema": "",
      "id": "",
      "eTag": "\"\"",
      "schema_version": "",
      "title": "",
      "tiles": [
        {
          "id": "",
          "title": "",
          "visualType": "",
          "pageId": "",
          "layout": {
            "x": ,
            "y": ,
            "width": ,
            "height":
          },
          "queryRef": {
            "kind": "",
            "queryId": ""
          },
          "visualOptions": {
            "multipleYAxes": {
              "base": {
                "id": "",
                "label": "",
                "columns": [],
                "yAxisMaximumValue": ,
                "yAxisMinimumValue": ,
                "yAxisScale": "",
                "horizontalLines": []
              },
              "additional": [],
              "showMultiplePanels":
            },
            "hideLegend": ,
            "legendLocation": "",
            "xColumnTitle": "",
            "xColumn": ,
            "yColumns": ,
            "seriesColumns": ,
            "xAxisScale": "",
            "verticalLine": "",
            "crossFilterDisabled": ,
            "drillthroughDisabled": ,
            "crossFilter": [
              {
                "interaction": "",
                "property": "",
                "parameterId": "",
                "disabled":
              }
            ],
            "drillthrough": [],
            "selectedDataOnLoad": {
              "all": ,
              "limit":
            },
            "dataPointsTooltip": {
              "all": ,
              "limit":
            }
          }
        }
      ],
      "baseQueries": [],
      "parameters": [
        {
          "kind": "",
          "id": "",
          "displayName": "",
          "description": "",
          "variableName": "",
          "selectionType": "",
          "includeAllOption": ,
          "defaultValue": {
            "kind": ""
          },
          "dataSource": {
            "kind": "",
            "columns": {
              "value": ""
            },
            "queryRef": {
              "kind": "",
              "queryId": ""
            }
          },
          "showOnPages": {
            "kind": ""
          },
          "allIsNull":
        },
      ],
      "dataSources": [
        {
          "id": "",
          "name": "",
          "clusterUri": "",
          "database": "",
          "kind": "",
          "scopeId": ""
        }
      ],
      "pages": [
        {
          "name": "",
          "id": ""
        }
      ],
      "queries": [
        {
          "dataSource": {
            "kind": "",
            "dataSourceId": ""
          },
          "text": "",
          "id": "",
          "usedVariables": [
            "",
            ""
          ]
        }
      ]
    }