Microsoft Power BI Data Analyst Practice Question

You are a data analyst cleaning sales data in the Power Query Editor. You have a column named 'OrderCode' that contains concatenated values in the format 'Region-ProductID-Date', such as 'NA-P45821-20250115'. You need to create a new column that contains only the 'ProductID' (e.g., 'P45821') from the middle of the string. Which of the following transformations is the most direct and appropriate method to accomplish this task?

  • Use the 'Split Column by Delimiter' transformation.

  • Use the 'Replace Values' transformation to remove the region and date codes.

  • Use the 'Conditional Column' feature to create logic that extracts the text.

  • Use the 'Unpivot Columns' transformation on the 'OrderCode' column.

Microsoft Power BI Data Analyst
Prepare the data
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot