Excel 2010: Hide 0 values in Pivot - pivot-table

Is there a way to hide or show a blank cell in a Pivot table for cells that compute to zero?

Use a number format to hide zero values in selected cells:
Follow this procedure to hide zero values in selected cells. If the value in one of these cells changes to a nonzero value, the format of the value will be similar to the general number format.
1.Select the cells that contain the zero (0) values that you want to hide.
2.On the Format menu, click Cells, and then click the Number tab.
3.In the Category list, click Custom.
4.In the Type box, type 0;-0;;#
Notes
- The hidden values appear only in the formula bar — or in the cell if you edit
within the cell — and are not printed.
- To display hidden values again, select the cells, click the Cells command on
the Format menu, and then click the Number tab. In the Category list,
click General to apply the default number format. To redisplay a date or
a time, select the appropriate date or time format on the Number tab.
http://office.microsoft.com/en-us/excel-help/display-or-hide-zero-values-HP005199879.aspx

I have tended to do it this way:
Right click on one of the row labels
Select 'Filter'
Select 'Value Filters...'
Select 'Sum of x' 'does not equal' 0 (where x is the value being summed)
The problem is where Excel falsely reckons the sum is a very small non-zero value. Workaround:
'Sum of x' 'is not between' -0.001 and 0.001 (depending on the precision you are working to)

Related

In Finicast, I am unable to apply my formula on a group of cells in my pivot table

I was trying to build a periods model using Finicast. I am stuck at this step where I apply a formula to the cells with dimension 'Fcst' and 'Revenue' in my pivot table.
Based on my understanding, if I select Revenue cell for month of Jul22, the formula THIS("idx") should have been applied and the cell should contain the value 7 instead of 0. I have other formulas applied to this cell. But I have my rev_fcst formula top precedence to apply on this cell. Irrespective of which order I apply the formulas in, in this selection, the value for months & Revenue cells remain 0.
What am I missing here?
I have added images of my formula bar, pivot table, and dimensions
The formula bar
The rows highlighted by selecting Fcst and Revenue
periods table for reference
Looking at the image you posted, you have a set of "hardcoded" 0's for Jul22, Aug22 and Sep22. Click on those cells and press the Delete key to remove the hardcodes, and then the underlying formula will show-up again.

Google Sheets - query for one tab works great but I get Value error when adding a 2nd tab to the query

In a Google Sheet I am wanting to compile data from a specific date across multiple tabs chosen by using Query and Select. My formula works perfectly for the query of 1 tab, but when I add a second tab (there are about 17 in total I want to add), I get the following VALUE error:
"Function QUERY parameter 3 expects number values. But 'select * where B=date '2021-10-12' order by C ASC' is a text and cannot be coerced to a number."
Here is a link to an editable copy of the document. The formula is in the first tab (Schedule), cell A3:
Editable copy of the sheet here

Chart showing a comparison after checking a checkbox

I'm trying to figure out how to connect checkbox with chart.
What I need to do is the following:
I have a chart showing two lines (two sets of data, lets name them A and B).
After checking a checkbox "compare A with previous period" or "compare B with previous period" those data disappear and instead of them a suitable comparison is shown.
I know that it is possible to make checkbox dependent chart like here:
https://datastudio.google.com/reporting/23a0d8ac-96c0-42cc-a991-5a21bc7c9962/page/VvbsB?s=rw4uzVA5G9Y
but I don't know how to do it.
I tried looking for the solution on the Internet, but nothing found.
Thank you for your help in advance.
A step by step introduction how to blend data and add checkboxes to show/hide graphs. Also how to do a calculation across datafields in different datasets, which were blended.
Add to the dataset a checkbox with the name compare_a_with_previous_period the field 3days average on/off with
case when compare_a_with_previous_period then 3days average else null end
Depending on the checkbox data is shown in that field or not (null). For blending/joining the data over different dates, a timeshift has to be done. Therefore, create a field date_old with
datetime_add(Date,interval 30 day)
Create an parameter show_differences with range 0 to 1 and add a field show_differences with
case when show_differences = 0 then 0 else 1 end
This will later be used to switch on/off the graph for the difference calculation.
Blend the data with itself using date and date_old as join and range. And rename the 3 day average to 3 days_old
Add the chart and click on the "add metric"
and enter
case when show_differences > 0 then 3days average - 3days_old else null end
to do a calculation between the bend datasets. Under Style set the missing data to "Line Breaks".

How have a row change color from data in a cell

I have a Google Sheet that I am making and I am having trouble with a format. I have columns from A-Q and cells from 4-100, what I want to be able to do is the last column (Q) is for invoice #'s so I want to be able to when someone enters an invoice number the whole row changes color, is that possible?
You need to create a conditional format with the custom formula
=NOT(ISBLANK($Q2))
In the "Format" menu, select "Conditional formatting...", then apply the pictured settings.

How do I hide a matrix column?

I have a matrix in SSRS 2008R2.
It has the following features:
2 Row Groups (X,Y from let to right as you look at the report)
1 Column Group (Date)
Y is toggled via X; and when first rendered Y groups will not be visible
I'd like all column Y to be initially Visible=False, then if a user expands any of the items in column X, say group item Q, then column Y becomes visible, and all the items in Y associated with Q are also visible.
I understand about using the (Static) columns to expose the column vibility property and I've created a Boolean variable IsYvisible, and used this in the property so that there is now a radio button which switches the column visibility - I want the visibility of column Y to be toggled whenever a user clicks on any of the "+" signs in column X.
Select the tablix and right-click the grey button at the top of your Y column, then select 'Column Visibility'.
Use that for your hide/show/display toggle settings, it sounds like you hid the text boxes inside the column resulting in your blank space.

Resources