Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Trouble with calculated dimension ignoring current selection

Hi everybody:

I'm trying to make calculated dimension ignoring part of the restriction of current selections.

I have data about a test. There are three teams that have passed the test. I have the name of the team members, the score they got in the test and the team they belong to.

I want to compare myself with the rest, so when I select a team in the team selector I want to compare the members of the team with me.

I have tried to make a calculated dimension in this way:

=Aggr(only({<Team={"*"}>+1<Name={'Me'}>}Name), Name)

but it doesn't work.

Can anybody help me?

1 Solution

Accepted Solutions
4 Replies
sunny_talwar

Please don't create duplicate threads -> Trouble with calculated dimension ignoring selections

Anonymous
Not applicable
Author

Sorry

sunny_talwar

No worries

paolocamerini
Partner - Contributor III
Partner - Contributor III

Hello!

Let's make things simpler.

See the attached .qvw

Moved the Only function into expressions. Put a persistent column pointing out "me" score and tweaked the graph a little to make it look better.

Obviously it can be done a lot better but it gets to the point!