Skip to content

Summary

The San Diego Tableau User Group's June 2026 meeting, from the Team DataFam YouTube channel recording; the San Diego TUG's own edit of the same meeting, from the group's YouTube channel, is also on this site. Hosted by Michael McCusker with co-leads Luigi Cicciari and Kayla Swain. Andy Kriebel, a Tableau Visionary Hall of Famer who co-founded the first Tableau user group in 2009 and started Makeover Monday and Workout Wednesday, presents 'marks layers', his name for map layers used beyond maps. He first demonstrates map layers on a map of San Diego, stacking separate data sources for neighborhoods, trolley routes, rec centres and fire stations, each filtered independently with a parameter, and shows examples from his Next Level Tableau classes. He then explains the trick behind using them for any chart: latitude and longitude form a flat grid from minus 180 to 180 and minus 90 to 90, so anything you can plot with MAKEPOINT in that space can be drawn in one sheet. Examples include pie and donut charts, bar chart hex maps, an L-shaped bar borrowed from Sarah Pallett, calendars, gauges and jump plots. He then builds a waffle-style chart of percent of sales by region from scratch, relating a table of 100 points, computing the percentage with an LOD because table calculations don't work with map layers, and adding label layers for region names, 0% and 100% and the actual value with invisible placeholder circles. In the Q&A he describes how the Atlanta TUG always ran in person with a hands-on training element, and Luigi is thanked for organising Data + Tacos at TC26.

Listen to this TUG

Prefer to listen? This meeting is also an episode of the Tableau TUG recordings podcast.

Key points

  • Andy Kriebel: marks layers aren't just for maps; they give precise control over where anything is drawn in a view.
  • On maps, stack separate data sources as layers and filter each independently, using a parameter to link them without relationships.
  • Latitude and longitude are a flat x-y grid, so anything you can place with MAKEPOINT in that range can be built in one sheet.
  • Start your grid at zero, zero in the bottom left; it makes the maths easier to reason about.
  • Pie and donut charts, bar chart hex maps, calendars, gauges and jump plots can all be built with marks layers.
  • Table calculations don't work with map layers, so compute ratios such as percent of total with an LOD expression.
  • An invisible circle at a chosen point makes an exact placeholder for a label.
  • Andy's advice for user groups: meet in person, mid-day, with a hands-on training element people can take back to work.

Jump to a chapter (14)

  1. 0:00 Welcome and the San Diego TUG leaders
  2. 2:09 Introducing Andy Kriebel
  3. 2:45 Andy Kriebel: marks layers
  4. 5:59 Demo: map layers on a San Diego map
  5. 13:17 Examples from Next Level Tableau
  6. 14:52 Marks layers beyond maps: the flat grid
  7. 15:47 Pie, donut and hex map examples
  8. 19:54 Calendars, gauges and jump plots
  9. 23:13 Build: percent of sales with marks layers
  10. 28:19 Adding the label layers
  11. 34:45 Splitting into a grid by region
  12. 36:34 The 30-day skill-building accelerator
  13. 37:38 Q&A and running a TUG
  14. 41:18 Data + Tacos and how to get involved

Transcript

0:00 Michael McCusker: Everybody, welcome along to our, um, June version of our San Diego Tableau User Group meeting, and really excited about this one. This is, uh, coming off of the back of a fantastic Tableau Conference, and we're hoping to take that momentum from Tableau Conference through the ne-rest of the year.

0:16 Um, we are kicking that off in a big way with, uh, a really great, um, guest presenter today with, um, Andy Kriebel. He is gonna talk to us all about map layers, which is a topic close to my heart.

0:30 Um, we will have some time at the end for a Q&A with Andy. So, uh, think of those questions, get them in the chat or the Q&A, and we will tee them up with him. They can be about today's presentation or anything else that is on your mind.

0:45 And before we kick it over to Andy, let's do some introductions to your, uh, TUG leaders here. Um, I'm Michael McCusker. I'm a Tableau tech lead at Devoteam, and I've been a part of this TUG for a couple of years and part of the organizers now for coming up on a year now.

1:03 Um, and I've been using Tableau for about six years. I'm actually a member of Andy's Next Level Tableau, so I'm, uh, really happy to have him on here. Um, I'll pass it over to you, Luigi.

1:15 Luigi Cicciari: All that. Thanks, Michael.

1:17 I'm Luigi. I'm a Tableau ambassador and vice president of operations here at Direct Avenue.

1:24 Uh, we're a linear and connected television video buying agency.

1:29 I've been using Tableau, I can't count that high, well over a decade, and very excited for today's presentation.

1:37 Kayla Swain: Hi, everyone. I'm Kayla Swain. I work for a healthcare startup called Archwell Health based out of, uh, Nashville, but I, I now live here in San Diego. Um, I've been helping Luigi with the, um, and now Michael, uh, for I think about two years with the San Diego TUG, and I've been using Tableau, uh, I think almost eight years now, so quite some time.

1:59 I'm excited for this presentation, um, to learn a little bit more about map layers, which still for me is one thing I haven't spent too much time with, so I'm really looking forward to this presentation.

2:09 Michael McCusker: Great. And then not joining us today is Ashley, one of the other organizers. Um, but moving along, we have Andy Kriebel today. And I, I don't know, it always feels, uh, silly, I feel like introducing Andy. Most people, most of you will know who he is, but if you don't, he is a Tableau Visionary Hall of Famer, a Tableau ambassador, and he runs and coaches in a program called Next Level Tableau, and he is hitting the TUG circuit hard at the moment.

