DEV Community

Cover image for Amazon Q in Amazon QuickSight (Preview)- Generative BI with Natural Language Processing
Wendy Wong for AWS Heroes

Posted on • Edited on

Amazon Q in Amazon QuickSight (Preview)- Generative BI with Natural Language Processing

What is hot off the press 🪄 from AWS re: Invent 2023?

I am still buzzing from attending the keynotes from Amazon Web Services CEO Adam Selipsky on Day 2 and VP of Analytics, Databases and Machine Learning Dr Swami Sivasubramanianon Day 3 who shared new announcements for Amazon Q.

As a data scientist, data analyst, developer you may be spending up to an hour each day writing production code to integrate and transform multiple datasets, build a data model and then design interactive dashboards to uncover business insights.

Let me introduce you to Amazon Q and we will learn how to incorporate generative AI to create dashboards using natural language processing for supercharging data storytelling.

Lesson Objectives

In this lesson you will learn the following:

  • What is Amazon Q?
  • What is Amazon QuickSight?
  • What are the benefits?
  • What are the features?
  • How do I get started?
  • Build a dashboard using Amazon Q in Amazon QuickSight(Preview)

What is Amazon Q?

Amazon Q is an AI-powered assistant designed for work and can be tailored to your business by taking actions, answering questions, generating content and helping you to solve problems.

Amazon Q in QuickSight is now available in public preview which means that you can design dashboards using natural language processing by using a free-trial period of 30 days and you will not be charged under the two available pricing plans i.e. Amazon Q Business or Amazon Q Builder which is coming soon.

adamn

You may find out more from this video below, Introducing Amazon Q

What is Amazon QuickSight?

Amazon QuickSight is a cloud-powered business intelligence service that allows you to build interactive dashboards that includes machine learning insights that provides enterprise security and can easily scale.
You may connect to data from multiple sources including AWS services, spreadsheets and third-party databases.

What are the benefits?

As a data scientist, data analyst or business analyst you will not need to code in any programming language with Amazon Q in Amazon QuickSight.

Some key benefits include:

  • Reduce time spent to build interactive dashboards to uncover data insights

  • Ask specific questions using natural language e.g. drill-down or filter data

  • Amazon Q caters to data and security needs with security in the cloud under the AWS Shared Responsibility Model by understanding your governance requirements for roles and permission levels.

  • Create visually appealing and compelling narratives

What are the features?

Amazon Q in QuickSight (Preview) includes features that allow you to speed up the delivery of data insights to your business stakeholders by using natural language processing.

The summary of key features include:

  • Create data stories in minutes by entering prompts in natural language

  • Obtain key highlights by asking Amazon Q to build an executive summary which takes a few seconds by leveraging large language models.

  • Produce contextual narratives from questions asked using Amazon Q.

  • Amazon Q allows you to drill-down into information on the dashboard.

  • data Q&A Question and Answering capability of Amazon Q allows you to dig deeper into your data by asking questions beyond your dashboard.

How do I get started with Amazon Q in QuickSight?

You may get started with Amazon Q in QuickSight by accessing the free trial in Preview.

If you would like to find out more details, you may watch the session on how to get started with Amazon Q from VP of Amazon Matt Wood at AWS re:Invent 2023:

Tutorial: Build a dashboard using Amazon Q in Amazon QuickSight (Preview)

Let's gets hands on practice to build a dashboard powered by generative AI.

  • Step 1: Find an interesting dataset that is open-source.

I have selected the Starbucks from Kaggle.com

starbuxj

  • Step 2: Sign into the AWS Management Console as an IAM user

  • Step 3: In the search bar type 'Amazon Q'.

Switch to a supported AWS region e.g. US East(N.Virginia)

supported region

  • Step 4: Click Free Trial for Amazon Q in QuickSight

Free trail

You may select Enterprise + Q which is a 30 day free trial for your team.

30 days

Click Continue and enter your contact details.

  • Step 5: Create your QuickSight Account and under pricing click No. Maybe Later.

create

  • Step 6: Select an appropriate Authentication method.

I have an existing AWS IAM credential and I will select the first option.

Secondly, create a QuickSight Account Name and enter an email address.

  • Step 7: Create a folder in your Amazon S3 bucket and upload the Starbucks csv file.

upload file

  • Step 8: Select the Amazon S3 bucket to access the data.

Click Finish.

finish

  • Step 9: You will receive a notification message that your Amazon QuickSight account has been created.

congr

  • Step 10: You will be directed to the Amazon QuickSight welcome page of your account.

homepage

  • Step 11: Click New Analysis.

nwe analysis

  • Step 12: Select New dataset.

