Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Disregard Current Selection Together with other Parameter in Set Analysis

Dear all,

I have a data source similar to the following one

File_IDUser_IDAdminOwner
0001U001AV
0002U001A
0003U003AV
0004U003A
0005U002V
0006U001A
0007U004A
0008U002V

I want to create a chart like the following.

The dimension i used is

=aggr(if(rank(aggr(count(Admin),User_ID))<=vTopN,User_ID)),User_ID)), where the variable vTopN is set to be 3

and the expression is

=count({Admin={'A'}} Admin)

=count({Owner={'V'}} Owner)

User_IDAdmin CountOwner Count
U000131
U000321
U000410

The table created is as what I expected.

What I am not able to achieve now is that when I double click on the User_ID, the resulted table will show the only Used_ID that I clicked.

I know that I can added a set analysis expression like =count({$<Admin={'A'},User_ID=>} Admin) to disregard the current selection,

but it is no working this time. I wonder if it is related to the other set analysis expression that I am using.

Could anyone help? Thanks a lot.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand

View solution in original post

6 Replies
Gysbert_Wassenaar

See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

pic.jpg

Thanks for your reply. Sorry that I may have make it clear in my question. Actually I would like to disregard the current selection so that when I click on the User_ID U001, the table will remain like table 1 instead of table 2. Wonder if there is any way to achieve this based on my existing dimension and expression.

Gysbert_Wassenaar

In that case, try using Dimension Limits. See attached updated qvw (don't forget to delete my earlier document first).


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot for your reply. It works well.

Just wonder if there is alternative apart from the dimension limit.

The reason I ask this is that I want to replace Admin with a variable, say vField. So that use that chose either Admin

or Owner on the fly, and there is also a variable called vTop, which allow users to choose the Top N Owner/Admin.

Gysbert_Wassenaar

See attached qvw.


talk is cheap, supply exceeds demand
Not applicable
Author

Million thanks! it is exactly what I need