I have a data from Google Forms that came from a multiple choice grid. I need to recreate the histogram that was created in the Google Forms in Google Data Studio.
Here is the data. How can I recreate it in Google Data Studio? It has turned out to be surprisingly challenging.
Data
The solution is to unpivot the columns B, C, D (which are your questions) . I did it Power Query using Excel (Office 365) because unpivoting columns in Google Sheets is a huge pain, and not done by default. The new expanded column will help you get the desired histogram.
Related
I've created a pivot table and added a slicer which works fine
However I want to use the slicer on a different sheet (dashboard control)
But when I place the slicer on a different sheet (I tried copying the original slicer as well as creating it from scratch and specifying the reference data)
I am able to create the slicer, and it even gives me the option of selecting the column. But this slicer in the new sheet doesn't do anything. I pick Test 2 or Test 1 for the site and the pivot table doesn't filter
(I removed the original slicer first, so this new one on the new sheet is the only one)
Can slicers not be used on a different sheet to the data?
Upon testing and looking for documentations, I am not able to confirm that it works on other sheets. Based on my testing. It doesn't affect other sheets, just where the reference is and the slicer and pivot should be in the same sheet as well.
For my case, I was trying to add a slicer to a graph that is based on a pivot table. The graph is in a separate sheet (along with other graphs as part of a dashboard), and the pivot table is used to aggregate raw data (also in its own sheet) for visualization purposes only and not particularly useful for user consumption. I then added a slicer that referenced the raw source data onto my dashboard sheet. Similar to OP, I couldn't get the slicer to work as intended with this setup. This issue seems to persist for graphs as well with no apparent solution for this use case.
I did find, however, that you can have a slicer on the pivot table and it be in the dashboard control and still work. I realize (as also in my case) that it doesn't solve your issue, but at least it might provide an alternative path to solving your problem if you can work your data in a different way.
Here's a copy of the sheet you provided to demonstrate the same issue for graphs as well along with a comparison to a slicer directed on the pivot table (please excuse the ugly graphs): https://docs.google.com/spreadsheets/d/1wX9crIPxs7mMTsBRMU84xfGoi4pF9rEiv-l2fYHfbak/edit?usp=sharing
It seems that Google Sheets currently only supports slicers that are "one degree" away or one degree of depth, meaning you can not have any sheets in between the data source you want to filter and your desired output sheet.
Looking for a way to pull historical data from google finance on an annual basis. Looking to have a sheet similar to the image below
I'm trying to use the function =GOOGLEFINANCE(A1, "Shares",date( ) ) for outstanding shares but keep getting #n/a
any help would be appreciated!
unfortunately, this is not supported in GOOGLEFINANCE. see:
https://support.google.com/docs/answer/3093281?hl=en-GB
I use TIKR which has good 10+ year financial data. It has a useful feature Copy Table which can be pasted into Google Sheets.
I use a temp sheet for this, so I can extract the rows/cols I want using script.
I'm trying to generate a chart in Google Sheets that will show data for specific days in a week (a chart for Monday, Tuesday, etc.) I have sequential dates running in a single column down the rows and I am able to chart the other data associated with these dates from the other columns, however, I can't seem to select the data for every Nth row, only for all rows.
The only solution I could come up with is manually adding a new Series for every instance, but this isn't a viable solution.
To simplify, I have a chart showing trends throughout the entirety of my dataset, but I'd like to have charts for days of the week as well (SUN - SAT). Is there a way to do this inside of Google Sheets, or is there an external tool that will be necessary?
Its very possible.
It would be easier if you could share a sample sheet with some data.
This is the basic idea, say your Dates are in A and your data is in B. This formula:
=FILTER(A2:B,WEEKDAY(A2:A)=1) would show ONLY sunday data, =FILTER(A2:B,WEEKDAY(A2:A)=2) would show ONLY monday data,
etc.
From what I understand, you want the charts to grab data continuously as you add data to the sheet.
I think it's time to introduce you to Google Charts API.
There are two approaches I can foresee of the top of my head:
Use an Apps Script to build your chart with the Charts service and the Spreadsheets Service and embed it into the spreadsheet.
OR
Deploy the script as a a Web App and build a charts dashboard using the Charts API
Either way you can harness all the power of Apps script.
Further reading:
How to use Google Charts
Query Language Reference
Is there a way to get around the 50 million cell count rule? Can this be done by using 2 separate workbooks?
We have a lead tracking system that we have built in a Google Sheets workbook and with the way our leads get updated we have already hit the 50mil record count in Google Sheets over the past 3 months. Deleting the data is not an option as we have to analyze weekly monthly quarterly and yearly stats.
I am pretty sure IMPORTRANGE would still hit the 50mil cell count limit.
Is there a way around this limit?
Update:
So a way to combat the cell limit is to totally delete all columns and rows that you do not use and are empty. Trimming the sheets down to just what you have filled in rows and columns.
Apparently if the cell has no data in it it still counts against your cell count despite it being empty.
This is not a solution per say but it is a way to make sure empty cells are not counting against your cell count.
Answer:
There is no way around this. According to the Google File Size documentation[1], the limits on a Spreadsheet are:
Up to 5 million cells or 18,278 columns (column ZZZ) for spreadsheets that are created in or converted to Google Sheets.
Things I Tested:
Starting in 2019 it became possible to edit Office files natively in G Suite[2] so I thought I'd give it a test. According to the specifications and limits page for Microsoft Office Excel[3]:
Total number of rows and columns on a worksheet: 1,048,576 rows by 16,384 columns
Which totals 17,179,869,184 cells.
As Spreadsheets that are created on Google Drive have the Google Drive limit, I created an Excel workbook on my local machine, with the maximum number of possible cells and uploaded it to Drive to see if it could be edited natively. Unfortunately, while the file uploaded successfully, attempting to open the file resulted in the following page:
More Information, Workarounds & Similar Services:
Honestly if you need more than 5 million cells in a Spreadsheet (or even 50 million!) then you're not using the right tool for the job. With this much data, you're likely better off using a database or a cloud data warehouse such as Google BigQuery[4] or Cloud SQL[5]
That being said, if Google Sheets/Spreadsheet workbooks really is the only way forward for you, the only thing I can recommend you doing is creating multiple Sheets files, separated into a more appropriate timeframe - each Sheet containing data for just a month. This will take a bit more time to set up (though you can use Apps Script for data migration between the Sheets), but in the long run will mean you will be able to use your data more effectively, and any data processing you need to do will complete within the Apps Script Quotas[6].
References:
Google Drive Help - Files you can store in Google Drive
G Suite Updates - "Office editing makes it easier to work with Office files in Docs, Sheets and Slides."
Excel specifications and limits
Google BigQuery
Google Cloud SQL
Google Apps Script - Quotas for Google Services
The goal is to hide the formulas in the cells in order to show only the data to the users in the very same spreadsheet.
Why? Currently I'm showing some information to the teams, but the formulas contain info that these teams shouldn't be able to know.
To minimize the problem I'm importing most of the data using formulas such IMPORTRANGE or QUERY but even those methods show the URL of the original spreadsheet.
Use a Script to copy isn't a viable solution due the amount of data and frequency some those sheets receive updates.