Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
When hiding an expression 'Cost' in a pivot table using the conditional function of false(), it's removing the display of the other expression 'tons' (see result attachment) I'm not sure how to reformat the pivot table . The goal is to achieve the display in the first screen shot (before modification) but to remove or hide Cost column.
Before unchecking
Unchecking
After unchecking
I assume that the Tricia's problem here that there is no label for the column "Amount" (?)
If there is only one expression, the column header is gone.
Yes I have a label for Tons. Puzzled why it was removed when unchecking Enable.
Attached is the qvw.
Sending back with two changes.
- Applied colors to the dummy expression
- Ran the macro (by pressing Test in macro editor)
One more idea - in my file, go to the chart properties, tab Style, and uncheck "Vertical Expression Cell Borders". Much cleaner look...
Hi Tricia,
Try this in you conditional expression. It achieves your desired result without unchecking the enable box.
if(sum(Tonnage)>=0,0,1)
I'm new to macros. Where did you invoke the macro?
Clicked "Test" button (on the left) in the macro editor.
Kamiel,
Thank you. However, This produces the same result as unchecking enable box. Michael's suggestion is working.