Forum Discussion
bo_afk
5 years agoPost Patron
Using rank as filter
Hi, I have a table below which shows the number of visits to a web site for each customer based on the channel. I've also created a measure to rank the channel for each customer (using RANKX). What...
bo_afk
5 years agoPost Patron
camargos88 Sorry I should say that "Paid search" shouldn't have a rank of 1 because the total number of visits for customer E through this channel is 1, whereas the total number of visits for customer E through "Direct load" is 2. Does this make sense?
camargos88
5 years agoCommunity Champion
- bo_afk5 years agoPost Patron
Hi camargos88, thanks for this!
Weirdly, it doesnt seem to work with my dataset and I'm not too sure why...it's still showing rank 1 for customer E for both 'direct load' and 'paid search'.
But I can definitely see that it's worked with the one I gave you. Maybe I need to reload my data back into my report or something. Will try to figure out what's caused this.
- camargos885 years agoCommunity Champion
bo_afk ,
Keep in mind that if you have the ties, the values are gonna be the same, so you need to break it.