GoogleSheets - Slicer on Pivot Table - google-sheets

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.

Related

With zapier & Google Sheets: How do I trigger a new line in the entire spreadsheet?

I'm a bit puzzled. I can't set Zapier to trigger when a new line is added to any sheet on a Google spreadsheet. They force you to choose a specific sheet. Any way around it?
Cheers!
You will need to create a different "Zap" event for each sheet. To my knowledge, there is no way around that.
However, the fact that you think Zapier should be able to have a single Zap be triggered by multiple sheets implies a couple or things:
1.) You're not yet sure what a "Zap" is.
2.) Your data in each separate sheet is very similar. And this causes me to wonder if your overall spreadsheet setup is less than ideal. Many people wind up setting up separate sheets for data collection, whereas in most cases, data collection should only be done in one sheet setup as a standard database, while other sheets show the data in different arrangements (i.e., reports).
You haven't given much detail or provided a link to the spreadsheet. But perhaps this will prompt you to dive into understanding Zapier a bit better and reconsidering the layout of your spreadsheet(s).

Legacy Values Left In Google Sheets

I'm currently using a Google spreadsheet that has many filter functions and many sheets, when one value is changed on one sheet the filter function on the other sheets is changed due to the condition changing and a recalculation occurs.
The bug seems to be that sometimes data from the previous filter function is left in the cells and is not cleared automatically. I have made a quick script that clears cells that have the potential to hold old data, which works but shouldn't be the case.
Has anyone else ever had this issue?
Thanks and I hope this has been explained well enough.

How to work around GOOGLEFINANCE failures?

I need historical data of currency exchange rates for my gooogle sheet and GOOGLEFINANCE function is just what i need. Here is the sheet with GOOGLEFINANCE data I copied from my project:
https://docs.google.com/spreadsheets/d/15cFmrS2IL6QZMJORCJxU16QtWQ-2hFNLORgM5pEgY_E/edit?usp=sharing
The problem is that sometimes (pretty often actually) GOOGLEFINANCE function crashes and returns error breaking the whole project:
that's how it looks when it crashes
It returns to normal after a while but it's really disturbing.
I couldn't think of a good way to work around that glitch so I'm asking for your help.
I thought about making cells with the following logic: IF GOOGLEFINANCE value is not blank then copy it ELSE keep old value making GOOGLEFINANCE return persistent but I'm not sure it's possible to do with Google Spreadsheets formulas.
For example above if we want to make L4 cell to contain persistent value of C4 cell, I want L4 formula to be like:
=IF(ISBLANK(C4),L4,C4) but then cell will refer to itself which is not allowed.
This is not possible without Apps Script
This is because sheet functions aka formulae, don't write values to cells. If you need to persist data, then you need Apps Script.
Unfortunately, GOOGLEFINANCE cannot be accessed outside of Spreadsheet formula. From https://workspaceupdates.googleblog.com/2016/09/historical-googlefinance-data-no-longer.html
it (is) not be possible to download historical data or access it outside of Sheets using Apps Script or an API.
Workaround (with Apps Script)
However, it is possible to set up an Apps Script function to read the displayed value of a cell with getDisplayValue(), and copy that to a backup sheet, where you somehow store historical data.
You could have a setup where you have one sheet with the GOOGLEFINANCE formula, another sheet with the backup values, and a final "Report" sheet. Then you could write another Apps Script function to examine both the sheets and build an output.
Further, you could set this up to run with Time-driven triggers, and it would be quite hands off.
References and further reading
getDisplayValue()
Time-driven triggers
Apps Script Tutorials

Hide formulas from non editors

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.

Disable automatic calculation for Google Spreadsheet

is it possible to specify to Google spreadsheet not to recalculate a specific sheet or number of cell everytime a modification is done ?
I have a very heavy sheet and it's very slow everytime i made a tiny modification, even if it's in an another sheet.
Seems that this feature is not supported by Google Spreadsheets. From a cursory search online the easiest way to work around this limitation is to make your formulas all conditional on a trigger. ie =IF(Boolean_Trigger,Your_formula,""). Trigger could be a cell, Named range, etc. Regards,

Resources