2:34 He appears to be in every TUG in every location. Um, so we're really grateful that he's joining us today, uh, talking all about map layers. So I'll kick it over to you, Andy.

2:46 Andy Kriebel: It is a absolute pleasure to be here as always. San Diego's, um, my fifth favorite user group. Um, no, just kidding.

2:55 Um, so I'm gonna be talking to everybody today about… I actually changed this presentation, Michael. I'm now calling it Mark's Layers because if you notice when you drag on to the view, it actually says Mark's Layers, not Max Layers. I just want it always said Map Layers, but maybe that's a change they made. So I'm gonna refer to it as Mark- Mark's Layers throughout the presentation.

3:14 Um, thank you for having me again. Um, I'm actually coming to you from Panera Bread in the middle of, uh, uh, in Center City, Philadelphia. My mom is sitting across the table from me. She's never heard me present before, but she's on her phone not paying attention.

3:27 So, uh, what I'm gonna do today is hopefully INSPIRE you to learn how to use Mark's Layers in order to create any visualization in Tableau.

3:37 Real quick overview of what we're gonna go through. Um, I'm gonna take you through kind of my, uh… This is actually not in the right order. Um, but I'm gonna start by actually showing you how map layers work, right? So how to use these layers just in maps in general. So I'll do a quick demo there, and then I'm gonna just show you some examples of what's possible with map layers, some of the things that we've built in Next Level Tableau classes.

4:00 And then I'm gonna get into explaining to you how to use map layers without maps, and I'll go through and build a demo in that as well, and it's actually a demo I've never built in… Oh, sorry, there's a bug flying in front of my face. Uh, it's a demo I don't think I've ever built in a webinar before, so we'll, we'll see how it goes. I did, I did rehearse ahead of time, so hopefully, hopefully we're okay with this session.

4:22 Um, as Michael said, I'm a Tableau Visionary Hall of Famer.

4:25 Um, I've been using Tableau for, for 19 years now. So, um, eight years is really you're just getting started if you have eight years of Tableau experience. So, um, yeah.

4:36 And I got over fifteen hundred visualizations on my Tableau Public profile, and that's one of the things that I try to really stress to people is as you're building things, make sure you're publishing them up to your Tableau Public profile and posting them on LinkedIn. Start building that network. You never know where it could lead.

4:53 And I got my start with Tableau at Coca-Cola, where I led Tableau training there, and then moved on to Meta Tableau practice before moving to London to start Data School.

5:04 And I did that for eight and a half years before moving and starting Next Level Tableau. And you may or may not know, but I actually founded the first, or co-founded the first Tableau user group back in 2009, which that one's still going strong.

5:19 And, uh, I'm really actually particularly proud of starting Makeover Monday and Workout Wednesday, the first two data community projects anywhere of any tool. And those have been, like, really influential in people's careers and, and, um, it's been really kind of satisfying to be able to kind of be at, uh, sort of the, um, one of the community leaders that kind of helps people grow their Tableau skills.

5:42 Okay, so let's hop into it. So what are Mark's Layers? Just trying to set a bit of, um, scope for you here. So first off, it just means you can have unlimited layers within a single sheet. So think about it like a stack of pancakes. You can have as many pancakes as you want, and they can come from as many different chefs as you want, right? So you can have lots of different data sources.

6:02 They can all work together on the same particular view. And this is what I'm gonna actually demo to you here in a minute And then once you look at marks layers beyond maps, they give you pres-really precise control over where you display things on the visualization. That's what I'll get to in the second demo that I'm going to show you.

6:22 And of course, because it's, um, geospatial, um, you can use any of the different spatial types that Tableau supports, like points, lines, shapes, um, et cetera, uh, onto the same view.

6:36 Okay, so let's start actually by going into a map layers demo. So let me flip over to low. And Michael, if you have any, like, questions along the way, just let me know and I'll, uh, spot.

6:49 Okay. So what I'm gonna do is I downloaded a bunch of data from San Diego, uh, open data, and I'm just gonna show you kind of how layers work. I didn't– These are all different data sources. They're not different data types, but just trying to give you an idea on, on what we're looking at here.

7:02 So we're gonna look at things like transportation routes, um, cycleways, where are the rec centers, uh, what is, you know, uh, different neighborhoods, and where, where are the fire stations in San Diego. So I've got one, two, three, uh, six different layers we're going to look at. But let's, let's actually start with the San Diego neighborhoods.

7:22 And, um, we just get something really simple like this. Just…

7:27 And then actually, let me go back here, and notice the data type here is a multi polygon. Right. So that means there's multiple polygons making up a single polygon.

7:34 I just double click on that geometry field, and Tableau will automatically build a map for us. And you see it's the different neighborhoods in San Diego. Just for clarity, I'm gonna go ahead and get rid of the, the map background, just to make it a bit easier to look at. And right now these are all just a single object. And to show you how we're gonna limit some additional data, what I'm gonna do is I'm gonna actually create a parameter, and I'm gonna call this my spatial parameter.

8:00 And I'm just doing this so that I can use these neighborhoods to help us filter data in other places. So I'm gonna just hit that, and then I'm gonna create a dashboard action, and this will be a change parameter action.

8:15 And I'm just gonna populate that with my neighborhoods.

8:18 Okay. So I'll– I'm literally only do this as the only time I'm going to use that action and that, and, uh, and updating that parameter. So if I look at this parameter now, you'll see it has all this kind of gobbledy goop in it here. Um, I just… I wanted to populate that parameter, so I don't actually need to build relationships between the data sets.

