Professional Documents
Culture Documents
Now, I want that the Sales Revenue column will only be displayed, when the Lines is Accessories.
For all other lines, this column will be hidden. To achieve this, the steps will be:
1. Click on the Sales Revenue column and modify the formula for the column(=[Sales Revenue]
initially) in the function panel as:
=I f ( [ Li nes] =Accessor i es; [ Sal es Revenue] ; hi de)
2. Click on the header of the column and modify its formula as:
=I f ( [ Li nes] =" Accessor i es" ; NameOf ( [ Sal es Revenue] ) ; " hi de" )
3. Now create an alerter and put the condition as Cell Contents Equal to hide
4. Click on Format and set the font, background and the borders as colorless
5. Now refresh the report and change the filter to anything other than Accessories (I have taken
Sweaters). The sales revenue column will no longer be visible
6. Now again refresh the report and put the filter as Accessories, the column will become visible
again
The conditional hiding may be based upon various conditions (like Report Filter, Input Control
based etc) where the formula for the column will change a bit. However the implementation of the
alerter will remain the same.