Skip to content

Summary

Recorded at the Cyprus Tableau User Group's in-person meetup in Limassol on 19 May 2026, "Tableau Mastery Offline: Calculations, Extensions & Affiliate Analytics", and published on the Cyprus Tableau User Group YouTube channel. Andrey Rozhkov, Business Intelligence Analyst at Exness, closes the evening with "The Pulse of the Affiliate Base: Segment Movement", promising no rocket science, just old-school dashboarding.

Andrey explains the activity segmentation behind the dashboard: a moving average of first-time deposits and registrations with a Bollinger-style channel around it, so affiliates inside the channel are active, those dropping below are at risk, then churned, then dormant. Requiring two consecutive points in the risk zone, the second lower than the first, cuts out false alarms.

The dashboard (with generated data, and affiliate managers named after Lord of the Rings characters) uses two stacked bar charts to answer where this month's active affiliates came from and what happened to them a month later, plus charts for reactivation and risk conversion and a table listing affiliates by previous and current segment. The technical tricks are a separate worksheet per manager shown with dynamic zone visibility (because reference lines can't take parameters), a switchable calculation window computed in SQL rather than with table calculations, and a single-value set driven by a set action that moves a marker to the selected affiliate. Questions cover the metrics used, weighting by value, sub-affiliates and noisy small affiliates.

Key points

  • Bar charts still deliver real business insight.
  • Segment by activity with a moving average and a channel of standard deviations around it.
  • Require two consecutive low points before flagging risk, to avoid false positives.
  • Show where active customers came from, and what happened to them a month later.
  • Dynamic zone visibility can swap whole worksheets when a feature, like reference lines, won't take a parameter.
  • Calculating in SQL keeps a dashboard checkable by data engineers without Tableau knowledge.
  • A single-value set driven by a set action can power a marker, a filter and detail charts at once.

Jump to a chapter (15)

  1. 0:00 Welcome and a warm-up
  2. 1:10 What affiliates are
  3. 2:20 Ways to segment affiliates
  4. 3:20 Activity segmentation methodology
  5. 4:50 At-risk and churned examples
  6. 6:16 The questions stakeholders ask
  7. 7:46 The dashboard
  8. 9:21 Where active affiliates came from, and where they went
  9. 10:52 Reactivation and risk conversion
  10. 12:00 Listing affiliates by segment
  11. 12:24 Technical: a worksheet per manager with dynamic visibility
  12. 14:30 Technical: a switchable calculation window
  13. 16:10 Technical: a marker driven by a set action
  14. 18:00 Key takeaways
  15. 19:26 Q&A

Transcript

0:01 Andrey Rozhkov: Good evening, ladies and gentlemans. I'm very grateful you stayed until this point. You are truly Tableau endurance athletes.

0:10 Thank you for staying with me.

0:12 Uh, I'm not gonna show you any rocket science, just old school dashboarding. So let's start with a little warm-up. Who used bar charts on a regular basis?

0:23 Thank you. And who is familiar with parameters, and maybe sets, and, uh, dynamic visibility functionality?

0:35 All right, cool. Then we will be on the same page with this presentation.

0:40 So first of all, I will tell you who are affiliates. Please don't, um, um, throw tomatoes at me, people who work with affiliates. I will be very simple with that.

0:52 Uh, then I'll share with you segmentation algorithm, and in the end, I'll share my Tableau implementation.

1:00 I am sure any business you have, maybe you are not working with affiliates, but still you need to segment someone. You need to segment your clients, your partners. You need to segment your delivery boys and taxi drivers. So for sure, you have something to segment, and you can, uh, utilize my approach also in your daily work.

1:20 So an affiliate is a guy who invests money into, uh, advertising, and he brings traders to our Exness corporation. Traders bring FTDs, and we really like those. We want to get more traders and more FTDs, so we re… Um, we pay our affiliates for doing their job properly.

1:45 And, uh, affiliates take some money for, for his vacation and still, uh, invest into advertising.

1:53 And we want this, uh, process to become bigger and bigger on each step-steps. We want them to buy more advertising. We want to attract more traders. We want them to bring more FTDs, and we want to, uh, have the highest quality of all of those.

