Jan 28, 2004 #1 sravala IS-IT--Management Jan 28, 2004 1 US Hi, In a Pivot fact column I need to count(distinct) of a column, but I want to ignore the null values, how can I do that. Thank you in adavance. Syamala.
Hi, In a Pivot fact column I need to count(distinct) of a column, but I want to ignore the null values, how can I do that. Thank you in adavance. Syamala.
Feb 6, 2004 #2 stacybost Programmer Aug 1, 2003 57 US Here's something to try: if (CountNull (Column_name) > 0) {CountDistinct (Column_name) - 1 } else {CountDistinct(Column_name) } Upvote 0 Downvote
Here's something to try: if (CountNull (Column_name) > 0) {CountDistinct (Column_name) - 1 } else {CountDistinct(Column_name) }