0
0
Power BIbi_tool~10 mins

Header promotion in Power BI - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows product names in the first column and their sales numbers in the second column. The first row contains the headers.

CellValue
A1Product
B1Sales
A2Apples
B2100
A3Bananas
B3150
A4Cherries
B4200
Formula Trace
Table.PromoteHeaders(Source)
Step 1: Source
Step 2: Table.PromoteHeaders(Source)
Cell Reference Map
Product
Apples
Bananas
Cherries
The formula uses the entire table starting at A1:B4. The first row (A1:B1) is promoted to headers.
Result
   Product   Sales
1  Apples    100
2  Bananas   150
3  Cherries  200
After header promotion, the first row becomes column headers. The data rows move up, so 'Apples' is now in row 1 under 'Product'.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the Table.PromoteHeaders function do in this example?
AIt deletes the first row.
BIt sums the sales numbers.
CIt turns the first row into column headers.
DIt duplicates the first row.
Key Result
Table.PromoteHeaders shifts the first row to become column headers and moves data rows up.