8:37 Okay, so that's that. And then I could put neighborhood onto detail and start to split up the views. Now I can see all of the different neighborhoods within San Diego. So let me go ahead and maybe I'll wash those colors out a bit. So that's our first layer.

8:51 Now, what I wanna do is I wanna look at, let's say, uh, let's, let's layer the transit routes on top of that. So I'm just gonna drag that onto the view.

9:00 And now I have a brand new data set, right? I didn't, I didn't create a relationship to the first data set. This is a completely independent, uh, completely independent data source. And if I look over here, this one is, this geometry type here is actually a line. So, right, different, different data type here.

9:18 Let's add that data guide.

9:19 And now I can drag that on as a separate layer, right? So you have this card called Add Marks Layer. Notice it doesn't say map layer.

9:26 And I'm gonna drop that on there, and now I can see the different, uh, the different train routes. So, and I'm gonna split that up by the different parts of the view. So now you can see I've got these different segments. Well, some of these are actually outside of the, of the, uh, the neighborhoods. So I want to get rid of those. That's where this parameter is going to come into play.

9:46 And I'm only doing this to make the view a bit easier to look at. So I'm gonna call this some range, and I'm gonna use a functl-function called intersects. This allows us to determine are two spatial objects overlapping each other. So I wanna compare the geometry field from my transit routes to my spatial parameter.

10:06 Okay, so again, I'm using the parameter because it helps me work across the workbook.

10:12 And if I drag that onto the filters,

10:16 I'm gonna just choose those that are true.

10:20 And we should see this shrink down. Okay, so notice how the, the routes outside of that area got to take… are, are no longer visible. And one of the things to notice, we kinda keep your eye on this filter. It's like a regular color builder there. But if I go to this second, back to the other data source, notice how it turns gray. So these filters are actually working independently of each other.

10:41 Okay, so that's, that's our transit route. So maybe I'll go ahead and, uh, I'll make those like, uh, maybe like a dark blue, and maybe I'll make them a bit thinner just so they don't take up so much space. Okay, so we've got something like.

10:53 And now I wanna go ahead and maybe overlay the, uh, the rec centers.

10:58 Okay. So you're interested in going to the gym, you wanna know where they are.

11:02 And now I have this, another geometry field. I'm gonna drag that on top, and I meant to go back and look at the data type for that.

11:11 If I go all the way to the end, notice how this one is, is a point. So I've got different…

11:16 I had a shape. I… Or sorry, I had a multi polygon. I have a line. Now I have individual points. So I'm actually gonna make these ones circles, and I'll put the, um, maybe the facility ID onto the view. So now I can see where all the different rec centers are, uh, within San Diego. And I'll just make those, uh, maybe a light blue.

11:38 Okay. And now I wanna look at something maybe like where are the fire stations. So I'm gonna drag this in.

11:44 Same thing. These are probably points as well because they're just individual locations.

11:50 And I'm gonna drag that onto the view.

11:52 And now I see where my fire stations are. Okay. Well, I'm gonna put my, um, where's my ID field? So this is an ID for each individual fire station.

12:02 And these I'm actually gonna make a shape instead. And let's maybe make those, uh, let's make those, you know, maybe red X's. Kind of strikes me as something fire-ish. And I'm gonna get rid of the, uh, the halos there. Okay. But again I only want to see those that are within the neighborhood boundaries, and that's where my parameter comes into play, right?

12:22 I can use this across different data sources.

12:25 So I'm gonna go back over to my transit routes, and I'm gonna go ahead and copy that calculation, and I'm gonna paste it here

12:35 and drag that onto my filters. And this filter is working independently of the other ones. Okay, there we go. So now we're just seeing the fire stations inside of that area. And you can kind of go on and on this way, right, with lots of different data sources. So that's just like a really quick taste on how you can use map layers with maps. Right?

12:53 Now, you might want to know, like, you know, why would you want fire stations, uh, and rec centers near each other? Well, you know, maybe that's for emergency services if somebody, you know, passes out on a treadmill or, or something like that, right? And then, you know, whatever. Anyway, uh, and maybe the public transportation's there so that you know which line you're on, uh, which transit line you're on, where's the nearest, uh, where's the nearest rec center or something like that.

13:18 So that's the kind of stuff where the geospatial analysis allows us to do.

13:23 So quick map layers demo there.

13:26 And I just want to show you a few examples of things that we've built in next level Tableau classes in under an hour. So this first one is a commuter flow in Georgia, and what you're looking at here is, uh, the county to county commuting. And you can see kind of like the cluster up at the, you know, kind of the upper middle. That's where Atlanta is.

13:44 And this is basically an analysis of where do people commute to from the different counties in Georgia. So it's like a network type of analysis. And this has three layers. One is the counties in the background, and then we have a dot that acts like our spoke in the middle of each county, and then we have lines connecting each county to every other county that people commute to.

14:07 And this visualization shows all of the different transportation modes in the city of London.

14:13 And then we built one with, uh, crimes in Chicago, and the neat thing about this is there's a buffer calculation, which is what those circles are, to, to allow us to analyze, like how many crimes happened within a mile of a police station, different things like that. I think this one has, like, six or seven different layers.

14:31 And then, uh, we built this one last week in class. Um, this is looking at the impact of hurricanes on the potential, uh, sorry, the potential impact of hurricanes on the US population.

14:42 And this is using both, um, spatial parameters, the buffer function, as well as the intersects function. So really, really neat, um, a way to do it there. Okay. But you're actually here to learn how to use marked layers beyond maps. So let me explain how this works. And this– hopefully, this analogy works well for you. So if you're a fan of Flat Earth, this is, uh, this is right up your alley.

