View a markdown version of this page

Generating an analysis with natural language prompts - Amazon Quick

Generating an analysis with natural language prompts

With Quick Sight, you can use artificial intelligence (AI) to author analyses in three ways within the analysis authoring experience. You can generate a full, multi-sheet analysis from a natural language prompt (Generate Analysis). You can generate a single sheet within an open analysis (Generate Sheet). You can also generate an analysis from an image. This topic describes the full-analysis flow. The following sections describe the two additional flows.

To generate a full analysis, describe the analysis or dashboard that you want, and select up to three datasets. Before generation begins, you can review and modify an interactive plan that outlines the proposed structure. When you generate, Quick Sight creates multiple organized sheets with visuals, filter controls, and calculated fields such as year-over-year growth and month-over-month comparisons.

The generated output is a native Quick Sight analysis. It works with existing publishing workflows, embedding patterns, CI/CD pipelines, and point-and-click editing in the analysis surface. After generation, you can refine each visual.

Prerequisites

To generate an analysis from a natural language prompt, you need the following:

  • An AWS account

  • Amazon Quick Enterprise Edition with at least one Author Pro user

  • At least one dataset in your Quick Sight account

Generating an analysis

Use the following procedure to generate an analysis from a natural language prompt.

To generate an analysis from a natural language prompt
  1. Do one of the following:

    • Open a dataset and choose Generate analysis.

    • From the Analyses page, choose Generate analysis.

    Dataset page with Generate analysis button
  2. Choose Add data to select one to three datasets for the analysis. If your data spans multiple tables (for example, orders in one dataset and products in another), you can select them together.

    Add additional datasets
    Add additional datasets
  3. Enter a natural language prompt that describes the analysis that you want to create. You can describe the business questions that you want answered, the metrics that you care about, and how you want the information organized across sheets.

    Example prompt:

    "Create an operations dashboard showing order volume trends, revenue KPIs, delivery performance comparing estimated vs actual delivery dates, and product category breakdown by revenue and order count. Include calculated fields for total revenue, average order value, and month-over-month order growth."

    Prompt input screen with example
  4. Do one of the following:

    • Choose Generate analysis to begin generation immediately.

    • Choose Preview analysis outline to review an outline first.

  5. Wait while Quick Sight analyzes your dataset structure and column statistics. Real-time progress updates display the current status.

    Streaming progress screen showing steps completing
    Note

    If you navigate away from the progress screen, you can check the generation status on the Analyses page by choosing the Generations tab. Choose the generation name to return to the progress screen.

    Generations tab to check status
  6. Quick Sight presents a two-pane view:

    • The left pane shows your initial prompt and a summary of the selected datasets.

    • The right pane shows the proposed filter controls, sheets, and visuals planned for each sheet.

    You can edit sheet names, add or remove visuals, adjust the plan, and refine the prompt before generating.

    Two-pane plan view with context on left, outline details on right
  7. Choose Generate. Real-time progress updates display the current status. Generation takes 2 to 5 minutes depending on the number of sheets and visuals.

    Generation progress showing sheets being created one by one
Completed analysis with multiple sheets and visuals

Publishing a generated analysis

After you are satisfied with the generated analysis, choose Publish to create a dashboard.

You can share the dashboard with other users, embed it in applications, or schedule email deliveries. For more information about publishing and sharing, see Publishing dashboards and Sharing Quick Sight analyses.

Publish and share dialog

Generating a single sheet

Within an open analysis, you can generate a single sheet with AI instead of generating a full analysis. Use the following procedure to generate a single sheet.

To generate a single sheet
  1. In an open analysis, choose the + (plus) next to the sheet tabs.

  2. In the New sheet dialog, select Interactive sheet, then choose Generate. Choosing Add creates a blank sheet to build by hand, and Generate starts the AI flow. Generate is available for interactive sheets only.

  3. On the Generate sheet screen, select one or more datasets that are already part of the analysis, write a prompt that describes the sheet, and choose Generate.

  4. Quick Sight adds the sheet with visuals selected for the data, filter controls, and calculated fields such as year-over-year growth and month-over-month comparisons.

Adding an image to your prompt

You can generate an analysis from an image of a dashboard, including dashboards from other business intelligence (BI) tools. Use the following procedure to add an image to your prompt.

To add an image to your prompt
  1. From the Visualize your data with AI prompt, choose Add image (located next to + Add data) to attach an image of a dashboard.

  2. Quick Sight reads the image and builds the sheets and visuals that Quick Sight supports.