on 02-09-2016 5:32 AM
Hi Gurus
I am facing a problem related to displaying the count of specific object([Legacy Postal Code] and [Cleansed Postal code] in my case)which are having empty records.I have used IsNull() but it fails for those set of records which are having Numeric values and not displaying the exact count due to this.The IsNumber() function is not working as well.Could anyone help in providing the solution for this?Attached below the screenshots for reference:
case 1:
case2
case3
The legacy_count formula:
Hi
create varaiable as below for legacy postalcode & cleansed postal code .
v1= if(isnull(postalcode) then "1' else"0"
same to cleansed . now take count of v1 and use this in final output.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seshu
The variable v2:Consolidated Postal code null values is not clear to me.Could you please explain that further a bit or did u mean:Cleansed Postal code which is another dimension used in my reports.I have used "count([Legacy Postal code]) in case of Consolidated count,but its not working.
Thanks
Moumita
I mean create 2 count variables one for legacy postal & another for consolidated postal code as
v1= if(isnull(legacy postalcode) then "1" else"0"
v2=if(isnull(consolidatedpostalcode) then "1" else "0"
now take count v1& count v2 it will display null values count of both postal codes.
now create another variable with condition as if(v1)="1 " and v2 ="1" then "1" else"0"
now take this final count in cleansed postal code output.
Thanks.
Hi Maity,
What you are expecting I didn't understand you want to count null values or do you want to ignore null values in count
if you wan to ignore count of null values then no need to create any variables .
based on sample data I applied just count onlegacy postal code & count of cleansed code as below.
Are u expecting this ? if so then just apply count function.
Thanks
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.