You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/report/powerbi/transform-analytics-data-report-generation.md
+25-10
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Expand Teams
25
25
26
26
## Expand columns
27
27
28
-
The query returns several columns that you need to expand before you can use them in Power BI. Any entity pulled in using an OData **$expand** statement returns a record with potentially several fields. You need to expand the record to flatten the entity into its fields. Examples of such entities are: AssignedTo, Iteration, and Area.
28
+
The query returns several columns that you need to expand before you can use them in Power BI. Any entity pulled in using an OData **$expand** statement returns a record with potentially several fields. You need to expand the record to flatten the entity into its fields. Examples of such entities are: **AssignedTo**, **Iteration**, and **Area**.
29
29
30
30
After closing the Advanced Editor and while remaining in the Power Query Editor, select the expand button on the entities you need to flatten.
31
31
@@ -53,20 +53,30 @@ After closing the Advanced Editor and while remaining in the Power Query Editor,
53
53
54
54
### Expand Descendants column
55
55
56
-
1. Choose the expand button, and select the columns to report on:
56
+
1. Choose the **Expand** button, and select the columns to report on:
57
57
58
-
> [!div class="mx-imgBorder"]
59
-
> 
58
+
:::image type="content" source="media/transform-data/descendants-column-expand.png" alt-text="Screenshot of Power BI Descendants column. ":::
60
59
61
60
2. Check all the columns and choose **OK**.
62
61
63
-
> [!div class="mx-imgBorder"]
64
-
> 
62
+
:::image type="content" source="media/transform-data/expand-descendents-property.png" alt-text="Screenshot of Power BI Descendants column, expand options. ":::
65
63
66
64
3. The Descendants entity is flattened to the selected columns:
67
65
68
-
> [!div class="mx-imgBorder"]
69
-
> 
66
+
:::image type="content" source="media/transform-data/descendents-expanded-columns.png" alt-text="Screenshot of Power BI Descendants column, expand options. ":::
67
+
68
+
69
+
#### Pivot Descendants.StateCategory column
70
+
71
+
1. Select the 1Descendants.StateCategory1 column header to select it.
72
+
73
+
1. Select **Transform** menu and then **Pivot Column**.
0 commit comments