In Power Query, what is the main effect of using the 'Use First Row as Headers' feature?
Think about how the table's columns get their names.
Header promotion changes the first row of data into the column headers, making the data easier to understand and work with.
After promoting headers in Power Query, you load a table named 'SalesData' with columns: 'Product', 'Region', and 'Sales'. You create this DAX measure:
Total Sales = SUM(SalesData[Sales])
What will be the result of Total Sales if the 'Sales' column contains values 100, 200, and 300?
Check if the column name matches exactly after header promotion.
Promoting headers ensures the column is named 'Sales'. The SUM adds 100 + 200 + 300 = 600.
You have a table where the first row contains mixed data types. You apply 'Use First Row as Headers' but get an error. What is the most likely cause?
Headers must be unique and valid.
If the first row has duplicate values, Power Query cannot create unique column headers, causing the error.
You have promoted headers in a sales dataset with columns: 'Date', 'Product', 'Quantity', and 'Revenue'. Which visualization best shows total revenue by product?
Think about comparing totals by category.
A bar chart with products on the X-axis and total revenue on the Y-axis clearly shows revenue comparison by product.
You import two tables: 'Orders' and 'Customers'. 'Orders' has a first row with customer IDs but no headers. You promote headers in 'Orders' and the customer ID column is named 'CustomerID'. 'Customers' already has a 'CustomerID' column. What is the impact on creating a relationship between these tables?
Headers define column names used in relationships.
Promoting headers correctly names the column 'CustomerID', allowing you to create relationships with the 'Customers' table on that column.