How to exclude null values in table calculation in Tableau? -


i'm trying present cohort analysis in tableau. dimensions first month visitor arrived , age of cohort, , measure number of visitors. i'd show percentage retained first month of each cohort on each cohort. problem when table calculation calculate percent difference tableau treats null values 0, incorrectly shows -100% loss lower half of table.

so example this:

     | 0   | 1    | 2    may  | 100 | 90   | 80   june | 200 | 170  | null  july | 300 | null | null    

turns when percentage difference table calculation respect first value in each row:

     | 0   | 1    | 2    may  | 0%  | -10%   | -20%   june | 0%  | -30%   | -100%  july | 0%  | -100%  | -100%    

but expect cells -100% should null.

is there way make tableau correctly deal null values nothing displayed in lower half of table instead of -100%?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -