0
0
Power BIbi_tool~20 mins

Column operations (rename, remove, reorder) in Power BI - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Column Operations Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
dax_lod_result
intermediate
2:00remaining
DAX Measure Result After Column Rename

You have a table named Sales with columns ProductID, Quantity, and Price. You rename the column Price to UnitPrice. Which DAX measure will correctly calculate total sales amount after this rename?

ATotal Sales = SUMX(Sales, Sales[Quantity] * Sales[UnitPrice])
BTotal Sales = SUMX(Sales, Sales[Quantity] * Sales[Price])
CTotal Sales = SUM(Sales[Quantity] * Sales[UnitPrice])
DTotal Sales = SUMX(Sales, Quantity * UnitPrice)
Attempts:
2 left
💡 Hint

Remember that after renaming, the old column name Price no longer exists.

visualization
intermediate
2:00remaining
Best Practice for Column Reordering in a Table Visual

You want to display a table visual in Power BI showing Customer Name, Order Date, and Sales Amount. You reorder columns in the data model to Order Date, Customer Name, Sales Amount. What will be the order of columns shown in the table visual?

AOrder Date, Customer Name, Sales Amount
BOrder Date, Sales Amount, Customer Name
CSales Amount, Customer Name, Order Date
DCustomer Name, Order Date, Sales Amount
Attempts:
2 left
💡 Hint

Remember that column order in the data model does not automatically change visual column order.

data_modeling
advanced
2:00remaining
Removing Columns to Optimize Model Size

You have a large dataset with columns OrderID, CustomerID, OrderDate, TempNotes, and DiscountCode. You want to reduce model size by removing unnecessary columns. Which column should you remove if TempNotes is only used for temporary comments during data import and never in reports?

ARemove <code>TempNotes</code> column
BRemove <code>OrderID</code> column
CRemove <code>CustomerID</code> column
DRemove <code>OrderDate</code> column
Attempts:
2 left
💡 Hint

Think about which columns are essential for analysis and which are not.

🎯 Scenario
advanced
2:00remaining
Reordering Columns for User-Friendly Data Entry

You are designing a Power BI data entry form using Power Apps integration. The source table has columns FirstName, LastName, Email, Phone. Users want the form to show LastName first, then FirstName, then Email, and finally Phone. How do you ensure this column order in the form?

ARename columns to include numbers to force order
BReorder columns in the Power Apps form layout manually
CReorder columns in the data model to the desired order
DRemove columns and add them back in desired order
Attempts:
2 left
💡 Hint

Think about where the form layout is controlled.

🔧 Formula Fix
expert
2:00remaining
Debugging Column Rename Impact on Existing Reports

You renamed a column SalesAmount to TotalSales in your data model. After refreshing, some reports show errors. Which of the following is the most likely cause?

AThe column <code>TotalSales</code> was removed instead of renamed
BThe data type of <code>TotalSales</code> changed automatically causing errors
CExisting visuals and measures still reference the old column name <code>SalesAmount</code>
DThe data model refresh failed due to network issues
Attempts:
2 left
💡 Hint

Think about what happens when you rename a column but do not update dependent objects.