2:10 Uh, that's why we need some tool to track that, to control that, and improve the full quality and money flow.

2:18 Um, the best approach to, to apply some control is to segment our affiliates or clients, and we can segment them by several options. For first one is by size. We may have big affiliates, medium, small.

2:35 Uh, we can have– we can split them by traffic quality. We can have good affiliates who deliver the best of the best traders, who trade a lot, who deposit a lot. And we can have really poor quality affiliates who delivers, uh, only fraud source to us, and we face only, um, expenses, not profits.

2:56 But today, we are gonna talk about ac-activity segmentation.

3:00 Uh, this is a metric, uh, allows to, mm, defer affiliates who deliver very constant and predictable traffic, which is always good for us. We can plan our budgets. We can plan, um, commissions a-and, uh, bonuses for employees, of course.

3:17 And we can have risky affiliates who are about to churn, actually the ones who churned already, and it will be extremely difficult to bring them back. And dormants one, who are from the past, and we do not even want to spend our resources on trying bringing them on.

3:40 So let's talk about segmentation methodology. We can build dynamics of any metrics we consider the most important. Um, re-client registrations, for example, or here I'm showing you FTDs, which stands for First Time Deposits dynamics.

3:59 Around these dyna- uh, deposits dynamics, we can build, um, moving average just to, to make the lines more smooth.

4:08 After building, um, running average, we can construct this, uh, green area, um, which you can, uh, build using plus/minus two standard deviations, or three, or any other, uh, Bollinger channel which you prefer.

4:25 And all affiliates who are– live inside this green channel, we can consider very active, predictable, and we want them all to be like that.

4:34 Ones who start falling away from the green channel down to orange, we can call risky and try to contact them as quick as possible to, um, ask what's the problem bringing them back and n-not to lose much money on that.

4:50 And purple zone, which is below, uh, orange, mm, we can call churn. Those are affiliate who are unfortunately not working really with us, and it will be much more expensive and difficult for us to bring them back. And dormant are all who are below purple zone.

5:09 We're not going, going to talk about them today.

5:12 And few examples how different affiliates can look like. The first example is at-risk affiliate.

5:19 So, um, this guy shows not very stable, uh, traffic, and, um, he would have many false positive alerts if we just, uh, catch only one point in orange zone. So the la-life hack here is to, uh, look for two consequent points that are in orange zone and additional condition to, um, the second point should be lower than the first. And this allowed us to avoid many false positives and get a at-risk signal only, uh, when, um, something is really wrong.

6:01 Uh, example of churn affiliates is quite simple.

6:05 So he delivered something, then, uh, he delivered

6:16 He still brings some more he can and, uh, can name him churned.

6:24 Uh, after we build this implementation, our stakeholders or our product owner can have, uh, very obvious questions. How many active affiliates we currently have? Is this number increasing or decreasing? And, uh, w- if it is decreasing, why it is happening? Where we are losing those affiliates, and, uh, who is responsible for, for this process? Maybe we can do something for improvement.

6:48 Uh, how good are we at affiliate retention and troubleshooting?

6:53 And, um, it's always curious to get a list of, uh, concrete, concrete, concrete affiliates who were active recently, but now they are churned, and we can just write an email or call them.

7:10 Oi, sorry.

7:12 No time for that.

7:46 So let's have a look at the dashboard I've built for that.

7:49 Um, I'll go through the business, uh, implementation first, and then we will dive deeply into the technical aspect.

7:57 So first, you can see some bands which showing, uh, general dynamics, overall numbers of our, um, activity segments.

8:07 And, uh, this part allows us to investigate who is the top managers, affiliate managers. Now we can see that Legolas is the best one. All data here, as you could, uh, think, is, uh, generated, so please don't try to do some corporate spy on Exness. Uh, this is not real numbers.

8:26 And we can, uh, check Radagast.

8:29 He's not completing any tiers, so we can, uh, check what's wrong with Radagast and actually understand that he's doing pretty well. Just our targets were too high for him. Maybe we should m- show mercy and lower them a little bit.

8:45 Uh, the most powerful, the core pieces of these dashboards are these two simple stacked bar charts.

