Forum Discussion
Bug in COUNT function?
- 9 years ago
Anonymous
COUNTA can count TRUE/FALSE column but COUNT still raises an error.
Best Regards,
Herbert
Hi Anonymous
Much thanks for your response.
This is dummy data created to practice the COUNT/ COUNTA functions. As per my understanding, COUNT is supposed to give error when used with a Text column, but it doesn't. Also, the location for Product ID 2 is empty, not " ". If COUNT is working similar to COUNTA, what really is the difference between the two ?
Regards
Rameen Dhall
Hi Anonymous
I don't see the option of Transform on right clicking Locn. So I created another column : Column = TRIM(CountDataCSV[Locn]) and changed the function to refer to the new column : countlocn = COUNT(CountDataCSV[Column]). Still getting count as 5 :(
Regards
Rameen Dhall