Forum Discussion
sabedin
8 years agoHelper I
Top visited category description
I need help with the attached file. Please download it and see. I need a calculated column in 'Member_event_facts' table. I need it to show the top visited category name (club_event_groups[naam])...
sabedin
8 years agoHelper I
Vvelarde
8 years agoCommunity Champion
Hi, try this:
Top Visit Category =
VAR RankingContext =
VALUES ( Club_event_groups[naam] )
RETURN
CALCULATE (
FIRSTNONBLANK ( Club_event_groups[naam]; Club_event_groups[naam] );
TOPN ( 1; ALL ( Club_event_groups[naam] ); [Total visits] );
RankingContext
)Regards
Victor
- sabedin8 years agoHelper I
Great, thanks a lot Senjor Victor :)