8:52 Uh, they work together and, um, they answer two main questions.

8:57 Um, first one, maybe you do not see it properly.

9:01 Where do active affiliates come from? So this month we have 214 active affiliates, and we want to know where did they come from, from active segment, or we reactivated some churned, or we have many new affiliates. So these small, uh, bar charts allows us to understand, uh, understand that.

9:21 And, uh, actually from here, we cannot see anything.

9:24 So no- nothing really changes, just we are having lower and lower numbers of active affiliates.

9:31 So, uh, here is, uh, where second bar charts gets into the…

9:43 This question is really it's the, the question, where did they, our 200 affiliates come from? And this is what happened to these 200 affiliates a month later.

9:53 And here we can see, um, not very pleasant trend. Previously, we had, um, let me read a little bit.

10:02 Oh, in, in, uh, ninth, 18th of January, we had 370 active affiliates, and 48 of them, which is 13%, got churned during the next four weeks.

10:16 So, uh, this is orange is how, whi- which part of affiliates got churned during the next four weeks.

10:21 And this share grew, grew from, uh, around 13% to 20, 21% in the couple last weeks.

10:29 The same happened with the share of active affiliates who got dormant during the next four weeks, and this share grew from about 10% to almost 20.

10:41 So we can, uh, see from this chart that we are losing our active affiliates, um, via increased churn rate and dormant, dormation rate.

10:52 Actually, um, at this point, we can, uh, set some targets to our affiliate manager to work properly with our churn and risk affiliates. And next two charts allow us to, m- m- deep, uh, to dive deeper into those metrics.

11:09 This one shows how many affiliates can we reactivate. So each bar represents, uh, amount of churned affiliates, and we can see, uh, how many of them got back active from week to week.

11:24 And here as well, we can see that, uh, this share, um, goes down from 20% to about 10, so we are not very good at reactivating those affiliates.

11:35 The same picture with, um, risk affiliates. So we used to bring back about 60, 70% of risk affiliates. Now this share is about 30. The same happens with, uh, um, conversion from risk, which is not so bad actually, to, to completely churn. We had about 30% in churn rate, now it's 40. So now we, we know the reason where are our active affiliates going, and, uh, now we have a tool how to prevent that.

12:06 Uh, the bottom table shows, uh, allows us to, um, get the list of our affiliates.

12:12 Um, by previous and current segment. So we can choose any combination we want. For example, uh, we wanna have a look at those who were active previous period, and now they are churn, and, uh, get the list of affiliates with their UIDs, so we can go to our back office and find their, uh, phone numbers.

12:35 Now I'd like to show you some cool technical stuff about this dashboard.

12:39 First, first of all, you could notice that, uh, when I change affiliate manager name, uh, tiers here are changing.

12:48 So these tier zones, they are made, uh, with reference lines, and I cannot put any parameters or calculated fields into reference, reference lines. So the only way here is to create separate worksheet for every, um, for every affiliate manager.

13:08 And now, uh, the trick is to show only, um, those, mm, worksheet which is– uh, cor- corresponds to the chosen affiliate name.

13:21 This can be achieved by…

13:23 Oh, I can s- Look, I can look here. Much more comfortable.

13:28 I can create bunch of fields. I call them Show Eomer, Show Boromir, and this looks just like

13:48 And

13:52 this is the field we put here into control visibility using…

13:57 So for, for Legolas, we have, uh, Show Legolas field.

14:01 When we want to see Show Frodo,

14:06 here is Show Frodo field. So for, for every, uh, piece we wanna show, we should create, uh, these

14:21 um, worksheet.

14:23 Mm, other t-technical aspect would be quite nerdy, so excuse me for that.

14:29 Um, th- here you can see that each bar represents a week.

14:34 Um, but what if we are showing it to a top manager who doesn't care about weekly data? He wanna see everything on monthly basis. We can do that.

14:45 And what if we are working with a daily operationist who, who wants to see very precise from week-to-week data to, mm, to react really quickly on the, um, affiliate movements? So we can change calculation window from, uh, four weeks to one week.

15:03 You can see the tooltip shows, um, got churned during next one week.