15:07 Um, if you think about the coordinates of the globe, the longitude, so left to right, goes from minus one eighty to one eighty, and the latitude goes from minus ninety to ninety. So as long as you can fit your data inside of that range, you can build it in Tableau. Now, that might mean you need to normalize your data. So, for example, um, yeah, I'll show you an example here in a minute of how you can do that with sales.

15:33 But, you know, you might need to just, like, divide your data by a thousand or something like that in order to get it within the scope. So if your, if your sales are a hundred and eighty thousand, you need to divide it by at least a thousand to get it to fit into this range.

15:49 But before we do that, um, and basically, as long as you can fit everything inside of that range, you can build anything you can think of in Tableau.

15:57 So here's an example here I'm gonna take you through kind of step by step.

16:01 Um, so this is a combination pie chart, bar chart. So we have the bar, right? Our standard kind of bar chart.

16:07 And, but we also have three different labels on them. We have the region label, we have the sa– total sales, which is on the kind of inside bottom left of the, of the, um, the bar chart, and then we have the percentage on the upper right with our donut chart to the left. So this is a lot of information in a single visualization. This is all done in a single sheet.

16:28 But it's impossible to do this without map layers.

16:32 And this is how it works. So when you're drawing a bar, essentially you're drawing a rectangle, but it requires five points. And I like to always start at zero zero, kind of the bottom left of the visual, uh, bottom left down here, because it helps set my mind, like, okay, it makes the… For re- really what, what I'm trying to say is it makes the math a bit easier for me to understand where I need to go.

16:54 And if I ever get confused, I just grab some graph paper and try to draw it on my graph paper, and that seems to work well for me.

17:02 So when you're just trying to draw a bar chart, you're just literally going around and playing connect the dots around the rectangle. So we're gonna start at zero zero, which is zero latitude, zero longitude, and we're just going up one degree.

17:15 And then we're gonna stay at one degree and go over twelve percent of total, come back down, and then back down to the beginning.

17:21 And then we just use one more, uh, one more calculation to draw the donut chart, but that's two more layers. So we've got, um, the layer for the pie and then the layer for the donut, and you can come up with this in just a single sheet.

17:37 Here's another example of something that we've built. Uh, these are bar chart hex maps. This was, like, serious overkill, but it was, but it was fun to build.

17:44 Um, the whole idea where this came from was we wanted to be able to put bar sh- bar charts inside of hexagons because we liked the layout of hexagons. The hex map of the US just, you know, those are not only visually appealing, but they, um, they normalize the size of the states. But then we wanted to be able to show a trend as a bar chart inside of that.

18:05 And the way that that works is because a hexagon is six points, you actually need seven to play connect the dots around the outside of the view.

18:12 So it just requires some math to figure out what are the different angles that you need to use to go around the view.

18:19 And then we do the bar charts, the same thing, five points around the bar charts.

18:23 And then we do one additional point in the middle to label our state.

18:28 Bring all those together, and you've got a bar chart hex map. That one was really, really fun to build.

18:34 And basically, if you can create XY coordinates, then you can build anything in Tableau. And David Liska, who used to be a member of Next Level Tableau, he really liked a, a demo I showed where we used six layers to build a two-by-two barcode chart, and that's actually what I'm gonna show you in the demo I'm gonna build now.

18:53 And just let me take you quickly through a few, a few, um, map layer or marks layers of views that we've built for, uh, non-standard charts. So this is kind of a, an additional take on that bar chart I showed you a minute ago. I liked calling it the big beautiful bar chart after the big beautiful build. Um, and you see this, the same kind of view that we have, except I'm borrowing Sarah Pallett's idea of drawing an L-shaped bar, uh, to kind of give it nice little, um, shape of the, uh, of the, um…

19:25 I just like kind of how it gives a border on the bar, and little dots on the ends. And then we have the little reference line and the donut chart on the left-hand side. This was done all in a single layer, and I'm trying to think how many layers this is. So you have one for the bar, one for the L, that's two, and then the dots is three, the line is four, the marks is five, six, seven, and then eight.

19:48 So this is nine different layers to build this chart. Is it overkill? Probably. But it actually looks nice, and it was a really fun exercise to build. And the whole idea of building things like this is to kind of open up your mind for what's possible.

20:01 Another really useful thing to build if you want to, uh, just understand how a really simple visualization with map layers is to build a calendar. And the difference be-between this and… or, or the, the challenge this helps you overcome from the typical way you would build a calendar in Tableau is that we have the weekday labels, uh, and the month labels above each, uh, above each month, and you can't do that without map layers.

20:28 Okay? And then if you've ever tried to build a marginal histogram in Tableau, it really becomes quite the struggle because of containers. Well, with map layers, you could build all of this in a single visualization. And really, if you think about it, it's just three different bar charts. We have our bar charts for our weekdays. We have a bar chart for our hours.

20:47 And then even though these look like rectangles, they're really just bar charts, right? We're just connecting the dots in there as well. And we just need to figure out where to put them, and then we're good to go.

20:59 Right. And this was a really fun one. This one took us a couple of classes to build. Um, but there i– these are all different layers, so every kind of column you see here is a different layer.

21:08 And, um, you know, so you can build some really beautiful looking, really sophisticated visualizations with map layers.

21:15 And if you've ever tried to build a gauge chart in Tableau, you probably get really confused by all of the table calculations you need to build. Well, um, when I figured out how to build this one with map layers, it made it significantly easier 'cause all you really need to understand is go back to your middle school geometry and remember what sine and cosine mean.

