Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a line chart showing count for a name selected in filter date wise. In case no name from filter is selected, chart depicts data for a default name set in a variable.
Now i want to show the title of that chart as the name for which it is reflecting data.
I am using the following expression to do this.
if(getselectedcount(name)=0,
$(name_default),
getfieldselections(name))
The filter is limited to select only one value at a time.
Other than getfieldselections(), i also modified the expression as follows:
if(getselectedcount(name)=0,
$(name_default),
name)
Now, instead of name, i get the following error message:
Can anyone let me know what i am doing wrong.
Thanks in advance.
Regards,
Disha Ahuja
Expression looks okay & with this expression:
if(getselectedcount(name)=0, $(name_default), name) //It shud give you '-' instaed of ')'
Any other expression you are using?