Tutorial: Create a Google Sheets data source (2024)

Access your Google Sheets data in Looker Studio reports.

A data source provides the data for a Looker Studio report. In this lesson, you'll create a data source that connects to one of your own Google Sheets.

In this article:

  • Prepare your data
  • Connect to Google Sheets
  • Configure the data source
  • Name the data source
  • Share the data source
  • Use the data source in reports
  • Related resources

Tutorial: Create a Google Sheets data source (1) Prepare your data

Follow these tips to make working with your Sheets data in Looker Studio easier:

Use a separate worksheet for Looker Studio data

Spreadsheets let you store and analyze your data in a flexible format that might be difficult to model in Looker Studio. We recommend creating a separate worksheet for the data you want to see in Looker Studio.

You can automate getting data from one worksheet into another using Google Sheets functions. For example:

='Worksheet 1'!A1 - copies the contents of cell A1 in Worksheet 1.

Sheets provides others ways of fetching data from one cell or range of cells into another, including:

VLOOKUP

HLOOKUP

Table format

  • The worksheet or range you connect to should have a simple tabular format. Each column should contain only single cells: merged cells may cause your data to appear incorrectly.
  • Cells should only contain data: you can't import graphs or images, for example.
  • The first row of the worksheetprovides the field names in your data source.

Date format

  • Dates in your Google Sheet should contain the full day, month, and year, for example,9/22/2020 or2020-09-22.
  • If you have time data, it should be combined with the date field,for example,9/22/202011:55:30.

  • Date fields should be formatted as dates (using the Format > Number > Date menu option in Sheets).

Other ways of handling dates are possible, but may require more work on your part.

Learn more about handling dates and times in Looker Studio.

Data structure

Organizing your data in certain ways can make it easier to work with in Looker Studio. For example:

Long is better than wide. Limit the number of dimensions by grouping data into categories, rather than having columns for each possible value. For example, if you are measuring sales of fruit from a grocery store, doing this:

Date Fruit Quantity Sold
2017-07-06 Apples 100
2017-07-06 Oranges 75
2017-07-06 Bananas 150
2017-07-07 Apples 80
2017-07-07 Oranges 95
2017-07-07 Bananas 175

Long table example

...is better than this:

Date Apples Oranges Bananas
2017-07-06 100 75 150
2017-07-07 80 95 175

Wide table example

In the long table example, your data source only requires one dimension for the Fruit category, whereas the wide table example requires one dimension for each type of fruit. If you sold 100 varieties of fruit, you'd need 100 dimensions to measure them all using the second example. This would be impossible to display in a Looker Studio chart.

Grouping your data series into dimensions also makes filtering in Looker Studio easier. For example, in the long table example, it's easy to build a filter on Fruit = "Apples." In the wide table example, you can't filter by type of fruit.

Understand your aggregations. If your Sheet includes aggregated data, such as sums, averages, medians, etc., be careful not to mix that data with unaggregated data in Looker Studio charts. If you do, the numbers in those charts might not be correct. For example, let's say the wide table above included a Totals row:

Date Apples Oranges Bananas
2017-07-06 100 75 150
2017-07-07 80 95 175
Totals 180 170 325

Wide table with totals

Scorecards in Looker Studio would display inflated numbers for each of the fruit dimensions (because it adds the totals to the un-aggregated metrics):

Apples

360

Oranges

340

Bananas

650

Scorecard examples

In this case, it's best to not include the totals row in the data source and instead, let Looker Studio calculate the totals.

Tutorial: Create a Google Sheets data source (2) Connect to Google Sheets

The first step in creating a data source is to connect to your data set.

  1. Sign in to Looker Studio.
  2. On the Looker Studio home page, in the top left, click Tutorial: Create a Google Sheets data source (3) Create and then select Data Source.
  3. In the connectors panel, select Google Sheets.
  4. Select a Spreadsheet and Worksheet.
  5. Optionally, uncheck Use first row as headers. The fields in your data source will instead use the default Sheets column labels: "A," "B," "C," etc.
  6. Optionally, uncheck Include hidden and filtered cells. These will now be excluded from the data source
  7. Optionally, specify a range of cells. Otherwise, the entire worksheet is used.
  8. Click CONNECT in the upper right. The fields panel appears.

Tutorial: Create a Google Sheets data source (4) Configure the data source

Thedata source configuration page contains all the dimensions (the green chips) and metrics (the blue chips) from the data set. You can fine-tune the data source by renaming or disabling fields, adding calculated fields, and changing the aggregation and data type.

Learn more about modeling your data.

Tutorial: Create a Google Sheets data source (5)

Add a metric

You can add a metric to the data source by clicking Tutorial: Create a Google Sheets data source (6) next to a dimension and selecting one of the available functions. You'll need at least one metric to chart your data in Looker Studio.

Tutorial: Create a Google Sheets data source (7)

Tutorial: Create a Google Sheets data source (8) Rename your data source

Tutorial: Create a Google Sheets data source (9)

Looker Studio automatically names your data source the same as your data set name. If you want to change that, click the name in the upper left and enter a new name.

You can also rename the data source later from the DATA SOURCES home page by clicking the context menu and selecting Rename.

You can let other editors add this data source to reports by sharing it with them.