21:34 'Cause really all we're doing is drawing two semicircles and then connecting the, um, semicircles. So in theory, it's actually quite simple. We're just drawing a bunch of dots and playing connect the dots around the edges.

21:48 And we also built a, um, a jump plot timeline.

21:53 And, uh, the difference here is, you know, yes, y- again, you could do this with containers, where you have a container for your bands, and you have another container for the jump plot and, uh, sorry, another con- uh, another sheet for your timeline. But the issue becomes getting all of this to line up perfectly.

22:10 Where when you use map layers, you can get the timeline and the arcs to line up perfectly every single time.

22:19 And this, I did a presentation at the Analytics TUG last week on how to build this particular visualization. It's probably up on their YouTube now. But, um, in that particular, uh, demonstration, what we looked at was customer retention. So we want to know which customers are our longest serving customers. So each hop you see would have been a customer.

22:39 Where did the customer make their first purchase, and when did they make their last purchase, right? So we're just trying to look at how long customers have been around us.

22:47 But I want to show you my step-by-step process for using marks layers, and I'm gonna show you how to build this barcode KPI chart. Okay? So we need to figure out how to build all of the different layers to make this work. So let me switch back over to Tableau now, and I'm gonna create a new sheet.

23:06 And I've got two different data sources here. One is just a simple sales versus budget. So let me drop that in.

23:12 You see nothing sophisticated there. We've got date, region, sales, and budget.

23:17 And then I need to relate that to a dataset. This one has a hundred points.

23:23 And essentially, why do I need a hundred? Well, if I go back over here, I've got, you know, up to a hundred percent. But what I'm gonna demo to you actually is only using twenty-five. So each of these merely represents four.

23:36 Okay? So I'm gonna just drag that dataset over, and now I need to build a calculated relationship for these. And this is where relationships become really handy because previously you would have needed to do this with a join, and that would meant you're creating a hundred records for each of your, each of your individual rows in your sales and budget data source.

23:57 So I'm just gonna create a relationship calculation that connects them together. It's kind of acting like a join.

24:05 Okay. So now what I wanna do here is, um, I wanna go ahead and create a bunch of calculations that are gonna help us draw those rectangular bars.

24:12 So I'm gonna start by creating a new calculated field, and I'm gonna call this My Bars, and I'm gonna use the Make Point function. Now, I'm going left to right and top to bottom, so I want to actually start my, um- My latitude at zero, and I'm gonna have my longitude at my point ID.

24:34 Okay? And I've got notes in case I mess up.

24:37 Just bring those up to make sure I'm doing this right 'cause I changed, uh– I noticed this morning there was actually a much easier way to do this. Okay. So I'm gonna hit Okay there, and I'm gonna just double-click on that, and you see I get a bunch of circles here. Okay, no worries. We're good to go there so far. But I'm gonna change that into a bar.

24:56 Sorry, not a bar. Again, bar.

25:00 And what I wanna do is I wanna make that go out from zero degrees to one degree. So I'm gonna just put the average of one and drag that onto the size.

25:09 And I get just a single bar now. Well, I need to put my point ID field onto detail to now get… There's actually a hundred marks here. You can maybe see it kind of jittering as we go through it. Now, we can't see it as little bars yet because we have the map background. Remember, you know, we're only from one degree, where this is obviously showing, you know, probably close to ninety degrees, and the, the map background is showing about ninety degrees.

25:31 But we're gonna take care of that.

25:34 Um, oops. Didn't mean to paste that.

25:37 So now I'm gonna create another calculated field that's gonna show me the percent of total sales.

25:42 And with, um, with, uh, map layers, you have to, um– You can't use table calculations with map layers, so I'm gonna have to compute my percent of total sales as a, uh, as a level of detail expression. So that's gonna be the sum of sales divided by the sum, and I'm gonna call this ratio the sum of sales.

26:05 Okay. That's just gonna give me my total of sales, and let me go ahead and set the default number format for that to a percentage. We'll just round it to zero decimals. And we're gonna use that here in a minute.

26:19 Okay. So for simplicity, I'm gonna just filter my point IDs. I only want to keep twenty-five of them, so I mentioned how, you know, we don't need to draw all one hundred. We could, but we're not gonna bother.

26:30 And there we go. So now you see it just makes the view a bit easier, not, not quite so crowded to look at.

26:36 Okay, um, so what do I want to do next? All right. So I'm gonna start by just… Let me just filter down to a single re- a single region for now just to make it a bit easier to understand.

26:47 And we're gonna create a new calculated field that is gonna tell me which marks I need to color. So I'm gonna call this marks to color.

26:56 And for this particular calculation, I wanna look at my percent of total sales, but I wanna multiply that by twenty-five because I need to make it a whole number, and I'm only showing twenty-five of the bars.

27:07 And I wanna say, is that greater than or equal to my point ID?

27:12 So again, my point ID goes from one to a hundred, so that's why I need to multiply the percent of total sales to get it back to a regular number. So if my percent of total sales is, um, is, uh, you know, point one, that's gonna make it two point five, which means it's gonna color code, uh, the, um, the first two point IDs.

27:34 But because the percent of total sales is an aggregate, I need to make the point ID an aggregate as well. So let me just use an attribute function there.

27:43 And if I drag that onto color, you'll see I have a true and a false.

27:48 So I can see the different colors I have there.

27:50 Let me go ahead and change those. Um, I'll use my next level Tableau color palette. It's not on here. Um, I'll just use the, the red and the gray.

