Skip to content

Commit 570a951

Browse files
committed
direct links report article updates
1 parent 615f54d commit 570a951

14 files changed

+304
-209
lines changed

docs/report/powerbi/includes/query-filters-work-items.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ ms.topic: include
66
ms.date: 12/05/2022
77
---
88

9-
## Query filters
10-
11-
To determine available query filters or properties to return, query the metadata as described in [Construct OData queries for Analytics, URL components to query the metadata](../../analytics/analytics-query-parts.md#query-metadata). You can filter your queries or return properties using any of the `Property` values under an `EntityType` or `NavigationPropertyBinding Path` values listed under the `EntitySet` you specify for your query. Each `EntitySet` corresponds to an `EntityType`. For example, the `EntitySet Name="WorkItemSnapshot"` corresponds to the `EntityType Name="WorkItemSnapshot"`.
12-
13-
To learn more about the data type of each value, review the metadata provided for the corresponding `EntityType`.
9+
> [!NOTE]
10+
> To determine available properties for filter or report purposes, see [Metadata reference for Azure Boards](../../analytics/entity-reference-boards). You can filter your queries or return properties using any of the `Property` values under an `EntityType` or `NavigationPropertyBinding Path` values available with an `EntitySet`. Each `EntitySet` corresponds to an `EntityType`. To learn more about the data type of each value, review the metadata provided for the corresponding `EntityType`.
1411
1512

docs/report/powerbi/includes/sample-full-list-pipelines.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ ms.date: 08/14/2020
88

99

1010
:::row:::
11-
:::column span="2":::
11+
:::column span="1":::
1212
**Pipeline**
1313
:::column-end:::
14-
:::column span="2":::
14+
:::column span="1":::
1515
**Pipeline and test**
1616
:::column-end:::
1717
:::row-end:::
1818
---
1919
:::row:::
20-
:::column span="2":::
20+
:::column span="1":::
2121
- [Outcome summary](../sample-pipelines-outcome-summary.md)
2222
- [Outcome summary for all pipelines](../sample-pipelines-allpipelines.md)
2323
- [Pass rate trend](../sample-pipelines-pass-rate-trend.md)
@@ -27,7 +27,7 @@ ms.date: 08/14/2020
2727
- [Task duration](../sample-pipelines-task-duration.md)
2828
- [Task duration trend](../sample-pipelines-task-duration-trend.md)
2929
:::column-end:::
30-
:::column span="2":::
30+
:::column span="1":::
3131
- [Test summary](../sample-test-analytics-test-summary.md)
3232
- [Test summary trend](../sample-test-summary-trend.md)
3333
- [Failed tests](../sample-test-analytics-failed-tests.md)
Loading
Loading
Loading
Loading

docs/report/powerbi/sample-boards-bugtrend.md

+25-23
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ This article shows you how to display, for a given set of open Bugs, the number
2929

3030
## Sample queries
3131

32-
The following queries return data from the `WorkItemSnapshot` entity set to support generating trend reports.
32+
The following queries return data from the `WorkItemSnapshot` entity set to support generating trend reports.
33+
34+
[!INCLUDE [temp](includes/query-filters-work-items.md)]
3335

3436
### Bug trend filtered by Area Path
3537

@@ -91,90 +93,90 @@ https://analytics.dev.azure.com/{organization}/{project}/_odata/v3.0-preview/Wor
9193
The following table describes each part of the query.
9294

9395
:::row:::
94-
:::column span="2":::
96+
:::column span="1":::
9597
**Query part**
9698
:::column-end:::
97-
:::column span="2":::
99+
:::column span="1":::
98100
**Description**
99101
:::column-end:::
100102
:::row-end:::
101103
:::row:::
102-
:::column span="2":::
104+
:::column span="1":::
103105
`$apply=filter(`
104106
:::column-end:::
105-
:::column span="2":::
107+
:::column span="1":::
106108
Start of filter statement clause.
107109
:::column-end:::
108110
:::row-end:::
109111
:::row:::
110-
:::column span="2":::
112+
:::column span="1":::
111113
`WorkItemType eq 'Bug'`
112114
:::column-end:::
113-
:::column span="2":::
115+
:::column span="1":::
114116
Return Bugs.
115117
:::column-end:::
116118
:::row-end:::
117119
:::row:::
118-
:::column span="2":::
120+
:::column span="1":::
119121
`and State ne 'Closed'`
120122
:::column-end:::
121-
:::column span="2":::
123+
:::column span="1":::
122124
Omit bugs in a Closed state.
123125
:::column-end:::
124126
:::row-end:::
125127
:::row:::
126-
:::column span="2":::
128+
:::column span="1":::
127129
`and startswith(Area/AreaPath,'{areapath}')`
128130
:::column-end:::
129-
:::column span="2":::
131+
:::column span="1":::
130132
Filter work items under a specific **Area Path** that you specify in`'{areapath}'`.<br>To filter by team name, use the filter statement `Teams/any(x:x/TeamName eq '{teamname})'`.
131133
:::column-end:::
132134
:::row-end:::
133135
:::row:::
134-
:::column span="2":::
136+
:::column span="1":::
135137
`and DateValue ge {startdate}`
136138
:::column-end:::
137-
:::column span="3":::
139+
:::column span="1":::
138140
Start trend on or after the specified date. Example: **2021-04-01Z** represents 2021-April-01.
139141
:::column-end:::
140142
:::row-end:::
141143
:::row:::
142-
:::column span="2":::
144+
:::column span="1":::
143145
`)`
144146
:::column-end:::
145-
:::column span="2":::
147+
:::column span="1":::
146148
Close `filter()` clause.
147149
:::column-end:::
148150
:::row-end:::
149151
:::row:::
150-
:::column span="2":::
152+
:::column span="1":::
151153
`/groupby(`
152154
:::column-end:::
153-
:::column span="2":::
155+
:::column span="1":::
154156
Start `groupby()` clause.
155157
:::column-end:::
156158
:::row-end:::
157159
:::row:::
158-
:::column span="2":::
160+
:::column span="1":::
159161
`(DateValue, State, WorkItemType, Priority, Severity, Area/AreaPath, Iteration/IterationPath), `
160162
:::column-end:::
161-
:::column span="2":::
163+
:::column span="1":::
162164
Group by `DateValue`, used for trending, and any other fields you want to report on.
163165
:::column-end:::
164166
:::row-end:::
165167
:::row:::
166-
:::column span="2":::
168+
:::column span="1":::
167169
`aggregate($count as Count)`
168170
:::column-end:::
169-
:::column span="2":::
171+
:::column span="1":::
170172
Aggregate by counting bugs that match the criteria on each date.
171173
:::column-end:::
172174
:::row-end:::
173175
:::row:::
174-
:::column span="2":::
176+
:::column span="1":::
175177
`)`
176178
:::column-end:::
177-
:::column span="2":::
179+
:::column span="1":::
178180
Close `groupby()` clause.
179181
:::column-end:::
180182
:::row-end:::

0 commit comments

Comments
 (0)