Forum Discussion

pbininja's avatar
pbininja
Frequent Visitor
6 years ago

Best Rank within category

Dear all,

 

So what I am looking at is finding out the highest/best Rank for the 'Social network' and the month which had this best Rank. Just attaching a sample data. The original data runs into a million rows for multiple months. Would want a measure ideally to calculate the measure, so that if I have a slicer to Social network and Gender, it would give me the best rank and for which month and the followers in that best ranked month.

 

Sample data:

MonthSocial NetworkGenderNew followers
Jan-20InstagramFemale90
Jan-20FacebookFemale87
Jan-20SnapchatFemale71
Jan-20TiktokFemale68
Jan-20TiktokMale99
Jan-20FacebookMale96
Jan-20InstagramMale95
Jan-20SnapchatMale81
Feb-20SnapchatFemale69
Feb-20FacebookFemale46
Feb-20InstagramFemale45
Feb-20TiktokFemale34
Feb-20FacebookMale94
Feb-20InstagramMale83
Feb-20TiktokMale31
Feb-20SnapchatMale29
Mar-20FacebookFemale86
Mar-20InstagramFemale73
Mar-20TiktokFemale55
Mar-20SnapchatFemale26
Mar-20InstagramMale93
Mar-20TiktokMale92
Mar-20SnapchatMale76
Mar-20FacebookMale41

 

Excepted result:

Social NetworkGenderBest RankMonth(Best Rank)Folowers (best Rnk mth)
FacebookFemale1Mar-2086
FacebookMale1Feb-2094
InstagramFemale1Jan-2090
InstagramMale1Mar-2093
TiktokFemale3Mar-2055
TiktokMale1Jan-2099
SnapchatFemale1Feb-2069
SnapchatMale3Mar-2076

 

Thanks in advance

 

Regards,

Nithish

3 Replies