28:00 And again, we can't quite see it yet, but we'll, we'll come back to that.

28:04 Okay. So now if I flip back over to what we're trying to build, I've now kind of built these bars. We can't… Again, we can't see them zoomed in yet, and I need to start building this kind of structure around the outside with all of these different labels.

28:16 Well, let's start by creating a calculated field for our sales label.

28:22 And the calculation for this one is I'm gonna use the Make Point function. And if I look back over here, notice it's out here on the right-hand side. Okay?

28:31 So it's gonna be below my bar but out to the right of the chart. So I'm gonna start at, at zero 'cause that's gonna give me the bottom of the bar. And then I need to extend it slightly past the, uh, the last bar, and you'll, you'll see here in a second why it needs to be slightly past.

28:48 Hit okay. And now when I drag that on, I can add it as a layer. And notice I get a little dot out here on the right-hand side. So right here, get this little dot.

28:57 Now, I'm gonna make that a circle, and then I'm gonna go ahead and drag my sales onto my label shelf.

29:06 And for the formatting here, I want to set it underneath the circle, but I want it to be to the left. And notice now it lines up exactly with the outside of this bar here, right? So it's just kind of a, a bit of experience there.

29:18 And I'm gonna shrink down the size of the circle and reduce the opacity so that you can't really see it. So I'm using the circle more or less as a placeholder.

29:28 Well, now I have two layers, which means I can get rid of my map background. So if I change this to none, now suddenly I have our nice little bar chart. So just like, you know, it's kind of magical how that kind of all comes together right there.

29:41 Now, in my label here, I'm gonna make this maybe, uh, just maybe make it, like, uh, fifteen point and bold. And you see we've got our nice little label down here on the bottom right. And I'm gonna go ahead and turn off this label.

29:54 I'm gonna go ahead and disable the selection.

29:57 And now I can't actually click. And maybe I should do the same thing here as well.

30:02 And I'm going to need region on the view because eventually I'm gonna bring all of the regions into this data source. So if you hover over the bars, uh, if you hover over the bar– Oh, no, I disabled selection there, didn't we?

30:14 Just to show you now. So I have my region and, uh, and the value there. Okay. So let me disable selection again.

30:21 So we now have our first point. Okay. Well, let's go ahead and create another calculated field that is going to be our region label.

30:30 And I'm gonna use the Make Point function again, and this is going to go on our bottom left of our chart. Okay, so that means it's gonna be at zero again, but I need it to be, uh, zero point five, so I need to be just to the left of that first bar. So that first bar starts at one.

30:47 Click on okay. And when I drag that onto the view, I'm gonna make it a circle.

30:54 So now you can see I've got that mark right there, and I'm gonna drag my region onto the label.

31:00 Okay? And then it's a bit of formatting, so let me make it maybe fifteen, and my alignment is going to be, uh, to the bottom, but this time to the right.

31:11 And then I'll reduce the circle size down. And as I reduce the size of the circle, basically that just kind of moves the text over to the left a bit.

31:18 Reduce the opacity and disable the selection. So hopefully you kind of see this coming together now.

31:24 All right, so next we have our zero and our hundred and our actual value.

31:30 So let's create another calculated field, and this one is going to be our zero label.

31:37 And this time we're simply gonna go, our latitude is going to be one and our longitude will be zero.

31:44 Sorry, no, our, our, our longitude should be zero point five.

31:49 Okay? Similar to what we did down here for the Asia Pacific. So I'm gonna drag that onto the view.

31:55 Make it a circle.

31:56 And now we get the circle at the top.

31:59 And I know my, my label needs to be zero, so I'm just gonna do zero percent. Oops.

32:04 If I could type correctly, that would help.

32:08 And I'll drag that on for the label, and now I have my zero percent.

32:12 And I'll set that, uh, maybe I'll make that one like ten.

32:17 And I will set this one to the right, but this time to the top. So it goes up there.

32:23 And again, reduce the circle size, reduce the opacity, and disable those selections. Now we have that zero perfectly placed.

32:32 Okay. Now a hundred percent label is going to be similar. So I'm gonna just… this time I'm going to duplicate my zero label.

32:41 And this is going to be our one hundred percent label.

32:47 And again, we're gonna be at one, but we want to be twenty-five point five, so just past that last bar there.

32:54 And let's drag that on as another layer.

32:57 Make it a circle. Hopefully you're starting to see these steps kind of get very repetitive.

33:03 Uh, let's reduce the– let's reduce the color.

33:06 Hopefully.

33:08 Let's reduce the size.

33:10 And this time on my text it's gonna just be a hundred percent.

33:18 And drag that onto the label.

33:20 And we're gonna align that to the top and to the…

33:24 Okay. And did I disable selection? Yes. And I need to make sure I put region on the detail.

33:30 And I think I forgot to do that here as well.

33:33 Okay. There's our re… Okay. So now what I could do is I could, um, I have region on the view, so let me go ahead and… or no, I got one more calculation to create.

33:42 And this is my, what did I call this? Our, um, actuals point.

33:49 And, uh, so this calculation will again be our Make Point function.

33:54 We're gonna do it at one 'cause we wanna go up above the bar.

33:58 And this time it's going to be our percent total sales times twenty-five.

34:04 Okay. So that's just gonna give us the position there.

34:07 Drag that onto the view.

34:10 Make it a circle.

34:12 And let's, uh, set the, uh, label. Let's see. So my label should be my percent of total sales.

34:20 Region on detail.

