HOW-TO 069 · Data Analysis and Excel Dashboards

How to use Power Query to transform data

Monthly data arrives in the same messy format and must be cleaned repeatedly. The questions in the prompt help you supply information without preparing a technical brief.

Before you start

FILE OR SOURCE NEEDED: the spreadsheet. Open a new chat. Select + or the paperclip by the message box, choose Upload file, select your file and wait for its name to appear. Then paste the prompt. If uploads are unavailable, paste approved text or figures instead, or use an approved tool that accepts the file.

YOUR READY-TO-USE PROMPT

Copy this into your AI tool

Please help me use Power Query to transform data. I am a beginner, so explain unfamiliar terms in plain English. Ask me one simple question at a time. Wait for my reply before asking the next. Find out the file format, the columns, and the cleaning rules. If there is a file, first confirm you can read it and ask for any missing information. When you have enough details, complete the task this way: Design a Power Query workflow for the file format I share with columns the columns we discuss. Apply the cleaning rules we discuss, enforce data types, remove unnecessary fields and load the result to Excel. Explain how to refresh next month and how to keep the source files untouched. Use only what I provide or sources you can actually verify. Do not make up facts, figures, names or approvals. If you cannot create the requested file or perform a tool action, tell me exactly how to complete that part myself. After you show the result, let me request a shorter or clearer version. If you can make the .xlsx file, provide it; otherwise show exact Excel cell references and formulas I can copy.
Paste it into an AI application and answer its questions.
Example, follow-up prompt and final checks

Example conversation

AI might ask: Do you have the material you want me to work with?

You might reply: Yes, I can attach it now.

Example result

Power Query steps: Import → Change types → Trim → Load.

Improve your result

Open a copy of the spreadsheet in Excel and test the proposed formulas or charts before using live data.

Add a step to flag unexpectedly missing columns.

Before you use it

Reconcile input and output counts and totals.