Lagos Tableau User Group 30 May 2026
Automating Tableau Prep Flows and Building Smarter Map Layers for Powerful Dashboards
1h 23m 12,328 words transcribed
Summary
The Lagos Tableau User Group's May 2026 meetup, its fourth of the year, recorded by the group on its own YouTube channel and republished here with credit. Co-lead Gbóláhàn Adébáyò (GB) opens with the LagosTUG team and ground rules. Waqar Ahmed Shaikh, a senior BI engineer and Tableau Ambassador in Karachi who co-leads the Pakistan TUG, shows two ways to automate Tableau Prep flows so data is always fresh without anyone clicking Run: publishing the flow to Tableau Server or Cloud and scheduling it with the Data Management add-on, and, for organisations without that add-on, running the flow from the Tableau Prep command-line interface with a batch script, a credentials file and Windows Task Scheduler. He covers what to have in place first (an error-free flow and a chosen environment), testing the command line before scheduling, keeping the machine on, storing credentials safely, and using Tableau Bridge when a Cloud flow reads local files. Michael McCusker, a Tableau tech lead at DaVita, San Diego TUG organiser and DataFam Rising Star, then presents Make It with Map Layers: using MAKEPOINT to place marks on a grid so map layers build things that aren't maps. Live, he builds a bar, a KPI card with metric name, value, month-over-month change and help icon, and a conditionally formatted table with a sparkline, all on one worksheet, using tips such as renaming and colour-coding marks cards and disabling selection on individual layers, and shows how one worksheet renders faster than twelve. Maureen Okonkwo closes with questions and ways to follow LagosTUG.
Key points
- Waqar Ahmed Shaikh: automation gives you time back, consistency with no skipped steps, and dashboards that are always up to date.
- Fix the flow first; automating a flow with errors only automates the errors.
- With the Data Management add-on, publish the flow to Tableau Server or Cloud and schedule it there.
- Without the add-on, run the flow from the Tableau Prep command line with a batch script, and schedule that script in Windows Task Scheduler.
- Test the command line manually before scheduling: if it fails there, it will fail in Task Scheduler too.
- The scheduling machine must be on at run time; keep credential files in a safe place and never hard-code them.
- For a Tableau Cloud flow reading local files, the PC holding them needs Tableau Bridge.
- Michael McCusker: map layers let you place any mark exactly with MAKEPOINT, so they can build bars, KPI cards and tables, not just maps.
- Rename and colour-code marks cards, and disable selection on layers users shouldn't click.
- One worksheet with many layers can render faster than a dashboard of many worksheets.
Jump to a chapter (16)
- 0:00 Welcome to LagosTUG
- 5:00 Ground rules and today's speakers
- 8:47 Waqar Ahmed Shaikh: automating Tableau Prep flows
- 13:10 Why automate, and what you need first
- 16:15 Method 1: publish and schedule on Tableau Server or Cloud
- 21:30 Method 2: the Prep command line
- 26:45 Scheduling with Windows Task Scheduler
- 32:55 Best practices and Tableau Bridge
- 36:55 Questions for Waqar
- 40:52 Michael McCusker: make it with map layers
- 48:35 Drawing points with MAKEPOINT
- 54:00 Building a KPI card
- 1:00:40 A conditionally formatted table
- 1:08:20 Sparklines and one worksheet instead of twelve
- 1:13:35 Bonus tip: spatial reference IDs
- 1:17:40 Q&A and close
Transcript
0:00 Gbóláhàn Adébáyò: Hi everyone.
0:02 Good afternoon from Lagos, Nigeria, and from wherever you're joining us from. We are so excited to have you with us again. Um, this is a huge privilege for us at the user group to be able to gather people together to learn, to learn Tableau, and like I said, to network, to connect, and to, um, you know, learn from amazing people in our community. So once again, welcome to Lagos Tableau User Group meeting for the month of May.
0:29 This is April.
0:30 Uh, for the month of May, uh, May 30th, that's, um and, um, yeah, moving on.
0:39 Um, today we are going to talk about automating Tableau Prep flows and building smarter map layers for powerful dashboards.
0:48 And we've got two amazing members of the community that are with us today to talk about various aspects of this, of this theme. First, we have Waqar Ahmed Shaikh, um, who is a senior BI engineer at Adobe High, and then we have Michael, um, Makoskar, who is a Tableau tech lead at Darita.
1:09 But quickly, let's do some introductions.
1:12 So join us, be a part of the Tableau data family Lagos and Nigeria at large, and also across the world, wherever you're joining us from.
1:20 We at Lagos Tableau User Group are dedicated to building a supportive and inclusive community for Tableau enthusiasts in Nigeria, in Lagos, and Nigeria at large.
1:30 Our mission is to connect Tableau users of all skill levels from beginners to experts, fostering an environment where anyone can share knowledge and network and grow their data visualization skills.
1:43 We are committed to promoting data-driven decision-making and showcasing the talent and innovation within the local Tableau community.
1:52 If this sounds like something you want to be a part of, feel free to, you know, pick up your phone and scan the barcode that you see on your screen. All it does is to take you to our page on, um, Bevy or our chapter, where you can basically look through and officially join.
2:12 Um, the Tableau User Group is a full, um, community of several people working behind the scenes to make things happen, and, um, we have different teams that are involved in this. So at the top, or basically not really at the top, we all do, we all work together horizontally. So we have the co-leads. We have four co-leads, and then working in sync with the co-leads, we have the speakers team, the newsletter team, the event team, the social media team, which then, um, drops out to the WhatsApp team.
2:44 So meet the Lagos TUG co-leads. We have Omoke Ndah-Iyodeji, myself, Bolanle Adebayo, Moronke Okunko, and Idris Sakilapa.
2:54 And then, um, we have our amazing speakers team. Um, these guys are very, very incredible, and then they are involved in all the heavy work that involves us, you know, inviting speakers to come speak at our event. So we have Moronke Okunko, Stephanie, and Michael. So just a good huge shout-out to this amazing team.
3:15 And then by the side, we have the newsletter team. In case you don't know, we at Lagos TUG have a monthly newsletter, um, issue that we release, and then we also have a series that we run, which is called, um, Meets or, like, basically Spotlight Series, basically. So we try to highlight different people across the community in Africa that, you know, as one Viz of the Day once or twice, try to get to, you know, have an interview with them, understand the story, understand the reasoning, and just write all about it so that you and I can read and learn.
3:46 So in this team we have myself, Mayokun, Lara, and Idris.
3:52 Then we have the events team. So they are very much involved in, like, you know, shaping our events both virtually and physically. We have Victory and Nduak, and, um, yeah, kudos to these guys.
4:03 Um, we have a social media team. If you've seen our, um, LinkedIn posts, which I'm sure you must have, or Twitter, which is a huge reason why you're here today, um, you've seen our posts, you've seen, um, you know, how we've been putting things together, sending messages out. These are the incredible people doing the heavy lifting, from Kenny to Israel, Jonathan, Aliu, Emmanuella, and Martins.
4:29 Finally, we have a very close-knitted community on WhatsApp where we try to keep our members up to date with what we think is happening in the community, and we try to answer questions that our members might have right on the fly, and basically just have this warm and happy family.
4:46 Um, and then we have these four amazing moderators who make sure things work smoothly and well behind the scenes there. We have Tobi, Jennifer, Abdul-Areef, and Jawiyu.
5:00 So back to today's meeting. We have three major meeting ground rules, very easy and simple. The first is for you to interact. If you're joining us, like I said, make sure you say hello and interact with the rest of the audience in the chat section. I would love for us not to learn in isolation. Feel free to, you know, just, you know, drop a message out there, see who's thinking what you are thinking, and, um, just share what you think, how you're feeling today, and who you're most excited to listen to.
5:30 Secondly, we would love for you to ask questions. If you listen to our speakers and you feel like there are particular questions you would love to ask or there are things that you find unclear, feel free to submit your questions in the Q&A section, where we will select some, some of these questions so that our speakers can answer them live at the end of the session.
5:51 Three, and most importantly, learn and have fun. The idea of the Tableau User Group is for us to come together to learn and also to have fun. So our meetings are recorded and found after on the YouTube channel. You don't have to worry too much if you can always go back to watch them. Yes, that's your answer. Um, you can focus on basically gleaning as much insight as you can, and if you're interested in watching the, um, recording, we have It's on YouTube, or we are also going to have it in the chat.
6:23 And now to the main people of the day.
6:26 Um, we have, um, uh, Waqar Ahmed Shaikh, who is going to be talking about automating Tableau Prep flows.
6:36 Um, it's a very lovely, um, topic that I think a lot of us are ch-to be exposed to. You know, sometimes we use Tableau to build our dashboards, to build our visualizations, but there's so much more work that goes behind every beautiful dashboard, and Waqar is here to explain and to, um, show us how we can automate the flow.
6:56 So meet Waqar. Waqar is a senior BI engineer at Ado AI, where he specializes in building impactful business dashboards using Tableau.
7:06 As a recognized Tableau Ambassador and a leader of the Pakistan Tableau User Group, he is deeply committed to fostering connections and growth within the data community.
7:16 His exceptional data visualization skills have earned him widespread, uh, recognition, with his work on Tableau Public being featured as Viz of the Day five times.
7:25 Outside of his professional life, he enjoys traveling and landscape photography, as well as spending quality time with his two sons, Dawood and Musa.
7:34 Thank you so much, Waqar.
7:36 And for our second speaker, um, Michael McCusker, who is a Tableau Tech lead at DaVita. He's going to be talking about make it with map layers. Map layers is a very, very, um, lovely part of Tableau where it allows you to, you know, demonstrate your creativity and try to make things work. So, um, Michael is here to show us how to maximize this amazing Tableau, um, feature and, you know, get it working in your day-to-day or even in your personal visualizations that you build.
8:07 A little bit about Michael. Michael is a Tableau Tech lead who is deeply embedded in the data community as a user group leader, and he's also a recognized Data Fam Rising Star for twenty twenty-six.
8:18 Beyond his technical and leadership roles, he is an avid enthusiast of the outdoors and active lifestyle pursuits, filling his free time with climbing, hiking and enjoying a good cup of coffee.
8:31 So we're just going to start with Waqar, automating Tableau Prep flows. Waqar, the stage is yours when you are ready. I'm just gonna stop sharing.
8:40 Thank you so much for joining us.
8:47 Waqar Ahmed Shaikh: Hey, thanks, uh, for the great introduction, GB.
8:51 Gbóláhàn Adébáyò: Thank you.
8:53 Waqar Ahmed Shaikh: Uh, let me share my screen. Uh-
8:55 Gbóláhàn Adébáyò: All right.
8:56 Waqar Ahmed Shaikh: Just a second.
9:07 If you can confirm, uh, if you can see my screen.
9:11 Gbóláhàn Adébáyò: Uh, yeah. In a minute. Yes, we can see your screen. Thank you.
9:19 Waqar Ahmed Shaikh: So hello, everyone. My name is Waqar. I'm joining in from, uh, Karachi, Pakistan.
9:25 Really happy to be part of this session and connect with the Data Fam community in Lagos.
9:31 Uh, I hope I pronounced it name right.
9:34 Uh, thank you so much, uh, to the Lagos Tableau User Group, uh, for the invitation, uh, for today's session.
9:42 Also, I would like to mention I'm a big fan of, uh, GB's work. Uh, in fact, uh, back in two thousand twenty-two when I started using Tableau, his work really inspired me to begin my Tableau journey.
9:54 Uh, I've, uh, frequently contacted him to be, uh, to check out my vizs, uh, very often, and he was kind enough to g-give me the feedback.
10:05 Uh, I've always been inspired by the amazing work I see coming out of Nigeria and the Tableau Public. Uh, I must say there is a lot of creativity and creative storytelling happening there.
10:18 So, uh, I'm going to talk about, uh, something that I think, uh, can save a lot of manual effort in day-to-day analytics work, uh, which is Tableau Prep automation.
10:32 Uh, now just to set the expectation, this session is not about, uh, building Tableau Prep flows from the scratch.
10:38 Uh, today I will focus on something different. We will see how to automate already built Tableau Prep flows so they can run automatically and generate fresh output without manually opening Tableau Prep every single time.
10:54 We will see, uh, some live demos, uh, so hopefully by the end of this session you will have a practical understanding of how to get started.
11:05 So with that, uh, let's, uh, quickly move to the agenda.
11:12 So here is what we are going to cover today. We will start with why automation matters, and then I'll walk you through what you need before, uh, getting started.
11:24 After that, we will look at two methods. One is using the Tableau– automating Tableau Prep flows, uh, using, uh, Tableau Server and Cl-Cloud, and another is using the command line, which will be the main focus of today's session because, uh, we have used, uh, most of the people have used the Tab– uh, automating Tableau Prep flows, uh, through Tableau Server and Cloud, but, uh, they might not have, uh, come across CLI method.
11:54 Then I'll show you how to use Windows Task Scheduler to run the, uh, everything automatically, which we have created u- in the command line interface.
12:06 We will also, uh, go through a few important things to keep in mind while automating flow, and then wrap up with a Q&A.
12:16 So prepare yourself for a packed thirty minutes.
12:19 Let's get started.
12:23 Uh, a little about myself. Uh, I work as a senior BA engineer at Addo AI. Uh, I'm also a Tableau ambassador.
12:31 I also lead Pakistan Tableau user group, as GB has told a while ago. Uh, we run regular sessions, bring in the speakers, and do very similar kind of work what– on a smaller scale, because we have just started, uh, to what, uh, Ta- Lagos TUG is doing here.
12:51 So I have a soft spot for user group because I know how much efforts, uh, goes into running them.
12:59 On a personal side, I'm a father of two naughty boys, Tau and Musa.
13:04 I enjoy traveling with my families and taking landscape photographs.
13:12 Uh, flexing a bit about my profile. Th-this is, uh, just sharing, uh, for the inspiration purpose. Uh, these are my Tableau Public stats. If you like– would like to explore my work, feel free to follow me, uh, on Tableau Public by scanning the QR code given here.
13:34 So let's begin what today's session is all about. Uh, why should we even bother, uh, automating, uh, prep flows?
13:43 First, it saves time and effort. You stop doing the same clicks every day or every week. You let the machine do it, right?
13:52 Second, it ensure consistency. The flow runs the same way every time. No human error, no skipped steps.
14:00 Third, it delivers fresh data. Your dashboards are, are always up to date. You do not need to babysit the process anymore.
14:09 These three reasons, I think, are alone are enough to make automation worth learning.
14:19 Uh, what you will need to get started, as I told earlier, that we are not going to s– uh, make a Tableau Prep flows from the beginning. We, we need a s– few things to have beforehand before we can start automating the process.
14:36 Uh, so before we jump into the demo, let me show you what you need. These are basically two things.
14:43 First, you need a complete-completed Tableau Prep flow. That means your flow is already built. It is connecting to the right, uh, data, con– it doing all the cleaning steps and sending out the output to the right place. It should be saved as a TFL or TFLX file.
15:02 If your flow is not ready yet, automation will not help you.
15:06 Fix the flow first. It should be error-free.
15:11 Second, you need to choose the environment.
15:14 There are two environment, as I told earlier in the slides. Uh, either you have Tableau Server or Tableau Cloud with Data Management add-on, which is, is a separate, uh, buy for, uh… You need this different licenses to have Data Management add-on on Tableau Server or Tableau Cloud, which gives you a visual– a nice visual scheduling interface.
15:35 Uh, this is the most straightforward way to schedule your Tableau Prep flows.
15:39 Or secondly, if you do not have Data Management add-on, you can use external scheduler like Windows Task Scheduler, which works with the CLI tool that comes built into the Tableau Prep Builder. No extra license needed for this one.
15:55 We are going to look at the both– at both today.
15:59 Let's jump onto the PC. Uh, we are going to– Although the steps are mentioned here on the slide, you can, uh, read, but we are going to conduct the overall demo on the PC to show you how to, uh, do e– go for each steps.
16:25 So here I have a simple Tableau Prep flow, which is connected to this simple sample Superstore dataset.
16:34 Some cleansing– cleaning steps are already performed, joins and cleaning, again joined. And this is the output saved into a directory, which is directing to, uh, this same folder, uh, which we have. It is, uh, generating an extract– hyper extract file.
16:54 Which you can see there is– this is the file.
16:57 Uh, and we ha– this, this– the, the last time this flow was ran was one, one zero nine, because I've already scheduled it, uh, using the CLI method. It automatically ran last night, uh, thirtieth May at one O nine AM, right? Uh, so this– for the first method using Tableau Server or Cloud, once you have the, uh, Tableau Prep flow ready with-without any error, what you can do is publish it on the Tableau Server or Cloud by pressing it here.
17:41 Yeah.
17:42 Uh, so it is asking me that this is, uh, uh, this already exists. Select a folder and give it a name. Example, I'm giving it a different name just to make sure that this is– this doesn't exist already.
17:59 Uh, Superstore
18:04 flow, today's date, which is thirtieth May two thousand twenty-six, and let's publish it.
19:17 Uh, just a moment. Let's test it out that if our prep flow is published.
19:32 Mm, modified.
19:36 Here we have it.
19:38 Uh, our flow is successfully published to the Tableau Server cloud.
19:45 Now, if you have a data management add-on available, you will see this type of a screen, uh, where you can schedule the Tableau, uh, Tableau Prep flow by clicking on Create new task.
19:59 Uh, then define a schedule. Like, do you like to repeat– run the schedule on a daily basis, weekly basis, monthly basis, or whatever frequency which suits you? And then define the time, hourly, uh, twelve hours, eight hours, the frequency, and the time you want to run it.
20:19 Uh, select the days wh-when you want to run it.
20:22 Simply, uh, for example, if you are clicking at, uh, twenty fifty-five, set it to OK, uh, set it to re– full refresh, create task, and you are done.
20:39 It is showing at here that this Tableau Prep flow will run at eight fifty-five PM all day of the week.
20:47 So this is very straightforward
20:55 and very visually interactive met-method of, uh, automating your Tableau Prep flow.
21:04 Now, can– if you have any question for this, uh, please drop in the chat, and I will, uh,
21:14 cover it.
21:15 If not, then let, uh, me proceed to the second step.
21:20 Second method of automating the flows, which is using the CLI method.
21:27 So what we have covered that we have published the flow and automated using the, uh, create a task scheduler, which is available using the data management add-on.
21:41 The second method is, uh, using the CLI method, and this method requires a couple of things.
21:50 First, we need to figure out where the Tableau Prep CLI bat file is located. It is by default located in your installation folder, uh, which is, uh, usually by default in this program files.
22:07 Go to the program files,
22:11 uh, Tableau, and then Tableau Prep Builder.
22:18 There you will find scripts.
22:20 So this is the pro– uh, Tableau Prep CLI file.
22:28 Inside the script folder, you will see a file called Tableau Prep CLI. This is a tool. It is already installed on your machine when you install Tableau Prep Builder. You do not need to download anything extra. Just copy the location.
22:41 Copy as path and wherever you want to paste the, uh, your script, just go to that folder.
22:54 For example, I'm pasting it here, creating a new text file, Tableau Prep, naming it Tableau Prep script.
23:07 Right.
23:08 And pasting the location of the file here.
23:13 Once you have it, then what you need is, uh, you need to create a credential file. But since our data source is Excel, we do not have a credential embedded. We do not need to have the credential. So what we need is the second thing– third thing, which is
23:37 the location of our Tableau Prep file, which is here.
23:43 Uh, just click, uh, if this doesn't show, press Shift and right-click. You will see the Copy as path option.
23:51 Copy as path, come again here, and give it a space, m– minus hyphen T, and then paste the location of your Tableau Prep file, which is tflex file. Now, copy this command, whole command. If we would have, uh, the credential file, we would write like this, C hash.
24:16 For example, this is the credential file.
24:19 Uh, let me just show you what it contains, but
24:26 Open with,
24:29 uh, Notepad.
24:30 Just once, uh, if you have a connection with the Tableau's, uh, for example, any s-sort of a s-database, like SQL Server, Oracle or any SAP HANA, whatever, you can provide your credential locat– credential, uh, like host name, port name, username and password here, and save it as JSON. Uh, once it is saved, just copy the location again here and
24:58 go here, write minus C or hyphen C, then paste the location of the JSON file, followed by, uh, location of your Tableau Prep flow. But since we do not need to have the credential file for now because we are connected to an Excel file, we are skipping this step, just copying the, uh, location and the, uh, Tableau Prep CLI bat file. I'm copying this and going to the command prompt, CMD.
25:29 CDI.
25:31 Copy and paste.
25:34 Enter. And the flow will start running on its own. Uh, it will open the– Even if the, uh, Tableau Prep is not open, it will open the Prep flow at the back end, start running the flow as is, and save the output at your desired location where you have saved it in your Tableau Prep flow. For example, your Prep flow is saved in this location, this location.
26:03 It will again save it to the same location where you have defined in the Tableau Prep flow.
26:11 Let it completely running.
26:14 Uh, product license verified. Loading the flow.
26:17 Asset running.
26:20 Flow execution finish. Uh, finished running this flow successfully. And so this flow has successfully ran. Let us check. Uh, here we have it. Our flow has updated the, uh, extract file, and now it is showing the nine PM, five thirty, which is today's date, and nine PM. The– So we can– We have just tested that our, uh, s-script is working.
26:50 Now the main task– Now the second task is
26:56 to automate the running of this script, which we u- which we will do using the Windows Task Scheduler.
27:04 If you haven't used Windows Task Scheduler before, it is very straightforward and, uh, usually come with, uh, Win– by default with the Windows. Uh, just, uh, go to the comm– uh, Windows menu, type Windows Task Scheduler, and you will have this window open.
27:26 Right-click Create basic task.
27:31 Give it any name which you think, uh, would, uh, be helpful for you to remember.
27:36 Uh, for example, I'm writing Superstore
27:43 Sales Flow.
27:46 Uh, dated today's, uh, thirtieth.
27:49 Sorry, twenty-sixth.
27:53 And then, again, it is asking, uh, the similar task type of question, which we have seen on the Tableau Pr– uh, Tableau Cloud, uh, what frequency you would like to run the flow.
28:05 Uh, you want to start the task on the daily basis or weekly, monthly, one time. So we– I'm currently, uh, I'm setting it to on the daily basis, uh, recur every single day and what time it should run. So we are setting it to run at nine O five. For example, let's give it a two-minute break.
28:30 Daily at nine zero five.
28:35 Start a program? Yes.
28:37 Action will be start a program. And then script. It is asking you for the script. So here, uh, you have to be cautious about what you need to paste at what level, uh, at what, uh, space. Uh, just copy this,
28:55 this part and paste it, the Tableau Prep CLI bat location path, into that, uh, script.
29:05 In the argument section, which is optional, you will provide the, uh, your path to your
29:14 Tableau Prep file, which is TFLX, and paste it here.
29:20 Next.
29:22 Finish.
29:25 So, uh, our Tableau Prep file has been successfully automated. Let's test it out. Uh, let me run it.
29:41 Here you have it. It is, uh, started running, like just before we did it manually. Uh, again, I have done manually, but when the clock ticks to nine zero five, it will again run it.
30:08 Uh, so it is successfully finished. Uh, let's just test it out. Uh, I'm sorting it again by the date modified. Here we have it. Our last Prep flow was successfully ran at nine, uh, nine PM, and again, it is successfully ran at nine zero three. Uh, let's just wait for one minute and see if it, uh, ran, uh…
30:30 If it runs automatically at nine zero five, since we have, uh, scheduled it to run at nine zero five every day.
30:44 But just to keep th-uh, this thing in mind that, uh, the PC should be always running when, uh, at the time you have scheduled your prep flows to run automatically.
30:53 Uh, ideally, this, uh, we have a-at my client's end, we have scheduled these flows, uh, on a server PC, which is– which are always running.
31:03 So this is working perfectly fine for them.
31:06 Uh, we do not need to run the flows, uh, every morning.
31:11 It automatically run on the…
31:13 So here we have the autom– it automatically ch– ignited the, uh, s– the Windows Task Scheduler, the script, and start running the flow without even touching anything.
31:46 Uh, so finished running the flow successfully, and it automatically closes.
31:52 Let's test it out that if it is exactly what we have achieved. Yeah. So nine zero five, date modified is nine zero five, which is, uh, what we have, uh, scheduled to run, and it has successfully run it.
32:10 So we have, uh, tested out two things. Uh, automating flows through Tableau Server or Cloud, which is very straightforward, uh, and visually interactive. Uh, but we do come across some, some limitations when we do not have an data management add-on.
32:25 So I need to figure out a way which we can do it, uh, through, uh, a, a way which we– which do not require data management add-on.
32:36 There are some couple of things which, uh, should be kept in mind while, uh, scheduling such flows, uh, automating, which is, uh, that automating prep flow, prep flows using CLI is ideal, uh, when, uh, uh, data management add-on is not available.
32:59 A lot of organization do not buy that add-on because of the cost.
33:03 That does not mean that you are stuck running flows manually.
33:06 CLI, as I told, uh, we have seen it is already there, uh, on your machine, and it get the job done.
33:14 Second, this is the most important. Uh, the PC, as, uh, I have al-already mentioned a while ago that the PC where you s- you are setting up the CLI must be switched on and running at the time the flow is scheduled.
33:28 Uh, Task Scheduler cannot wake up the machine that, that is off. So if your flow is scheduled for six AM and your laptop is shut down, nothing will happen, obviously. Either keep the machine on or use a dedicated server or always-on desktop for this.
33:45 As, uh, I have told that we at the client end is– are already doing that. We have scheduled all these flows at, uh, on a server PCs, PC which is always running.
33:57 Third, the test as we have, uh, while s– writing the script, we have tested the, uh, script on the command line interface beforehand.
34:06 Uh, so it is best, best practice to always test the flow manually before you schedule it. Run it once be– from the command prompt, confirm it finishes without error. Uh, check the output file where it should be. Only then put it to Task Scheduler. If you skip this step and something is wrong with the credential or the file path, you will not find out until the schedule runs fails.
34:33 Uh, fourth is, uh, store your credential file in a safe location and do not hard code. Uh, we could have hard coded the password, but it is not recommended. Uh, do not put the credential or JSON file, uh, on a shared drive or folder that people can access because it can be, uh, troublesome for you, uh, that people can, uh, access your database.
34:55 Treat it like your own password.
34:58 Fifth, uh,
35:01 if you are on a Tableau Cloud on your– and the data source is sitting on the premise, uh, or on a local machine, uh, make sure that Tableau Bridge is set up and running because Tableau Cloud cannot reach your local data on its own.
35:15 Uh, I hope, uh, if you, uh, some of people, some of you may have ex-experience of using the Tableau Bridge, which requires, uh, installation on the local, uh, PC, uh, so that your on-premises data can be accessed by Tableau Cloud.
35:31 This is what we are doing at client's end, that, uh, they, uh, we have, uh, installed Tableau Bridge, which can access to that folder we are– where we are placing external files like the ex– uh, Hyper Extract file or any Excel file which we, uh, are saving on a local PC.
35:52 That PC must have Tableau Bridge installed so that y- Tableau Cloud can access it via Tableau Bridge.
36:01 The Tableau Bridge is what connects the two. If bridge is not running, the flow will fail again because the flow has created the updated extract file. But your extract, which is on the Tableau Cloud, will not have access to that folder without the Tableau Bridge. So this is– I thought should be, uh, uh, beneficial for the audience to have this knowledge as well.
36:30 So, okay, this is the full picture. These five things will save a lot of frustration.
36:37 Uh, I think we have covered quite a bit. Uh, two method, Server Cloud with scheduling and CLI with the Task Scheduler work. Bo-both of them work. The choice depends on you, what you have available.
36:50 Now I want to hear from you any question, anything you want me to go back to. If something was not clear, this is the time.
37:03 Gbóláhàn Adébáyò: Thank you, uh, Waqar. Thank you so much. I think there are two questions, uh, one from myself and one from Michael. So from Michael first. The question from Michael is: Do you have something in place that monitors if a flow runs successfully or not?
37:25 I'm, I'm… I don't know if-
37:28 Waqar Ahmed Shaikh: Yeah, uh, can you please repeat the question?
37:30 Gbóláhàn Adébáyò: Okay. So Michael is asking if you have something in place that monitors if a flow runs successfully or not.
37:40 Waqar Ahmed Shaikh: Uh, so far we haven't applied anything to, to that level because, uh, whenever our sc- uh, flows were failing, uh, we try to do it, uh, test it before scheduling the flow using the Windows Task Scheduler. Once it is successful- successfully run through, uh, command line interface manually, it will definitely going to run, uh, every time using Windows Task Scheduler.
38:10 If it is failing using the command line interface, which we have tested, it will fail, fail again through Windows Task Scheduler as well. So you have to test it before scheduling with the Windows Task Scheduler.
38:24 Gbóláhàn Adébáyò: Okay.
38:25 Thank you. And then the other question is: For flows that feed into a published data source on Tableau Server or Cloud, what's the approach to managing incremental refresh versus full-
38:37 Waqar Ahmed Shaikh: For flows that feed into, uh, published data source on Tableau Server or Cloud, what is the approach when managing incremental refresh versus full refresh?
38:45 Is this your question, for flows that feed into published data source?
38:48 Gbóláhàn Adébáyò: Yeah.
38:48 Waqar Ahmed Shaikh: Yeah. S-so, uh,
38:54 are you asking about the flows we have, uh, scheduled or using the Tableau Server or Cloud?
39:00 Gbóláhàn Adébáyò: Yeah, I'm just like, you know, just like a general, um, question. You could, um, just also approach it from any angle, and you answer.
39:07 Waqar Ahmed Shaikh: Uh,
39:10 let me just go. We have, I think, a option of, uh…
39:37 So when we st-started, uh, scheduling the flow, we ha… it gave us the option of, uh, uh, incremental or full refresh. There you can, uh, define the frequency and the overall, uh, bandwidth of the flow that, do you want to run it on the full or do you want it to run as a scheduled, uh, as, as an incremental.
40:00 Gbóláhàn Adébáyò: Okay.
40:00 Waqar Ahmed Shaikh: That, there you can define that on the Tableau Pr- uh, Tableau Cloud or Tableau Server. But, uh, while using the CLI method, you do not have that flexibility because it runs at, uh, the complete flow at once.
40:15 Gbóláhàn Adébáyò: Okay.
40:16 All right. Sounds good.
40:18 Um, I think if we have any more other questions, it should be dropped in the Q&A, and then you can also respond, respond to them.
40:27 Um, yeah, I don't know if you have anything else to say, Waqar, but, um, thank you so much for your presentation.
40:35 Waqar Ahmed Shaikh: Thank you so much for having me, GB.
40:37 Gbóláhàn Adébáyò: Yeah. Thank you.
40:38 Waqar Ahmed Shaikh: I appreciate it.
40:39 Gbóláhàn Adébáyò: Yeah.
40:40 You're welcome. So you could stop sharing. So, okay. All right. Good. Um, so thank you so much once again, Waqar, for your amazing presentation. Um, so next we have Make It With Map Layers, um, Michael, um, Michael McCusker. So I think Michael is ready. So, um, yeah, let me just stop sharing, and Michael, you, Michael, you have the floor. So just go for it.
41:06 Thank you.
41:11 Michael McCusker: Okay. Thank you for that introduction, and thank you for having me on today. I'm thrilled to be on this, um, Tableau user group because I haven't met any of you before, but I've spent hours on many of your Tableau workbooks, um, on Tableau Public trying to reverse engineer some of the stuff that you've done. And so unknowingly, a lot of you have helped me learn Tableau.
41:35 So I really am, am very excited to get invited onto this Tableau user group.
41:41 And more so to talk about Map layers, the topic of Tableau that I'm really excited about. It's something, um, that GB mentioned up top. It's an opportunity to add creativity and flexibility to your dashboards and break down some of those restrictions that Tableau kind of has using regular functionality.
42:03 My name is Michael McCusker. I'm a Tableau tech lead for a company called DaVita. We are a healthcare company that provides dialysis for patients with kidney disease.
42:14 I'm one of the organizers at the San Diego Tableau User Group, and I have, um, recently been recognized as a Data Fam Rising Star, which was super cool, uh, recognition from the community. And this is my, um, link to my LinkedIn here if you'd like to follow me.
42:32 A little bit about me. I'm originally from Scotland, um, but I have lived in the United States for a number of years now. And in San Diego, uh, we live, it's right on the coast, so I've been learning how to sail in a little sailboat in my free time.
42:48 And I'm a big fan of coffee. I… Not just drinking it, but I like to learn about where the coffee has come from, how it was grown and processed and roasted. And on the right-hand side here, this is an actual picture of my coffee machine, which gives me data visualization every time I make a cup of coffee. So I'm either a data nerd that loves coffee or a coffee nerd that loves data.
43:12 Either way, I think both are a good combination.
43:16 And I, like many of you, am a big fan of Tableau. And if you look at my Tableau Public, you'll definitely see this recurring theme or trend where I build a lot of things using map layers. But almost always, that thing is not a map, which brings us to our presentation today, Make It with Map Layers. And what I'm hoping to do is try and, at an introductory level, introduce the idea of using map layers in a way that you can apply it to business dashboards.
43:47 What is really cool about map layers is people get very creative up on Tableau Public and build some really impressive builds. Um, but sometimes folks say, "Well, when would I ever use that?" And hopefully I'm gonna try and answer that for you today. But to sort of show that creativity, I'm gonna share a dashboard that I built, um, a few months ago.
44:10 Um…
44:10 Oh, sorry. No, I'm not. First of all, I'm gonna explain what map layers are. If you're not familiar, map layers is just a feature in Tableau specific to maps, where we can take one map and layer another map on top of it. We can take a net- another map and layer that on top of that one. So for instance, on the left-hand side, this is a map of San Diego.
44:32 And if you're not aware, San Diego has been hosting Tableau Conference for the past couple of years, and will be hosting Tableau Conference again next year. And so because I'm in San Diego, Tableau Conference is going to be in San Diego, I'm very excited about that.
44:48 So on the left I have a map that has the location of where Tableau Conference is with that little Tableau icon. And because I'm part of the San Diego Tableau User Group, we organize an event every year roundabout Tableau Conference for all of the attendees, and we call it Data + Tacos. And on this map we have the location of Data + Tacos.
45:13 Now, I'm planning on attending Tableau Conference. I want to figure out where I'm going to stay. So on the right-hand side I have a map of all of the Airbnbs in the area, and map layers allows me to take this second map and layer it on top of my first map.
45:30 Now, before I pick an Airbnb that I'm going to, um, stay in for the week, I need to know what is the coffee situation like in the area. So on the right-hand side, I now have a map of all of the coffee shops in downtown San Diego, and map layers allows me to layer that on top as well. So I'm starting to build out this picture of, uh, my Tableau Conference week for Tableau Conference 2027.
45:56 And finally, uh, just for fun, um, I mentioned that I've been learning to sail in my little sailboat. Um, I've put a map where ha- which has a good location for practicing sailing out in the San Diego Bay, and I can layer that on top of the view as well and kind of complete my picture.
46:14 And along the way, a couple of cool things happened. So first of all, I had Airbnb, I had coffee shop, I had Tableau Conference location. All of those came from different data sources, and I did not have to join, blend, or relate those data sources in any way. Map layers allows us to combine different data sources all in one view, something that's not possible with other types of builds.
46:41 Every time I added a layer, I got an independent marks card, which can… allows me to control things like color, shape, size, font, tooltips, all of those things separately and at the layer level.
46:55 And finally, and perhaps most importantly for this presentation, I'm able to just draw a point on a map and put whatever I want there. Uh, it doesn't need to be related to my data. It can just be something that I tell Tableau to do.
47:10 So what's perhaps obvious from this presentation, this is not the most beautiful map that you will ever see. I'm not really a maps guy. But I do love this idea of controlling a visualization at that kind of granular level, and having total control at every single step of the way.
47:31 So let's talk about, uh, building some things using map layers.
47:36 A couple of months ago, I built this dashboard here, which is a calendar, um, that features a number of Tableau user groups. And as you click on the elements, everything sort of moves around, zooms in, and gives us a lot of information about some of the really cool Tableau user groups out there. And another reason I'm appreciative of being here is that you all showed me a lot of love when I featured the Lagos TUG, um, on this calendar.
48:06 Um, and all of this is one worksheet, and it's just an example of, um, the sort of creativity you can use. Uh, you can, uh, take and build something with it in Tableau.
48:17 But today I wanna talk about applying these into work dashboards. So we're gonna build three things. I'm gonna build a band, the simplest of all the chart types. I'm gonna use map layers to build a table, and then I'm gonna use map layers to recreate this KPI card.
48:39 But before I do, just a couple of points. We want to take some of the features of map layers and then apply it in different ways. Kind of abuse the system a little bit, use it for something it's not intended. And in order to do that, everything starts with a single point.
48:56 And in order to draw a point on map layers, we need to borrow Tableau's coordinate system, the latitudes and longitudes, and we use a function called Make Point. And the argument looks like this, where we feed the latitude first and the longitude second.
49:11 However, when I'm thinking about plotting things on a grid or a chart or a graph, I prefer to think in X's and Y's.
49:20 And, but fortunately, the conversion is really easy. If I want to think of it in X's and Y's but want to draw it in Tableau, I just use the Make Point function and ensure that I give it the Y coordinate first and the X coordinate second. So for instance, this point here on a grid, uh, I would describe this as one comma two, and to draw it in Tableau, I would use the calculated field with the function Make Point two comma one.
49:55 But this is gonna be better demonstrated in a live demo. So let me just jump over to Tableau.
50:03 And before I draw anything, I have this exercise that I really like. It seems a little bit silly, but it does kind of… If you're getting introduced to map layers, or you just haven't used map layers in a little while, and you have to rewire your brain into thinking like this, I really like this. It- to me, this is sort of the equivalent of scribbling on a piece of paper or just doodling in Tableau.
50:27 So because Tableau is all about drawing points on a map, I have written a
50:35 calculated field
50:39 that looks like this: Make Point zero, zero. And you'll see this a lot in map layers.
50:46 And if I double-click that, I get a point just not far from Nigeria at latitude zero, longitude zero.
50:55 Now, I have a second point at point one, one.
51:01 And in order to add that to the map as a new layer, I click and drag it onto the view until I get this box that says Add Marks Layer, and I drop it onto the box. And Tableau immediately zooms right in, um, but this is still a map. If I zoom out, you can see we're still here off the coast of Africa.
51:22 Now, this is points on a map. But what I want to do is I want to take that map away and start working on a grid. And as soon as I've drawn two points on a map, I can come up to the map, Background Maps, and turn my maps off. And then the map is replaced with a more traditional X and Y axis. But my points have disappeared, and that's because Tableau's still trying to draw a map.
51:46 And I, in order to bring those back, I can just change the mark type out to a circle.
51:53 And so I've drawn my first two points on the view. And to show that each of these are separate and independent, this point down here at zero, zero, um, I'll keep as a circle. But this point up here at one, one, I'm going to, I don't know, make that, uh,
52:13 a big green square.
52:17 So total control over that one element.
52:21 Now, I want to draw a few more points on this chart, but I don't want to keep building calculated fields. So this is a really cool tip. If you open up a Create Calculated Field window, and you write a Make Point calculation, say, uh, two, two.
52:40 Rather than clicking Apply or OK, you can just highlight this and drag that onto the view.
52:47 And you could repeat that with point three, three, and very quickly bring a number of points onto your map. Now, of course, Tableau is still trying to draw a map. Um, but to demonstrate that those points are there, maybe this point is going to be a big orange triangle.
53:10 And then this point here, I'm just going to put as a circle for now. So four layers of a map, each one independently controlled.
53:20 Now, if you, like me, are a fan of well-organized workbooks, all of your, uh, fields are in folders, all of your tabs are color-coordinated, you'll like this. So it's very easy to rename your mark cards if you're using map layers. You can just come in here and double-click over the text that is already there. So I'm gonna call that my zero.
53:43 This one was my
53:47 square.
53:50 I think the triangle.
53:53 And then this brings us up to our little circle up here.
53:57 Now, that doesn't change anything else anywhere else. It doesn't affect any calculations. All it does is make your workbook a whole lot more readable.
54:07 Now, let's talk about this circle up in the corner. So a really cool feature of map layers is if I change this from a circle to a bar, it's gonna fill all of the space between that point and the zero line, and that's something that's gonna prove very useful a little bit later on.
54:25 All right. So let's actually jump in and build some stuff.
54:31 The first thing I want to build is a band, and a band should be straightforward. It's a single point with some text. And if I were building it using regular functionality in Tableau, this is what it would look like. I have a few metrics, um, its performance, and maybe some month over month change. And I'm not gonna focus too much on whether I should build this or, um, whether I should recreate it in map layers, but just rather if I can recreate it in map layers.
54:59 So-
55:02 Onto a blank sheet. And, uh, everything starts with a single point, and so the point I'm going to use here, I'm only gonna be using a single point, so it kind of doesn't matter what this point is. But the more that you build with map layers, you will develop some preferences, and my preference is to draw this point at 0.5, so sort of halfway between zero and one.
55:27 Double-click that and bring it onto the view. And immediately, I'm going to contradict myself. I said for this band, we only need one point. But I also mentioned that we need to have a minimum of two points before we can turn this map off. So I'm gonna bring on this other point here, and it sort of doesn't matter what that is because I'm not gonna use it in the end.
55:48 The important thing is it's just on my view, and that allows me to come up and turn my background maps off.
55:57 Focusing on my band, I'm gonna change that out to a text type, and then bring on some of those details about my metric. Perhaps my metric name, the metric rate, and the month over month change.
56:15 I'm just gonna quickly borrow the formatting from my previous build and apply that formatting here.
56:29 So a pretty good-looking band. Now all I need to do is bring on metric name up into my columns and maybe add a few more of those.
56:41 And we have pretty much recreated this original build.
56:46 Now, one thing when I build bands, um, in a regular way that I don't love is if you click on it, you get a big blue box of highlighting. And of course, there are tips, tricks, and techniques to disable that and stop that from happening.
57:00 When you build it with map layers and you click on it, you get a very similar box of highlighting, and you can apply those same tips, tricks, and techniques as you would have done before in order to prevent that from happening. But when you build something with map layers, there's a really cool piece of functionality where you can just come up here and just disable selection on any l- any layer of your visualization.
57:23 So now that I've disabled selection on here, I'm clicking on this metric and nothing is happening. I'm able to ma- uh, granularly control what my user can and cannot interact with, which is really quite powerful, especially if you combine the two, if you allow them to interact here but not interact here.
57:43 So this is us finished with the band, or at least it would be if we weren't using map layers. What I think might be quite cool here is to add some sort of visual enhancement to this band.
57:56 So I have an- another point,
58:00 and this point is a little bit different. It's just a bit of up and to the right of our, um, previous point, and I'm gonna drag that onto the view as a new layer.
58:11 And when I do, Tableau tries to zoom in and out to incorporate all of the new elements.
58:18 For now, I'm just gonna change this to a shape and then add the metric name to color and to shape, and perhaps make it a little bit bigger.
58:32 Okay, so Tableau moved things around, and now this doesn't look quite as good as I would like it to. But sometimes you'll want that zoom behavior and other times you won't, and in this scenario, I don't want that zoom behavior. So I'm actually gonna come in here and just lock my axis down to run between, uh, minus one and two.
58:54 And I think that gives us a pretty good-looking band.
59:00 So what I've done here is I've added a visual indicator, a, a little bit of, um, color onto this view, just to make it a bit more visually appealing. But I could use something other than an icon. Perhaps with a little bit of cleanup, first of all, this is what it looks like, um, a pretty good-looking band. Um, and this is just a visual enhancement.
59:22 But perhaps you'd prefer to do something a bit more informative, like, uh, direction. Is the trend going up or down, and is that trend change a good change or a bad change?
59:36 Or alternatively, you might want to build a help icon, where your user can come in here and they can either hover over or click on this to get more information about your metric. And this is a really good example of where I've disabled selection on the text, but I enable interaction with the help icon.
59:56 And because it's map layers, you could of course just do all of those things and then parameterize it, and then give your user the choice of what it is that they want to see.
1:00:07 So taking bands and recreating them, enhancing them, and adding really granular control using map layers.
1:00:15 So let's move along to, um, tables. So I, if you've ever heard me speak before, you probably know this: I do not like tables in Tableau. Uh, nobody at Tableau, our sales force, is sitting in the office trying to figure out how to make the table experience in Tableau better. This is not what Tableau is built for. It is a data visualization piece of software, and what we've got today is all we're probably ever gonna have with tables.
1:00:44 However, as data analysts, we will never not be asked to provide tables for our stakeholders. It's unavoidable. So we can build fairly rudimentary tables in Tableau, like this one here, which I built just using regular functionality. And if ever you've tried to color code or conditionally format a table before, you know it's a little bit of a chore.
1:01:06 You know, things like the size can get really, really funky really, uh, easily. So- Um, what I like about map layers is a couple of things. We are not restricted with anything, um, or any of those kind of guards that Tableau provides us with. We can take this table and build it however we want. But let's first focus on seeing if we can just recreate this table.
1:01:33 So a table is gonna be a lot like a ban. Um, so much so that my first point, if I show you that here, is exactly the same point as I used for my ban. I just called it something different for the purpose of this demonstration.
1:01:49 And so I'm gonna double-click that, add it to the view, and this time I want some conditional formatting.
1:01:56 And my conditional formatting calculation is just gonna run between one and zero.
1:02:01 So I'll drag that on as a layer, and I have my two points on the view. With two points, I can come up and turn my background maps off, and then let's turn my text into a text data type. And I'll leave the conditional formatting as a circle for now.
1:02:21 And even though my text point was halfway between one and zero, Tableau's done that thing where it zoomed in to, uh, incorporate my two points. Um, but it makes it look like my point, uh, my text is bottom aligned. So to fix that, I'm just gonna lock my axis down to run between zero and one.
1:02:43 And what I've created here is a cell, one cell of my table. So now, uh, let's build out the structure of that table. And my table has the different metrics running along the columns, and then the different parts of my organization on the rows.
1:03:02 And with that in place, I can add some of my met- my metric rate.
1:03:11 So the table is starting to fill out and take shape now.
1:03:15 And let's look at the conditional formatting. So just now it's just a circle, but if I change that out to be a bar, it's gonna fill the space between that point and zero. And because I've got individual granular control over each layer, I can control elements of this bar. Like, I'm gonna fix the width of it to be two.
1:03:36 I'm gonna center align it, and because it's center aligned and it's two, it's gonna run from zero to minus one and zero to one.
1:03:45 And then Tableau has very generously given me a little bit of buffer on either side, but I do not want that buffer. So I'm just gonna update that to run between zero and one.
1:04:01 Only now I have a problem. All of my ink is in front of my text, and that's because the order of your marks cards matters. And because this is Tableau, you can just drag and drop these things around. So I can just drag this up above the thing, and that puts my text in front of my conditional formatting.
1:04:20 You can alternatively use this sort of m- move up or move down options in this menu here.
1:04:27 And on this conditional formatting, I have a calculation that tells me, is that part of the business at goal for that metric? And I can just color like that. And I get this nice sort of blue color in over the ones that are at goal.
1:04:42 Oftentimes, my stakeholders want some sort of outlier indicator. So I have this other calculation, and if I drag that one to Color, it's actually just gonna replace what was there before, um, rather than add in. But it is possible to color by two different dimensions. So I'm just taking that goal indicator again, and first, if I drag it onto Detail, and then at this point, change it from Detail to Color, I'm now able to color on two different dimensions and give my users a indicator of who's performing well and who's performing poorly across each part of the organization.
1:05:22 And with a little bit of cleanup, that's what my table looks like. It is… I've recreated what the standard build was. But because this is map layers, I could just keep going.
1:05:33 For instance, you could add one of those up/down arrows as another layer within your chart.
1:05:41 Or you could have some up or down triangles with month-over-month change. And notice here that I've added numerators and denominators, and I'm able to add a lot more things into each cell that I cannot do using regular functionality.
1:05:56 And because this is map layers, you can just take all of that and throw all of it into the view. And if I'm honest, I originally built this as a little bit of a joke about taking a feature a little bit too far. But then I realized that this is exactly the tables that my stakeholders are asking me to build. So for better or for worse, I may or may not like it.
1:06:17 I don't think it's a particularly good table, but they love it. For them, this is a lot of good information, so I can provide that using map layers.
1:06:26 But I mentioned about restrictions or barriers. This is us- This is a very typical table that you would build in Tableau. But with map layers, we could, we could just take it and just build something totally different and just recreate the table experience altogether. So maybe build something that looks like this, where each point is a column of the, um…
1:06:47 is, is a column of my table. And I can kind of demonstrate that using this really cool functionality in map layers, where ac- there's a little eyeball beside each marks card, and that allows you to turn on or off visibility of one of your marks. So I've turned that one off. That's my point, um, one. This is point two, and then point three. And you can get really creative with this.
1:07:10 For instance, on the goal, I've got one point for my… Text, and then another point for the coloring that goes in behind it.
1:07:19 So really granular control. And then, uh, you can get a little bit more advanced and build out a sparkline as a single point, and I'll probably cover a little bit of that coming up here. So really cool, um, capabilities and creativity using map layers for tables.
1:07:39 Going on to my last example, um, I should hurry up just a little bit.
1:07:43 Um,
1:07:47 I wanna talk about KPI cards. Now, I love building KPI cards. Um, I feel like they deliver a lot of information really, really fast to our stakeholders. And depending on how you design them, um, this one here, the way it's designed, each card is made up of two worksheets. So I have a worksheet for the band and the worksheet for the trend. Create an, um…
1:08:09 So I need two worksheets for every metric, and then I have six metrics here, so that's 12 worksheets all together.
1:08:16 And so I wanna see, can map layers help me, um, cut down those number of worksheets?
1:08:24 So I'm gonna start by trying to create something that looks like this. Um, take those two worksheets and turn them into one worksheet.
1:08:32 And my starting point, I've already done it. It was the band that we did in the first demonstration.
1:08:38 Now, I want to add a new layer to this visualization that gives me my current year performance on this metric.
1:08:47 So I have a calculation,
1:08:51 and this time the calculation looks just a little bit different.
1:08:54 Up until now, I've been hard coding each of these arguments, um, into, uh, the Make Point function, but now I'm actually giving it some of my data. And so the first argument is the Y coordinate, um, and that's gonna be my metric rate, the up down. And then my second coordinate is the, um, the integer version of the month. So one for January, two for February, three for March.
1:09:19 And then I am dividing it by 12, and that just ensures that everything stays between the points zero and one.
1:09:26 And when I bring that onto the view, I sort of get this mess of, uh, dots, and that's because I'm giving Tableau some of my data now. So it needs more context rather than just the calculation itself. And the context that it needs is the month of my period date, so that integer version. So I'm just gonna drop that onto the detail shelf and change this out to a circle.
1:09:51 And you can start to see what's going to happen here. These are all the points of my performance over, across the year. Now, this is fine as points, but I'd prefer this to be a line. And if I change that out to a line, I get this. Tableau is clever. It knows that I'm using a date field and which order to join those dots together on. But if you want to be very prescriptive, just drop that onto path and that would just ensure that it joins in the right order.
1:10:18 Now, I quite like those little dots at each point, so I'm just gonna bring them back.
1:10:22 And next up, I want to compare that to my previous year performance.
1:10:27 So I have another calculation.
1:10:30 And this looks a lot like my first one. Only difference is this is now looking at PY, previous year.
1:10:37 And if I bring that onto the view as a layer, again, I get the mess of lots of dots all pushed together. Let's change out to a circle for now, and then give it that context that it needs.
1:10:51 And you can start to see what's happening. And I'm gonna start by making this a bar. And this is a pretty good view, bar and line. You can determine your current year performance versus prior year performance from this. But notice that the bar is in front of the line.
1:11:06 But I can fix that just by changing the flow order, and let's change the transparency just a bit.
1:11:14 So quite a good-looking view. But if you'd like, or if you prefer, area charts behave the exact same way, where it fills the space between your point and the zero line.
1:11:24 And for the purposes of time, I have a few more calculations that, um, look really, really similar to ones I just did. But you can add a goal line as another layer. You can add, uh, this axis as another layer and ultimately sort of end up with something that looks like this.
1:11:44 So we've taken two worksheets and turned it into one.
1:11:49 Only because this is map layers, I could probably go a step further.
1:11:53 And there's a few ways to do this. You could do small multiples or some sort of a simple relationship model, and then recreate all of your KPI cards in one single worksheet.
1:12:06 So if I jump back to my dashboard,
1:12:11 this is my regular version with the 12 worksheets, and I can swap it out and look at the, uh, map layers version, which is one worksheet. And there's a really cool byproduct of this.
1:12:25 As I change my filters, notice that it just takes a second to render everything on the screen. And that's because Tableau has 12 worksheets to render.
1:12:37 But on the map layers version, if I make a similar change,
1:12:42 everything renders immediately. So big performance bump because I've taken the number of worksheets from 12 all the way down to one.
1:12:51 So as a quick recap,
1:12:54 we took a band built regularly, recreated it using map layers, and enhanced it with visual enhancements, informational enhancements, or helpful enhancements.
1:13:10 We took a table, we rebuilt it as is using map layers, and then we threw a bunch of stuff that… stakeholders love, but developers, uh, like you and I perhaps don't.
1:13:22 Um, and then we talked about just reimagining the table experience altogether.
1:13:28 And then finally, we took some KPI cards that were made up of 12 worksheets and then combined them into one single worksheet.
1:13:42 So that's the end of my demo, but I do want to cover something real quick, um, if you can give me two more minutes.
1:13:50 Um, so not covered today, we are using latitudes and longitudes and, um, because of that, there is a range, um, restriction between minus 180 and 80, and minus 1990, 'cause that's how latitudes and longitudes run. And so if you're trying to plot points that are bigger than that, you have to apply normalization, and so that's kind of like the next step up, uh, from learning tab, uh, from, from learning map layers.
1:14:16 But at Tableau Conference, this might n- this might be a thing of the past in the future because at Tableau Conference, they announced on stage about that they were bringing chart layers to, um, to Tableau at some point in the future. This isn't a very good screenshot. This is just something I tried to grab, um, off of the Salesforce Plus, where you can see them dragging fields onto a regular chart type, and they're not using map layers here.
1:14:41 But they see… They've seen people using map layers in the community, and they've started to think about adding it to the main product.
1:14:49 Now, I look at this, um, participants list, and I know that what I've said today, a lot of you already know, and I do hope that I can maybe leave you with something that you've not heard before. So I shared this slide where we talked about you have to convert using X and Y and feed the Y coordinate first.
1:15:10 And then I shared this slide that talked about the restrictions, uh, between latitude and longitude. But just the other day there, on another Tableau user group call, discovered something.
1:15:22 This map layers modifier where if you take your Make Point calculation, you can actually do the X coordinate first, the Y coordinate second, as long as you provide this third argument, which is an SRID. And the SRID is just a number that indicates different spatial reference indicator or something or other. I'm not totally sure what they were.
1:15:46 And when you do that, a couple of cool things happen. So I'm gonna jump back to Tableau real quick.
1:15:53 And as I say, learned this two days ago, so this is not very polished, this part. Um,
1:16:03 so I have this calculation here, and this time I'm using one as an X coordinate. So this point I'm expecting to be to the right of the point that's already on the view, and this is the SRID that I fed it. So let's drag that onto the view
1:16:21 and then make it a circle.
1:16:24 Okay, so I'm now using X and Y coordinates. I can sort of show that again by dragging on another point at two zero and making that a circle.
1:16:35 But what is particularly interesting about that is the X and Y coordinates are actually measured in meters, not, um, degrees from the origin. So previously when we were restricted to minus 180 and 180, we don't have those restrictions anymore. Because we're measuring in meters on a map, we can actually go up to something crazy like 20 million. So here I have another map, and I have this flexible point here, and my X coordinate is one million, and my Y coordinate is half a million.
1:17:10 And as I move that around, you can see I'm barely getting into, um, Africa here. In fact, if I…
1:17:17 I don't know, maybe if I was clever enough, I would be able to land this exactly on Lagos. But, um, there we go. A little extra bonus tip, um, on top of the main presentation.
1:17:28 Um, but that is everything that I have for you today. Happy to take any questions. And once again, team, thank you for having me on. A really inspiring group, this one, and, um, I appreciate you thinking of me.
1:17:41 Maureen Okonkwo: Thank you so much, Michael. I really enjoyed this presentation, and there were so many takeaways for me.
1:17:49 So we have a couple of questions for you. I have personally sent you a DM actually on LinkedIn, so maybe after this we can catch up separately if you don't mind.
1:17:58 Um, so we have a couple of questions. First question is coming from me, and, um, I'm asking if we can be able to get access to the workbook that you just shared.
1:18:08 Maybe-
1:18:09 Michael McCusker: Yes
1:18:09 Maureen Okonkwo: … there might be, yeah, in the coming days or-
1:18:10 Michael McCusker: Actually, this workbook got Viz of the Day last week, so it's already up on Tableau Public.
1:18:16 Maureen Okonkwo: Oh, okay.
1:18:16 Michael McCusker: So, uh, yeah.
1:18:18 Maureen Okonkwo: Do you, do you mind sharing the link with us?
1:18:20 Michael McCusker: Of course. I'll just grab that for you now.
1:18:23 Maureen Okonkwo: Thank you. Thank you. So we also have two questions here.
1:18:28 Um, there's a question coming from Wagwa.
1:18:32 Um, he asked, "Is it possible to sort data in a text table by clicking the headers created through the map layer, similar to how we usually do it in a text table?"
1:18:45 Michael McCusker: Um, yes, but with a couple of extra steps that you have to do to make that work. But yeah, absolutely capab- uh, absolutely a capability.
1:18:56 Maureen Okonkwo: Okay.
1:18:57 Um, Wagwa, I hope that, that answers your question. Does it?
1:19:04 Waqar Ahmed Shaikh: All right. Thank you, Michael.
1:19:06 Michael McCusker: No worries.
1:19:06 Waqar Ahmed Shaikh: I'll check that out for detail, in detail.
1:19:11 Maureen Okonkwo: All right. Fantastic. We have another question coming from Bola, and, and he's asking, "From a performance angle, how do map layers hold up when you're working with large data sets?"
1:19:25 Michael McCusker: They stand up really, really well because, um, generally speaking, you're using fewer worksheets, and that's gonna be your biggest performance killer. Now, sometimes there is a trade-off, especially when you're doing normalization because they require level of detail calculations. And level of detail calculations, a slight performance hit, um, but you're using fewer worksheets.
1:19:46 So it's not a, a solution to, um, performance, um, in every front, but it does really help in a lot of ways. And what I notice are, um, more layers do not add more complexity. They… Everything seems to run, um, pretty well. And I'm not even sure what the limit is, um, on map layers. Maybe somebody here knows. I think it's something like 300, so.
1:20:10 Um, but yeah. Um, I find it to be, um, really good, um, performance-wise, but I think the follow-up question there is, like, should you just do everything in map layers? And the answer is no, um, because a few things. Map layer is a little harder to understand, and so if somebody else gets your workbook after you and th- aren't familiar with workbooks, they're not gonna thank you.
1:20:30 Um, so, um, yeah. Um, good for performance, but not in every single scenario.
1:20:39 Maureen Okonkwo: Okay. Uh, I think that's a very good, uh, add-on to that 'cause I was about asking if it's possible to, like, build your entire dashboard on map layers, but when you think about handing it over to other analysts in the organization, it's gonna be very hard except you have, like, a good documentation.
1:20:54 Okay.
1:20:56 Um, do we have any more questions, guys?
1:21:00 Any more questions? Any more questions?
1:21:05 All right. In the absence of no more questions, uh, if you want to connect with…
1:21:11 Yeah, GB, I see the screen right now. But if you want to connect with, uh, Michael and Waqar, please do that. We have your links on the chat.
1:21:19 I think GB shared that with us. And, uh, also the presentation slide from Michael is already on the chat right now.
1:21:27 So click and follow them on LinkedIn.
1:21:31 And, uh, yeah.
1:21:34 Thank you so much for attending the Lagos Tableau TUG for the month of May.
1:21:42 If you are here after GB really talked about Lagos TUG, so just a summary of it.
1:21:50 We are dedicated to building a supportive and inclusive community for Tableau entities here in Lagos, Nigeria, and our mission is to connect Tableau users of all skill levels.
1:22:04 GB, thank you.
1:22:06 From beginners to experts to fostering an environment where members can share knowledge, network, and grow their data visualization skills.
1:22:16 Finally, the Lagos TUG is committed to promoting data-driven decision making and showcasing the talent and innovation within the local Tableau community. If you are yet to follow us on LinkedIn, just type in Lagos Tableau User Group. You get to see us. We are on YouTube as Lagos TUG.
1:22:33 On X or Twitter, we are Lagos, in caps lock, TUG.
1:22:39 Then for Substack… And if you are yet to subscribe for our Substack newsletter, I don't know what you are waiting for. We have, like, amazing, amazing information we throw out there biweekly, I guess, GB. And if you are yet to follow us there, simply type Lagos TUG.
1:22:58 Thank you so much, guys. Thank you for coming on this month's, um, TUG. Thank you, G-