B. The rename list should be a list of lists, like {{"OldName", "NewName"}}
C. The function name is incorrect; it should be RenameColumn
D. The syntax is correct; error is elsewhere
Solution
Step 1: Check the expected parameter format for Table.RenameColumns
The second argument must be a list of pairs inside another list, like {{"OldName", "NewName"}}.
Step 2: Identify the error in the given code
The code uses a single list {"OldName", "NewName"} instead of a list of lists, causing the error.
Final Answer:
The rename list should be a list of lists, like {{"OldName", "NewName"}} -> Option B
Quick Check:
RenameColumns needs list of pairs [OK]
Hint: Use double braces {{}} for rename pairs [OK]
Common Mistakes:
Using single list instead of list of lists
Wrong function name
Assuming renaming is not allowed
5. You have a dataset with inconsistent date formats like '01/02/2023' and '2023-02-01'. How can data transformation in Power BI ensure quality before analysis?
hard
A. Manually edit each date in the source file before loading.
B. Ignore the formats; Power BI will automatically fix them during visualization.
C. Delete all rows with inconsistent dates to avoid errors.
D. Use Power Query to detect and convert all dates to a single standard format.
Solution
Step 1: Identify the problem with inconsistent date formats
Different date formats cause errors or wrong sorting in analysis.
Step 2: Use Power Query transformation to standardize dates
Power Query can detect and convert all dates into one consistent format automatically.
Step 3: Avoid manual or destructive methods
Ignoring formats or deleting rows loses data quality; manual editing is inefficient and error-prone.
Final Answer:
Use Power Query to detect and convert all dates to a single standard format. -> Option D
Quick Check:
Standardizing dates ensures quality data [OK]
Hint: Standardize dates in Power Query for consistent analysis [OK]
Common Mistakes:
Assuming Power BI fixes formats automatically
Deleting data instead of transforming
Editing source manually instead of transforming
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.