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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
murozel76
Contributor III
Contributor III

Ranking with&without dimensions...

Hello All,

I have a data set with these fields, briefly: DATE, REGION,BRANCH,RM,SCORE.

DATE-BRANCH-RM together form a "unique" combination in the dataset and REGION-BRANCH-RM is a hierarchy.

Now, what I want to do is, to create a straight table chart with the columns;

     "Region", "Branch", "RM, Score", "Rank(affected by selections)", "Rank(not affected by the selections other than DATE)".

This way, for example when a spesicific Region is selected, I expect the table to show the ranks of RM's in their region in one column, and the overall ranks of RM's in the other (rank among all RM's regardless of the region). Ranking will be calculated on the SCORE field as measure. As a second step then, I will need to write these ranks in two seperate text objects to display the ranks of a selected RM each time.

I made some search in the Community discussions and unlike my previous trials on different matters,  I couldn't find a spesicific example exactly matching my case this time.

I would be more than pleased if anyone could help me on this.

Regards,

1 Solution

Accepted Solutions
murozel76
Contributor III
Contributor III
Author

I have solved this problem. By studying a few hours together with a number of searches on  QlikCommunity, I figured out how to make a macro for this purpose and it worked out. For those interested, I have a chart having the ranks I need and I get the rank from the relevant cells of that chart by running a macro each time. As expected, I also have triggers to run the macro.

Regards,

View solution in original post

2 Replies
murozel76
Contributor III
Contributor III
Author

Any suggestions on this?

Any help appreciated.

Regards,

murozel76
Contributor III
Contributor III
Author

I have solved this problem. By studying a few hours together with a number of searches on  QlikCommunity, I figured out how to make a macro for this purpose and it worked out. For those interested, I have a chart having the ranks I need and I get the rank from the relevant cells of that chart by running a macro each time. As expected, I also have triggers to run the macro.

Regards,