Skip to content

Commit 41db39d

Browse files
authored
Merge pull request #2764 from MicrosoftDocs/main638961448515057318sync_temp
Repo sync for protected branch
2 parents 990bce8 + 804ae04 commit 41db39d

File tree

8 files changed

+71
-5
lines changed

8 files changed

+71
-5
lines changed

data-explorer/dashboard-visuals.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,70 @@ To learn how to customize any dashboard visuals, see [Customize Azure Data Explo
1313

1414
For general information on dashboards in Azure Data Explorer, see [Visualize data with Azure Data Explorer dashboards](azure-data-explorer-dashboards.md).
1515

16-
[!INCLUDE [dashboard-visuals](includes/cross-repo/dashboard-visuals.md)]
16+
## Funnel chart
17+
18+
A funnel chart visualizes a linear process that has sequential, connected stages. Each funnel stage represents a percentage of the total. So, in most cases, a funnel chart is shaped like a funnel, with the first stage being the largest, and each subsequent stage smaller than its predecessor.
19+
20+
The following example visualizes the progression of Server requests, showing the total number of sessions, requests, and their completion status. It highlights the drop-off from sessions to requests and the proportion of completed versus incomplete requests.
21+
22+
### Example query
23+
24+
```kusto
25+
let stageOrder = datatable(Stage:string, Order:int)
26+
[
27+
"session_id", 1,
28+
"request_id", 2,
29+
"Completed", 3,
30+
"Incomplete", 4
31+
];
32+
33+
let base = TransformedServerMetrics
34+
| where MetricType == "sqlserver_requests";
35+
36+
// Build the funnel table dynamically
37+
let funnelData =
38+
union
39+
(base | where SQLMetrics == "session_id" | summarize Count = count() | extend Stage = "session_id"),
40+
(base | where SQLMetrics == "request_id" | summarize Count = count() | extend Stage = "request_id"),
41+
(base | where SQLMetrics == "percent_complete"
42+
| summarize Count = countif(Value == 100) | extend Stage = "Completed"),
43+
(base | where SQLMetrics == "percent_complete"
44+
| summarize Count = countif(Value < 100) | extend Stage = "Incomplete");
45+
46+
// Join with stage order and order properly
47+
funnelData
48+
| join kind=inner stageOrder on Stage
49+
| order by Order asc
50+
| project Stage, Count
51+
```
52+
53+
:::image type="content" source="media/adx-dashboards/funnel.png" alt-text="Screenshot of a funnel chart visualizing server requests.":::
54+
55+
## Heatmap
56+
57+
A heatmap shows values for a main variable of interest across two axis variables as a grid of colored squares.
58+
59+
To render a heatmap, the query must generate a table with three columns. The data used for the value field must be numeric. The columns that will be used for x and y values use the following rules:
60+
61+
- If the values in column *x* are in the `string` format, the values in the column *y* must also be in the `string` format.
62+
- If the values in column *x* are in the `datetime` format, the values in the column *y* must be numeric.
63+
64+
> [!NOTE]
65+
> We recommend specifying each data field, instead of letting the tool infer the data source.
66+
67+
The following example shows the distribution of the five most frequent SQL metrics across different metric types. It highlights which metric types are most common for each SQL metric, making it easy to identify activity patterns in the top metrics.
68+
69+
### Example query
70+
71+
```kusto
72+
let topMetrics = TransformedServerMetrics
73+
| summarize TotalCount = count() by SQLMetrics
74+
| top 5 by TotalCount; // pick only the 5 most common metrics
75+
76+
TransformedServerMetrics
77+
| where SQLMetrics in (topMetrics | project SQLMetrics)
78+
| summarize Count = count() by SQLMetrics, MetricType
79+
| project X = MetricType, Y = SQLMetrics, Value = Count
80+
```
81+
82+
:::image type="content" source="media/adx-dashboards/heatmap.png" alt-text="Screenshot of a heatmap visualizing server metrics.":::
138 KB
Loading
20.3 KB
Loading
32.5 KB
Loading
421 KB
Loading
283 KB
Loading
217 KB
Loading

data-explorer/web-ui-samples-dashboards.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ A Microsoft account or a Microsoft Entra user identity to sign in to the [**help
2323

2424
1. In the **Explore sample dashboards** dialog box, choose a sample dashboard and then select **Explore**. In keeping with the previous example, select the **Metrics sample dashboard**.
2525

26-
:::image type="content" source="media/web-ui-samples-gallery/explore-sample-dashboards-options.png" alt-text="Screenshot of Explore dashboards samples dialog box showing sample dashboard options.":::
26+
:::image type="content" source="media/adx-dashboards/sample-dashboards.png" alt-text="Screenshot of Explore dashboards samples dialog box showing sample dashboard options.":::
2727

2828
1. The dashboard opens in edit mode and presents various pre-configured tile options for customization.
2929

30-
:::image type="content" source="media/web-ui-samples-gallery/web-ui-dashboard-full.png" alt-text="Screenshot showing the samples gallery dashboard from the Metrics data database, with a variety of tiles." lightbox="media/web-ui-samples-gallery/web-ui-dashboard-full.png":::
30+
:::image type="content" source="media/adx-dashboards/sample-dash-homepage.png" alt-text="Screenshot showing the samples gallery dashboard from the Metrics data database, with a variety of tiles." lightbox="media/adx-dashboards/sample-dash-homepage.png":::
3131

3232
1. Select the edit icon on the **CPU Usage** tile to access the underlying KQL query and formatting options. Explore the various tabs that allow you to adjust the visual display and review the results. Take some time to familiarize yourself with the features and options available.
3333

34-
:::image type="content" source="media/web-ui-samples-gallery/cpu-usage-tile.png" alt-text="Screenshot of the CPU usage visualization tile.":::
34+
:::image type="content" source="media/adx-dashboards/edit-tile.png" alt-text="Screenshot of the CPU usage visualization tile.":::
3535

3636
1. Select **Apply changes** or **Discard changes** to save or discard your changes. This will take you back to the main dashboard.
3737

38-
:::image type="content" source="media/web-ui-samples-gallery/apply-or-discard-changes.png" alt-text="Screenshot of CPU usage tile edit window with options to apply or discard changes.":::
38+
:::image type="content" source="media/adx-dashboards/save-changes.png" alt-text="Screenshot of CPU usage tile edit window with options to apply or discard changes.":::
3939

4040
1. Learn how to [view parameters](dashboard-parameters.md#view-parameters-list) and [customize visuals](dashboard-customize-visuals.md#customize-visuals).
4141

0 commit comments

Comments
 (0)