34:22 Okay. Now this particular label I'm gonna go ahead and place, uh, above the circle for consistency, and I'm gonna set it to the center horizontally.

34:32 Bring the size down.

34:34 Reduce the color.

34:37 And maybe this one I'll make bold.

34:40 Okay. Something like that.

34:41 Again, you can customize it to your heart's content. So let me go ahead and take the, this field off the filters. And I'm gonna create… and notice I have multiple marks up here, right? One for each individual measure. So I'm gonna create a new calculated field. I'm gonna call this my columns.

34:57 So this particular calculation, this is a bit complicated, so I'm just gonna actually just copy and paste here.

35:04 So copy.

35:05 I'll paste that there.

35:06 Don't worry about what it does.

35:08 I need that to be, uh, discrete because I want to split up the rows.

35:13 Put that into columns. And now I'm gonna create another calculation for our rows.

35:19 And this calculation is gonna be a little bit different. All these calculations are doing is trying to figure out, uh, how to lay out the grid. So this one is going to be discrete.

35:31 Put that one in the rows.

35:34 And then I need to compute both of these by region, 'cause I want it to recompute for each individual region.

35:40 There we go. So now I've got my two by two. I can hide my headers.

35:45 I can edit my axis now to give it a bit more room to breathe. So I'm gonna go from minus one to two.

35:55 Go ahead and hide these headers.

35:57 Hide the header at the bottom.

36:00 And if I want, I can make these bars a little bit thinner to give them a bit more space to breathe. And there we go. We're all done. We've got our really cool looking bar chart.

36:12 Okay. So in the chat, what's really helpful for me when I run these types of sessions is to understand kind of what you like best. And Michael, maybe you can read some of these out as they, as they come in.

36:23 Um, it really helps me make these sessions better for you. I have about five minutes left because I need to get my mom to the dentist, so she's sitting across from me getting impatient.

36:32 Uh- But yeah, in the comments let me know what you like best. Um, but if you enjoyed today's session, I have something free for you. So I created a course called the Thirty-Day Tableau Skill Building Accelerator.

36:43 Um, all you need to do is, is, um… It's gonna take you through all these different foundation pieces that you need to get pretty good at Tableau pretty quickly. Um, so you're gonna start with the core foundations, like what are the most important things you need to learn.

36:58 Calculations, interactivity, uh, working with containers, KPIs, and then a bit of advanced techniques. Plus, you get access to webinars, our Next Level Tableau Conference, and more of those are added each month completely free.

37:13 All you need to do is just scan this QR code or go to nextleveltableau.com/accelerator.

37:18 It'll create an account for you on Next Level Tableau. If you already have an account, you will already see this.

37:25 Um, and, uh, and yeah, that's where…

37:29 That's what I have for you today for letting me speak. So thank you very much.

37:34 Um, so Michael, any questions, comments, anything in the chat?

37:38 Michael McCusker: That was brilliant. Thank you, Andy. I love how it kind of reminds me of, um, those art shows where you don't know what it is until the last minute, and everything starts to, um, fall into place right at the last minute.

37:50 Andy Kriebel: Yeah. Yeah.

37:51 Michael McCusker: Um, as people are putting in their favorite things, um, Judd did ask, "Can you review the underlying lat long grid that you created?"

38:00 Andy Kriebel: Can I review it?

38:01 Michael McCusker: Yeah.

38:03 Andy Kriebel: Um, so-

38:03 Michael McCusker: I'm not sure, Judd, if you want to elaborate on that.

38:07 Andy Kriebel: I think the easiest thing to do is if, if I, if I unhide this headers, the latitude and longitude here.

38:16 So you can see this is my latitude. Everything goes from zero to one, and then longitude everything goes from zero to twenty-five.

38:25 And that's the entire grid that I'm using.

38:28 So if I, if I go back over in the presentation to… Let me see here.

38:34 Let me go back.

38:36 This grid here.

38:38 That's all good. I'm just trying to make sure that all of the data fits within this particular grid.

38:43 So I don't know if that answers those questions then.

38:46 Michael McCusker: It seems to have answered his question. And then-

38:48 Andy Kriebel: Okay

38:48 Michael McCusker: … not too many other questions, but lots of, um… People really loved how this came together. Kanwal was asking, "Can we get the workbook?" Kanwal, I'll get that link out to you. Um, and yeah, a lot of love for this building things in map layers. It kind of blows people away when you do these demos, and, uh, that's really cool to see.

39:07 Um-

39:07 Andy Kriebel: Yeah. And, and hopefully people are seeing it's actually not that complicated.

39:11 Uh, you know, when I think about it, I literally just kind of picture a grid in my head, like how do I lay these things out as logically as possible?

39:20 Michael McCusker: Great. And then if there's no more questions, and then, um, if you still have a couple of minutes, Andy, just outside of today's presentation, you shared that you started the first Tableau user group, um, in Atlanta, I think.

39:31 Andy Kriebel: Mm-hmm. Yes.

39:31 Michael McCusker: Which is, uh, something that I didn't know about. What are some of the sessions that you ran that you thought that you really enjoyed running or that you found really beneficial to your members?

39:41 Andy Kriebel: Um, so the way that we always ran the Atlanta Tableau User Group, and I think it still runs this way today, is it was broken up into three parts. It was always in the middle of the day, and it was always in person.

39:52 Um, and there was always a training element to it. So it made it a good reason for people to get out of the office to come to those sessions because they're getting free training, right? Easy way to justify it to their boss. Um, but essentially what, um, what we would do is we'd always kind of have a guest speaker for the first part, and it might be a, you know, twenty, thirty minutes, something like that.

