Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
How can i count empty/blank string values in a expression ?
Maybe try something like this:
For empty/blank values = Count({<[Your Dimension Name] = {''}>} [Your Dimension Name])
For null values = Count({1 - <[Your Dimension Name] = {"*"}>} [Your Dimension Name])
try
=Count(Null())
=Sum(Null())
Maybe try something like this:
For empty/blank values = Count({<[Your Dimension Name] = {''}>} [Your Dimension Name])
For null values = Count({1 - <[Your Dimension Name] = {"*"}>} [Your Dimension Name])
that doesnt work
I have already the count of actual NULL value by using NullCount(ProductModel)
But, now i want to count the empty string fields inside ProductModel , how can i do that ?
= Count({<[ProductModel] = {''}>} [ProductModel])
= Sum( {$<ProductModel = {''}>} ProductModel )
hi akintosh,
try as below:
In script:
load *,
if(LEN(TRIM(FieldName)) = 0,'1','0') Flag
From ......;
In expression:
count({< Flag = {1}>}FieldName)
Please see my original answer.
worked perfectly, thanks!
You are welcome.