Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Remove wrong legend

Hi community,

I have dimension

=MYear&' (n='&aggr(Count([qID_10395_Purpose of visit MARKETING]),MYear)&')'

and in result

Capture.JPG.jpg

How can I remove (n=1)?

Capture1.JPG.jpg

It works where I use only MYear without aggregation.

Thanks,

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Maybe like

=MYear& if(MYear,' (n='&aggr(Count([qID_10395_Purpose of visit MARKETING]),MYear)&')')

View solution in original post

2 Replies
swuehl
MVP
MVP

Maybe like

=MYear& if(MYear,' (n='&aggr(Count([qID_10395_Purpose of visit MARKETING]),MYear)&')')

Anonymous
Not applicable
Author

Thank you!!!!!