Question 1 of 30
A data analyst is tasked with preparing a dataset for analysis in Power BI. The dataset contains sales data from multiple regions, but the data is inconsistent in terms of date formats and contains several null values. The analyst needs to standardize the date format to \"YYYY-MM-DD\" and replace any null values in the \"Sales Amount\" column with the average sales amount of the respective region. Which sequence of steps in Power Query would best achieve this?
Change the data type of the "Date" column to Date/Time, use the "Replace Values" feature to replace nulls in "Sales Amount" with the average calculated using the "Group By" function.
Use the "Transform" tab to change the "Sales Amount" column to a numeric type, then manually enter the average sales amount for each region.
Filter out all rows with null values in the "Sales Amount" column and convert the "Date" column to text format.
Use the "Replace Errors" option to handle null values in the "Sales Amount" column and change the "Date" column to Date/Time format without any further adjustments.

Preparing for Microsoft DP-500 Designing and Implementing Enterprise-Scale Analytics Solutions Using Microsoft Azure and Microsoft Power BI? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free