Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All.
1. if division is Excutive then we have to disply EC name as CEO.
2. if EC name is null then -- we have to display EC name as Visitors/Others.
can any correct the below condition which we are using as a calculated dimension please as per the above seanario...
if(ISNULL[EC Name]= 'Visitors/Others',(if(Division) = ‘Executive’, CEO))
EC Name is 'N/A' so we are considering it as NULL..
if(division='Executive',
CEO,
if(len(trim([EC Name])=0 or [Ec Name]='N/A',
'Visitors/Others',
[EC Name]
)
)
Thanks Robin,
But getting syntax error.
if(division='Executive','CEO',if(len(trim([EC Name])=0 or [Ec Name]='N/A','Visitors/Others',[EC Name])))
i have verified couple of times all braces are closed properly, No idea why am getting that.
right parenthesis missing in len(trim( ......
and the last one is to be suppressed
if(division='Executive','CEO',if(len(trim([EC Name]))=0 or [Ec Name]='N/A','Visitors/Others',[EC Name]))
Thanks again, but still getting some counts under null category.
we want those counts as well under 'Visitors/Others' only. Can you change the expression please.
you have to check the values of Ec Name concerned so you can add the needed condition in the statement
Can you show use the list of values coming from your field EC Name?