15:08 Uh, when we switch to four weeks, we can see here next four weeks.

15:14 And I didn't use any table calcs for that, so no rocket science as I promised. Uh, and all those, uh, numbers are calculated, uh, on the data source level via SQL. And here I had to create a set of those bar charts for every combination, and I have really, m-much of them. I'm not sure if this is the best decision, but, uh, uh, i-it helps me to keep everything simple, and every data engineer in our company with access to our GitHub, he can, uh, he can adjust the numbers or check them.

15:52 So, um, I, I wanted to achieve, uh, complete supportivity of this dashboard. So, um, the guy who, who wants to check the numbers and correct maybe anything, he would not need, uh, access to Tableau and the knowledge of, uh, table calculation.

16:13 Um, and my favorite one. You can see this small, uh, little thing here.

16:19 When, when I decide to choose another affiliate to, um, get some details about him, uh, this little black thing, uh, it, it jumps to, to the affiliate who is chosen.

16:30 Um, I would like to show you 'cause I, I really l-like this elegance.

16:36 So I have an empty pill here, uh, which is, uh, an arrow and, um, mm, empty alias. Let me show you how al- uh, how arrow works.

16:55 So arrow is just

17:00 if partner UID is the one, uh, who is chosen one, then show this little, uh, black, uh, thing. Uh, else show nothing.

17:09 And this chosen affiliate, let me show you who is chosen affiliate.

17:17 Chosen affiliate is just dynamic set.

17:20 So on this, uh, entire worksheet, we have, um, an action.

17:30 We have change set action which changes this chosen affiliate single value set, and this single value set at the same time creates this little marker here.

17:42 And also, uh, this chosen affiliate, mm, uh, set allows us to filter these fields to show, uh, UID and name and current segment for this affiliate, and also it helps us to get, uh, these detailed, uh, bar charts of his, uh, registrations and FTD.

18:02 So I think this is everything I wanted to show you about it.

18:08 So my, uh, favorite slide is key takeaways.

18:12 So Bar charts, uh, are still worthy. We can still achieve some, some exciting business, uh, insights using only bar charts.

18:22 Uh, dynamic visibility is absolutely magic for me. It allows me to show and disappear, uh, text blocks, blocks of visas. It allows me to rebuild entire dashboard without, um, without building second and third, fourth, uh, dashboards for different views.

18:42 Uh, parameters is, uh, absolutely must-have. They help me to rebuild my dashboard. They, uh, um, they are in charge of all dynamic visibility stuff, and the dynamic sets are also very useful. Uh, one dynamic set can be responsible for, uh, markers, for, uh, table, uh, sorting or ta-table filtering, sorry. And, uh, this is, um, set of skills, um, I'd like to see in every candidate I interview, for example.

19:19 That's it from my side.

19:21 I hope you had a rest.

19:26 Meetup host: Thank you very much, Andre, for your interesting presentation, and especially for your key takeaways.

19:32 So here is your mug.

19:35 Andrey Rozhkov: Oh, I just broke my previous one. Thank you.

19:37 Meetup host: Your gift in sweet Lviv.

19:39 Thank you.

19:41 And now, uh, who wants to ask some questions?

19:57 Audience member: Hi. About this, you said you do the segmentation, um, regarding the FTD, but do you think– do you just include some, uh, another parameters like ROAS, like, uh, conversion to STD, STD conversion or something like this? Or are you doing your segmentation only based on FTD?

20:12 Andrey Rozhkov: Uh, in my algorithm, I use two metrics, FTDs and registrations. And to be active, you should have, uh, equally good performance in both. So if, if, uh, any of them, um,

20:25 you fall into churn, for example.

20:28 Uh, I had an affiliate here.

20:31 Let me show you.

20:36 Here. He still brings some FTDs. Mm, 15, 17, it's not very lethal numbers. But, uh, looking at his registrations, we can make a conclusion that he completely stops traffic, and, uh, those FTDs are just residual.

20:52 Uh, on, on the o-other side, you can deliver some hundreds of registrations, but if you do not deliver any FTDs, we do not care about that. We also consider churn rate.