40:11 And then there would be some sort of training, like you're learning a particular topic, maybe it's Map layers.

40:16 And then the third part would be where you get a dataset and you go build something in a small group, so maybe two or three people at a time, and then you present back what you do. And the people that are running the user group walk around and, and help the people. So that's the way that, that we ran it. It always worked really well.

40:31 Um, yeah, so that's, that's kind of what I would recommend.

40:35 Michael McCusker: Great. And then still up on Andy's screen is this QR code to, um, get access to the Next Level Tableau Accelerator. Um, we'll just give that a second for you to grab that if you need it. We'll post the link as well, um, share in the, off the chat. But, uh, Andy, I can see you packing up. We really appreciate you-

40:52 Andy Kriebel: Yeah

40:52 Michael McCusker: … uh, joining and answering our questions and sharing today. So, uh, yeah, and-

40:57 Andy Kriebel: Yeah

40:58 Michael McCusker: … good luck to your mom at the dentist.

41:00 Andy Kriebel: Yeah.

41:02 Great. Yeah. Thank… Sorry, it was… I had totally forgotten about needing to take her today, so sorry. Thanks for-

41:08 Michael McCusker: No, no

41:08 Andy Kriebel: … for being able to adjust last, last minute like this. So, um-

41:11 Michael McCusker: Yeah, of course

41:11 Andy Kriebel: … thank you everybody very much, and appreciate your time. Thanks for having me.

41:15 Michael McCusker: Thanks, Andy.

41:16 Luigi Cicciari: Thanks, Andy. Appreciate it.

41:17 Andy Kriebel: You're welcome. Bye.

41:19 Michael McCusker: And before I get on with the rest of, uh, today's user group, um, I want to do a co- a shout-out. Now, many of you attended Tableau Conference, and Tableau Conference was a fantastic event, but part of what made it so great was that San Diego Tableau User Group kicked it off with an event called Data + Tacos, and this was extraordinarily successful.

41:41 And, uh, people that I spoke to at Data + Tacos really appreciate the opportunity to, um, meet ahead of conference, because conference is intimidating, and it's not always the best setting to meet and socialize with people.

41:54 And what some people don't realize is that it is not a Tableau event. This is put on by the San Diego Tableau User Group. But more specifically, this is put on by Luigi, and this is the third year that he's done it, and each year he, uh, it gets bigger and bigger, and he always, always, always rises to the occasion. And he'll never… He probably hates that I have this slide up right now.

42:16 But it's just… It's a great event. He was perhaps the only person in the room that was disappointed that it was coming back to San Diego again next year, because it means we've got to do it all over again. But big, big thank you, kudos, credits to Luigi because this was a lot of work, and, um, we are really appreciative that we have you here putting this on for the community.

42:37 So thank you, Luigi, and I can see lots of congratulations coming through on the chat. I don't know if you wanna say something.

42:45 Luigi Cicciari: Oh, shucks. Um.

42:47 Kayla Swain: Also kudos for always finding great tacos.

42:51 Luigi Cicciari: Oh, well, uh, thank you. Um, I love doing it. It's…

42:58 E- every San Diego Tableau User Group event is my favorite, but this is my favorite of the year, having everybody come in, getting to see happy faces, people reuniting, having conversations, and, and tacos and, and just, uh, that's what the community's about. Uh, data fam and, and tacos. But yeah, uh, can't wait to do it again next year, and, uh, as soon as we get next year's dates for, uh, conference, we'll, uh, we'll start the countdown again, and, uh, I hope to see you all there.

43:35 Michael McCusker: Yeah. Thank you again, Luigi. I doubt it'll ever line up as nicely as this with May the Fourth and all of the Star Wars themes and Episode III, but, um, I felt like it was a perfect storm this year, and you pulled off a fantastic event. So, uh, lots of thank yous there.

43:52 Luigi Cicciari: Thank you.

43:53 Michael McCusker: Okay. So, um, some of you, this might be your first time joining us, and some of you may have been here before. But ways to get involved with the San Diego Tableau User Group, uh, you can, uh, join our Slack channels. Um, we have a few cool boards up on there, um, and including job boards if you're in the market for a new position. Luigi shared something just earlier this week.

44:18 And there's the QR code there, and we can get those links out to you as well.

44:24 You can also join us on LinkedIn. We have a… I, I think it's a closed channel for the San Diego Tableau User Group for some news about upcoming events. Um, and on either of those channels, what we'd love to hear is what do you want to see from this San Diego Tableau User Group? Different sessions that we can put on. We can have more people like Andy coming on from Panera Bread and sharing, sharing his Map layers presentation.

44:49 Um, and/or different Tableau visionaries and, um, ambassadors coming on and doing some of that training that Andy was talking about that was so successful at the Atlanta one.

45:00 I personally love the in-person meetups that we have, um, and we did one a few months back where we're, we did a beach cleanup, and I think Luigi's already planning for another beach cleanup in August, which is something I'm really excited about. So tell us what you want to see, and then we will try and make it happen.

45:18 That is our content for today. Um, I'm due some of you a few links. Um, I'll post them in the LinkedIn channel and the, um, Slack channel after the fact.

45:29 Um, but unless anybody has anything else, thank you for joining us on a, a time that we don't usually have these sessions on, but we were trying to accommodate our guest speaker today. So I really appreciate you all, uh, taking the time in the middle of the workday for some of you, and, uh, we will see you next time.

Shorts for this TUG

Leave a comment

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