new dataset

  • Step 13: Connect to data by selecting the option Upload a file and select the Starbucks csv file saved in your local directory.

data sourcen

  • Step 14: Confirm file upload settings and click Next.

confirm

  • Step 15: Click Edit Settings and Prepare Data to inspect the data and check the correct data types.

daat types

  • Step 16: Click Publish and Visualize.

publish

Click Build Visual and create a topic to ask questions using Amazon QuickSight.

I have named the topic 'Coffee Details' and click Link Topic.

Amazon Q is preparing the topic in QuickSight.

prepare

  • Step 17:The topic 'coffee details' has successfully been created and we will navigate to the Q bar.

q bar

  • Step 18: We will start by asking a few questions in Q bar.

Amazon Q has recommended a few suggested questions to ask before I start typing the business question.

suggested

  • Step 19: I click on 'Coffee Details', there is no narrative provided as this is not a question.

no narrative

  • Step 20: I click Ask Q and select a suggested question:

'total cholesterol mg by beverage?'

total cholestrolon

  • Step 21: I click Ask Q and select a suggested question:

'Top 5 beverages by total calories'

calories

  • Step 22: I click Ask Q and select a suggested question:

'Beverage category with the highest total fat by category'

fat

  • Step 23: Click Ask Q to select a suggested question:

'Beverage category with the highest total sugar by category'

sugar

  • Step 24: Navigate to Named Entity and group variables.

I have grouped trans fat, saturated fat and total fat.

named entities

  • Step 25: I have created a second named entity for 'Vitamins'.

vitamins

  • Step 26: I have created a third named entity for 'Sugar' by entering at least two dimensions and clicking Save.

Suagr

  • Step 27: I have created a fourth named entity for 'Nutrition value' by entering at least two dimensions and clicking Save.

nutrition

  • Step 28: We can navigate back to Ask Q such as the total amount of sugar in each beverage and click the light bulb icon to view insights.

insifghts

  • Step 28: Five visuals have been saved as pinboard.

pinboard

To build a dashboard, you may select Add to analysis and choose four pinboard visuals created by Amazon Q.

You may then check the boxes for Allow executive summary and publish the dashboard.

executive summary

pub

  • Step 29: Let's create a data story.

Navigate to Data stories on the left-handside and select New story. Select Slideshow.

datastory

Enter a 'Story title' and describe the story in simple natural language by entering a prompt and Add Visuals.

build story

Amazon Q was able to generate content via Data stories to create a slide presentation deck based on my visuals with AI-powered data insights.

slide show

  • Step 30: By navigating to my dashboard, on the right-handside under Build select from the drop-down menu Executive Summary and click on Sheet 1.

In a few seconds, content is generated for an Executive Summary as shown below:

exec sumon

Conclusion

You may easily create a dashboard using generative AI to supercharge data storytelling with large language models using Amazon Bedrock to generate insights, suggested questions and even help you create a slide deck with data stories.

An executive summary is content created from your visuals and natural language prompt that you provide on a selected worksheet.
It is very easy to get started under Preview with the 30 day free-trial.

Until the next lesson happy learning! 😁

Resources and Amazon QuickSight Community

You may watch this video to learn how to use Generative BI with Amazon Q to build dashboards in Amazon QuickSight:

If you would like to learn more, be sure to have a look at Amazon QuickSight Community:

Amazon Q November 28 -- Announcements at AWS re:Invent 2023 - What's New / Blog - Amazon QuickSight Community

Amazon Q Announcements, November 28 at AWS re:Invent 2023 New Amazon Q in QuickSight uses generative AI assistance for quicker, easier data insights (Preview) Now you can experience the Generative BI capabilities in Amazon QuickSight announced on July 26, as well as two additional capabilities for business users. Amazon Q in QuickSight simplifies data exploration with Generative BI capabilities (Preview) Amazon QuickSight announces three new natural language capabil...

favicon community.amazonquicksight.com

Did you miss AWS re: Invent 2023?

You may watch these highlight sessions discussing Amazon Q from AWS re:Invent 2023 last week from Las Vegas. I recommend the following to watch:

  • Senior Principal Engineer, Clare Liguori - Amazon Q: Your new assistant and expert guide for building on AWS

  • CEO at Amazon Web Services, Adam Selipsky's Day 2 keynote, watch Amazon Q announcements from timing [01:22]

References

Next Week - Join an AWS re:Invent 2023 recap in Australia or New Zealand.

You may find more details for Re-cap sessions happening this week in your local city.

If you are located in Sydney, you may register to attend AWS re:Invent 2023 recap on Thursday 14 December this link

500 million+ members | Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities.

favicon linkedin.com

Top comments (0)