To share a data source

  1. In the upper right, click Tutorial: Create a Google Sheets data source (10)Share.

  2. Enter the email addresses or Google Groups that you want to share with.

  3. For each person or group, select the access (permissions). Permissions determine what other people can do with the data source. Your choices are as follows:

    • Can view. People with this permission can view but not edit the data source.

    • Can edit. People with this permission can both view and edit the data source.

Tutorial: Create a Google Sheets data source (11) Use this data source in reports

Tutorial: Create a Google Sheets data source (12)

You can now create reports that get their data from your Google Sheet:

  1. Click CREATE REPORTin the upper right
  2. You'll see the report editor tool, and a table appears with fields from that data source.
    1. Use the properties panel on the right to change the data and style.
  3. In the top left, name your report by clicking Untitled Report.
  • Google Sheets connector
  • Report tutorials
  • Share a data source
  • Copy a data source
  • Calculated fields
  • Data source credentials

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Post to the help community Get answers from community members

What's new in Looker Studio?

Learn about new features and recent changes.Looker Studio release notes live onGoogle Cloud.

Tutorial: Create a Google Sheets data source (2024)

FAQs

Tutorial: Create a Google Sheets data source? ›

Connect to Google Sheets

Create and then select Data Source. In the connectors panel, select Google Sheets. Select a Spreadsheet and Worksheet. Optionally, uncheck Use first row as headers.

How to create a data source in Google Sheets? ›

Connect to Google Sheets

Create and then select Data Source. In the connectors panel, select Google Sheets. Select a Spreadsheet and Worksheet. Optionally, uncheck Use first row as headers.

How do I create a data connection in Google Sheets? ›

Add a BigQuery project
  1. On your computer, open a spreadsheet in Google Sheets.
  2. In the menu at the top, click Data Data connectors. Connect to BigQuery.
  3. Choose a project. If you don't find any projects, you need to add one.
  4. Choose a table or view. ...
  5. Click Connect.

How do I create a simple database in Google Sheets? ›

How to Create a Database in Google Sheets: 6 Standard Steps
  1. Step 1: Open Google Sheets and create a new spreadsheet. ...
  2. Step 2: Create columns to define data fields. ...
  3. Step 3: Add the data. ...
  4. Step 4: Sort your data. ...
  5. Step 5: QUERY your database. ...
  6. Step 6: Share your database with the team.
Nov 30, 2023

How to make a data set in Google Sheets? ›

Create Dataset from Google Sheets
  1. Access New > Datasets > Create New. You will be redirected to the Dataset Editor.
  2. Dataset Editor > Info tab. Enter the basics: ...
  3. Define the Settings for Data Collection. ...
  4. Plug-in command will be validated and Data Collected on Save. ...
  5. Dataset will be displayed in Viewer.
Mar 25, 2024

How do I automatically pull data into Google Sheets? ›

Import Live Data to Google Sheets: Top Methods and Tools
  1. Step 1 – Install Coefficient.
  2. Step 2 – Import Live Data.
  3. Filter, sort, and limit rows to import only the data that you want into Google Sheets.
  4. Step 3 – Schedule Automatic Data Refreshes.
Jun 16, 2023

How do I create a data tracker in Google Sheets? ›

If you want to make a tracker on Google Sheets that can track tasks, the best way to do it is to list all your tasks in the far left column, and then have a variety of status columns on the right. This could be things like not started, pending, completed and so on. Simply mark the appropriate column for each task.

Is it good to use Google Sheets as a database? ›

There are many reasons to use Google Sheets as a database, but they mainly relate to the following aspects: Data loss won't be an issue: Google Sheets is a web application, which means that your data will always be accessible online.

Can Sheets be used as a database? ›

Absolutely! Your main challenge when using a Google Sheets database is making sure it has all the data you need. As long as you can feed data to Google Sheets, you can use it as a database. That may mean manually exporting information from other tools or using integration solutions.

How do I create a data series in Google Sheets? ›

Highlight the cells. You'll see a small blue box in the lower right corner. Drag the blue box any number of cells down or across. If the cells form a series of dates or numbers, the series will continue across the selected cells.

How do I create a data model in Google Sheets? ›

Creating a Google Sheets model
  1. Choose your Google Sheets connection.
  2. Name your model.
  3. Choose the spreadsheet tab you want to pull data from.
  4. Pick your model fields.
  5. Click Save.

How do I automate a data collection in Google Sheets? ›

Automate tasks in Google Sheets
  1. Create a macro. On your computer, open a spreadsheet at sheets.google.com. ...
  2. Edit your macro. You can change the name, add a keyboard shortcut, edit the script, or remove a macro. ...
  3. Schedule your macro. ...
  4. Import custom functions.

How do you source data from another Google sheet? ›

Get data from other sheets in your spreadsheet
  1. On your computer, go to docs.google.com/spreadsheets/.
  2. Open or create a sheet.
  3. Select a cell.
  4. Type = followed by the sheet name, an exclamation point, and the cell being copied. For example, =Sheet1! A1 or ='Sheet number two'! B4 .

Top Articles
Argentina Travel Tips
Best Hardware Wallets 2024: Top 5 Crypto Cold Storage Picks
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 5439

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.