21:06 Meetup host: Thank you.

21:17 Audience member: You, yeah, um, for example, there is one affiliate who has, uh, thousands of, uh, traders from Pakistan and another one who have 10 from Switzerland.

21:27 Uh, but they bring the same value 'cause, uh, medium, uh, check is much higher in the Switzerland.

21:34 So but, uh, if you implement like directly, you understand that first guy is big and low check, and, um, next guy is lo- uh, small. Yeah. How do you balance it actually? Do you use some weights or something?

21:53 Andrey Rozhkov: No, I didn't apply any weights here 'cause, uh, we have separate segmentation by size, by quality, and by activity. And here I needed to take into account activity only not to, uh, spoil the picture, uh, to get the full picture when I combine all three segmentation. But each one should be, um, local.

22:16 It's isolated.

22:21 Meetup host: Thank you.

22:25 Do we have a- any questions?

22:32 Audience member: The last one.

22:34 Meetup host: You made our evening.

22:37 Audience member: Uh, mm, I'm not sure about your affiliate program, but, um, maybe it's rev share or per lot or something, uh, like that. Uh, but I suppose there is a kind, uh, uh, first floor, second floor, third floor. So it's not, uh, just affiliate and the client, it's affiliate under affiliate, sub-affiliate and…

23:08 You have, uh, how do you consider them, take into account their effect on the whole system, uh, by these network effects or distributed effects by different, uh, types of affiliates?

23:22 Andrey Rozhkov: Um, we have partners which are a different product, and they can operate in this layered structure. But affiliate is just agency who delivers traffic, and they do not trade themselves. So they just bring traffic. So affiliate is much easier case in this term.

23:38 Audience member: Oh, you mean like CPA. Got it.

23:39 Andrey Rozhkov: CPA, right.

23:40 Audience member: Yeah, got it.

23:43 Andrey Rozhkov: Yes.

23:45 Meetup host: All right.

23:50 Audience member: Yeah. Uh, hello, my name is Edward. Uh, uh, I have a question, uh, about, uh, if you have some, uh, small affiliates that create like statistical challenges, that signals from them is very noisy, uh, because they don't have high numbers of, uh, um, they don't have high traffic, but it may be, uh, high quality

24:18 Andrey Rozhkov: Uh, we have, we had this issue. We had a number of very small affiliates, uh, and we even had to create a special segment for them, uh, like low activities affiliates. We, um, we still want them to be in active segment. We do not want to mark them churned or dormant because they still deliver some profit.

24:40 Um, but, uh, we needed to mark they as low activity because they always jumped, uh, down and up four FTDs, five FTDs, and, uh, they really behaved really noisy. So yes, this is gonna be pain in one place, and you have to deli- to develop some approach to them.

25:02 Audience member: Uh, do you use some statistical…

25:06 Sorry. Uh, do you use some statistical tricks to calculate their metrics differently? Maybe horizon over time or something like that?

25:17 Andrey Rozhkov: Uh, we played with, uh, window size, so here we are talking about six-week, uh, window average. Uh, we tried to use four weeks, uh, eight weeks, but six weeks, uh, showed the best results. And also, we played with thresholds on FTDs, registrations, and again, we, um, chose the solution that showed the best, uh, st- the most stable and reliable solution for us in terms of revenues.

25:50 Audience member: Thank you.

25:50 Meetup host: Thank you.

25:55 I think we don't have questions anymore, so Andre, it's judgment time.

26:01 Andrey Rozhkov: Yeah.

26:01 Meetup host: So who wins the hat?

26:03 Andrey Rozhkov: I am ready.

26:06 Uh, you had already, Kat, so now it's your turn.

26:20 Audience member: Thank you. I don't know, BI analyst maybe, but now I just transfer myself to, to marketing analytics. But, uh, I'm very, like j- I'm working a lot with the affiliate program in, uh, one big company.

26:34 Unfortunately, I can't, uh, uh, say the name of this company, but thank you so much for your presentation.

26:41 Meetup host: Thank you.

26:43 Andrey Rozhkov: That's it from my side. It was a pleasure.

Leave a comment

Your email address will not be published. Required fields are marked *