Analytics Tableau User Group 28 May 2026
Analytics Tableau User Group - Customer Retention - From Pdf to Self-Service - Tableau Journey
1h 28m 14,475 words transcribed
Summary
The Analytics Tableau User Group's May 2026 meeting, Customer Retention and From PDF to Self-Service, recorded by the group on its own YouTube channel and republished here with credit. Co-lead Prasann Prem introduces fellow hosts Annabelle Rincon and Chimdi Nwosu and hands over to Andy Kriebel, Tableau Visionary Hall of Famer and founder of Next Level Tableau, who joins from The Data School on the day of a graduation there. In "Who Came Back? Mapping Customer Retention in Tableau", Andy builds a jump plot live on Superstore: a second data source of 181 points (0 to 180 degrees) related one-to-one to the orders, FIXED start and end dates per customer, a filter keeping only customers whose first and last orders differ, integer dates so everything sits on one axis, and the cosine and sine of each point to draw a semicircle that spans each customer's first to last order. Arcs are colored by profitability, flipped below the axis for unprofitable customers with the SIGN function, scaled by sales so the most valuable long-standing customers arc highest, and filtered to a top-N parameter, which makes long-standing unprofitable customers stand out. Despite several Tableau crashes along the way, questions cover using published data sources (relating another source may now be possible through composable data sources), labeling the axes, aligning every customer at day zero instead of the first order date, and drawing only every second or fifth point to speed things up. Andy closes with a free 30-Day Tableau Skill-Building Accelerator. Chimdi then introduces Emilie Smith of Enliven Health, chemist turned BI professional and founder of the Data + Women North Carolina TUG, who repeats a Tableau Conference 2026 talk, "From PDFs to Self-Service: A 6-Step Embedded Framework". Enliven Health moved retail pharmacy customers from emailed PDF and Excel reports to dashboards embedded in its E360 platform using Tableau Cloud Embedded Analytics, paying for usage rather than licenses. The six steps: configure Tableau Cloud projects and on-demand user groups; set up single sign-on through a connected app and a JSON Web Token; embed with the Embedding API; apply row-level security with a user attribute function; keep extracts refreshing through Tableau Bridge; and control which client sees which dashboard. Emilie shares the project timeline from 2021 to go-live, the Bridge failures traced to a 1.5 GB embedded extract (switching to a published data source fixed them), lessons learned, and a recorded demo, then answers a question about team size.
Key points
- Andy Kriebel: a jump plot needs only a second data source of points 0 to 180, related one-to-one to your data, plus a little middle-school geometry: x is the cosine and y the sine of the point angle.
- Convert start and end dates to integers so arcs can span from each customer's first order to last order on a single axis.
- Filter to customers whose first and last order dates differ: a customer with one order hasn't been retained yet.
- Scale arc height by sales and flip unprofitable customers below the axis with SIGN, and long-standing unprofitable customers become obvious.
- If a jump plot is slow, draw every second or fifth point instead of all 181; the curve still looks smooth.
- Emilie Smith: Tableau Cloud Embedded Analytics bills by usage, not licenses, which makes dashboards for thousands of external users affordable.
- Use a user attribute from the JSON Web Token for row-level security instead of a large entitlement table, and match the data types exactly.
- An embedded extract over about 1 GB will fail to refresh through Tableau Bridge. Use a published data source instead, and test Bridge early.
- Always double-check that on-demand user groups have permission before publishing: a missing permission shows the client 'content does not exist'.
Jump to a chapter (43)
- 0:00 Welcome to the Analytics TUG
- 0:46 The co-leads
- 3:00 Ground rules and agenda
- 3:40 Introducing Andy Kriebel
- 4:41 Andy Kriebel: where the jump plot idea came from
- 6:57 The geometry behind jump plots
- 9:59 Relating a 181-point data source
- 11:45 Start and end dates per customer
- 13:53 Keeping only retained customers
- 14:57 Converting dates to integers
- 17:29 Building the columns: cosine
- 19:27 Building the rows: sine
- 22:00 Spanning each arc from start to end date
- 24:17 Coloring by profitability
- 27:52 Flipping unprofitable customers with SIGN
- 29:17 Scaling arcs by sales
- 32:58 Highlighter and a top-N parameter
- 35:02 A dummy axis for dates
- 36:12 What the jump plot answers
- 37:06 Q&A: published data sources
- 39:14 Q&A: labeling the axes
- 44:14 Q&A: aligning every customer at day zero
- 46:18 Performance: drawing fewer points
- 48:17 A free 30-day skill-building course
- 49:54 Introducing Emilie Smith
- 51:35 Emilie Smith: From PDFs to Self-Service
- 52:42 Enliven Health and the E360 platform
- 53:53 Why PDFs and server licenses didn't scale
- 55:48 Choosing Tableau Cloud Embedded Analytics
- 56:57 A multi-team effort
- 58:33 Step 1: Configure Tableau Cloud
- 1:00:15 Step 2: Single sign-on with a connected app and JWT
- 1:04:29 Step 3: Embedding the dashboards
- 1:06:48 Step 4: Row-level security with user attributes
- 1:08:40 Step 5: Tableau Bridge and refresh failures
- 1:11:00 The root cause: a 1.5 GB embedded extract
- 1:12:30 Step 6: Controlling which client sees what
- 1:15:56 Project timeline
- 1:18:41 Lessons learned and resources
- 1:20:23 Demo: the E360 reporting module
- 1:22:53 Demo: permissions in Tableau Cloud
- 1:25:00 Q&A: team size
- 1:26:59 Wrap-up
Transcript
0:03 Prasann Prem: Okay. So hi, everyone. Welcome back to Analytics TUG.
0:08 Today, we have great speakers as always. And what makes this tag a bit different? Yes, it's all about analytics, and it's not always about analytics as well. So we have lots of banters, and use the way you use the chat always, right? Like have those interactions, have fun around.
0:27 And yes, we are the hosts, and, uh, we have been there for a while. So we have our boss, who is Annabelle Rincon. She is a self-service adoption lead.
0:40 And we have Chimdi, who is data viz designer, developer, rock star.
0:46 How many of your VOTDs they'll get to know again, if he has updated his- And this is me, Prasann, uh, data viz manager at Emirates NBD. So this is Annabelle. She's a Tableau Visionary and Ambassador currently leading the self-service adoption for a reinsurance company.
1:06 It's been 11 years she has been using Tableau, six VOTDs. Not too much, Annabelle, please like- We can put that number right, like And she is co-leading the Analytics TUG as well as the enablement webinar. She enjoys baking. We haven't yet had the cupcakes or cakes, but we did have chocolates last year. And she loves watching birds, walking in the forest.
1:33 She has her YouTube channel, so please scan if you haven't. I think you must already have a subscribe, but if you haven't, please do.
1:41 And then it's me, uh, Prasann.
1:45 I, I love the community, and I love Tableau, and, uh, all these initiatives, uh, that I've been running, it's been so much fulfilling and helped me progress my journey as well.
1:55 I am more of community builder, mentoring. That's how I started my journey in this community. Right now, that helped me to also build a good following on LinkedIn. That helps, and, uh, adjust for VOTDs.
2:08 Uh, I'm sorry about that. To put that there as well. And I love, uh, cats, food, and anime. Three things.
2:16 And then we have Chimdi. Chimdi is a Visionary and Ambassador, and he fell in love and went on in, in 2020.
2:26 Sixteen VOTDs. I'm not sure. He hasn't updated it yet. He leads, uh, Makeover Monday, participates in other challenges, and he is a strong believer of functional aesthetics. And currently he is, uh, helping clients in retail, media, higher education through his initiative startup VizSight Analytics, and he's a viz junkie. Enjoys documentaries. This is new, chasing sunsets and sunrises.
2:54 Th-that's an– It's– Th-this one is an addition, I guess.
2:57 Andy Kriebel: Yeah.
2:58 Prasann Prem: And, and working out.
3:00 Nice. Ground rules, uh, this is being recorded, so best to have interactions. Put your questions in the Q&A panel. It's easier to answer as well. And, uh, please follow us on LinkedIn as well as X.
3:18 So now, agenda for today, uh, the welcome that we have already done. Then we have Andy, who is going to take us through Who Came Back?: mapping customer retention in Tableau. And then we have Emilie Smith, who is going to take us through from PDF to self-service: a six-step embedded framework.
3:36 So now I'm going to head over to our amazing speakers.
3:40 And first we have Andy.
3:42 You might be already following him, and I re- don't need to mention that, I'm sure. If you haven't, you can take that. Very, uh, he's on X, and he's throwing so much content on YouTube as well as there's a lot to talk about. I'm not going to totally go into it. And, uh, he is a Hall of Fame Visionary. One of the first, I think, uh, I read somewhere like, uh, who started the tag.
4:07 One of the first tag out there as well. And over the past two decades, he has been helping thousands of people, data school, and his public profile features more than thirteen hundred visualization with over twelve million views. And he's also the founder of Next Level Tableau. It's a premier Tableau training platform offering really great on-demand as well as live instruction to help you master Tableau effectively.
4:36 So I'll hand over to Andy, and take us through.
4:41 Andy Kriebel: Great. Thank you very much. That's very kind.
4:44 I think I can't share yet. I think you need to stop sharing.
4:48 Prasann Prem: Oh, there you go.
4:49 Andy Kriebel: Okay. So it doesn't let more than one person present at a time.
4:53 All right, so I want to do screen two.
4:58 All right. I think I'm gonna start off with…
5:02 The right screen would help as well.
5:05 Um, let me bring this over to this screen, and I'm gonna show you kind of where this project actually got its start. So this is a visualization that I built, um, so I track all of my reading, and I was interested in looking at, you know, how long did it take me to read books, um, was it an audiobook versus a physical book, uh, different things like that.
5:28 So every, every jump that you see here is a different type of– is a different book that I read.
5:33 And one of the things that I thought about was, well, can something like this also be used for customer retention? So for customer retention, it would look something more like this, right? So you have the first day somebody was a customer on the left-hand side, and then the last day they were a customer on the right-hand side, right? So, so this is kind of the inspiration for what I'm going to actually be showing you today.
5:56 But before we get started, um, just let me do a, a quick intro. So Prasann already did. I've been using Tableau for nineteen years. Um, I built the Data School, which is actually where I am today. My son Oscar has his graduation party. He joined, uh, the Data School four months ago. So I surprised him and showed up when he was getting ready to make his presentation today.
6:17 So he was, he was quite, uh, quite pleased that I showed up and made him nervous.
6:22 Um, so, uh, yeah, um, um- Like Prasann mentioned, I'm a Visionary Hall of Famer. I've got over fifteen hundred visits on my, on my Tableau Public, and I helped start Makeover Monday, um, and Workout Wednesday, the first two Tableau community projects. But we're gonna be talking about customer retention today. I'm gonna show you my step-by-step process for how I create jump plots.
6:45 That's essentially what we're doing. We're just creating a jump plot. We just happen to be doing it with customer retention, and I'm actually gonna start building this with a table so you can understand what we're actually going to build.
6:57 Okay? Now, the important thing to know is geometry. This is gonna take you back to, uh, middle school math. Nobody remembers this, but this is how you build jump plots essentially, right? So we're only gonna use the top half, right? We're not worried about the bottom half. We only need a semicircle.
7:15 But all you need to remember is these few formulas here, right? We need to know, uh, r. So the r is the radius times the cosine of the angle, right? And how do we compute the angle? Well, it's n times pi divided by one eighty, et cetera, right? You just need to know this math, and then you're done. You don't need to, uh, use any table calculations, nothing like that in order to build the…
7:37 in order to build these. So what I do is I write these calculations down in a Notepad, and I save them, so I don't have to refer back to this again, right? So good tip if you have calculations, especially ones that have lots of parentheses and maybe mustachios and different things that it'd be easy to get them wrong, save them in a Notepad and just reuse them over and over again.
7:58 It, it will definitely save you time. So I'm gonna bring you back to middle school geometry today, so it's a bit of a math lesson, and then this is what I'm gonna show you how to build. This is a bit more complex than what I just showed you in Tableau, so we'll see how far we get timing-wise. Um, basically, I'm gonna show you how to build the chart, and then the interactivity is just kind of optional things to make it, to make it look a, a, a bit cooler.
8:22 So we're gonna come back to the end. Um, and I do have something I need to remember. Maybe Annabelle or Prasann, you can remind me. I've got something free for everybody at the end, so if I forget to do that, it's just a little QR code that, um, that they can scan to get.
8:36 Uh, oh, what did I just do? I just somehow moved something to my iPad. Where is my mouse?
8:43 Oh, now YouTube is starting.
8:46 YouTube is starting on my iPad that has my notes on it.
8:49 I am lost. Give me one second here. How did I get to my iPad? Oh, there we go.
8:55 Okay. I did not know that if you have an iPad next to you, it will use it as an extended screen.
9:01 So that was a bit weird. Okay.
9:04 A squared plus… Yeah, there we go. Okay. So, um, I'm gonna flip over to a brand-new sheet here, and the whole– the biggest thing about this is kind of your data setup. So I have two data sources. I'm just gonna use Superstore because it's easy.
9:20 Um, and so I'm gonna drag that in and just drop that in top of Tableau.
9:26 And I'm gonna bring over my orders. Okay. And let me turn my little cursor on here. And this is very simple table. I'm actually going to, uh… I'm gonna– Ooh, Tableau just crashed on me, which is good.
9:38 Always a good sign. Let me go. And I am using a special build that they sent me because I have so many crashes on my computer. And here we go. It just crashed again.
9:48 So I'm going to send this error report, and I will delete that workbook.
9:56 Okay. We shall try again.
9:59 Um, step two, we will connect to the data. Like I said, we're gonna drag in Superstore,
10:08 and if it crashes again, I'm gonna be very sad.
10:11 But we're gonna bring that in here, and I was gonna clean up the fields so that we don't have it so busy. I'll do that in, in just a minute. Now, the key to being able to draw the circles is that you have to have a second data source that has the number of points you want to draw, right? We need to draw a semicircle. Oops, it brought it up on my second screen.
10:29 So I have a data source that goes from zero. This is the entire data source. One column. It goes from zero to one eighty. So it actually has one hundred and eighty-one points, not hundred and eighty, 'cause it has to start at zero, which is kind of like y- the equator if you want to look at it from a map perspective. And then one eighty is a hundred and eighty degrees.
10:50 So m- don't go from one to one eighty 'cause then you won't start at the right place. Okay? So make sure it goes from zero to one eighty. So what I'm gonna do then is I'm going to… Oops, I'm gonna do nothing because I'm in the wrong spot. I'm gonna just drag that in, and we're gonna build a relationship calculation here.
11:07 Let me bring that sheet over.
11:10 And my calculation is gonna be a, a relationship calculation that's just gonna go from one, and then over on this side it's going to be one as well. That's it. Just a one-to-one relationship. The beauty of relationships is I'm only bringing in a hundred and eighty points when I need to. I'm not padding out my data a hundred and eighty times, right?
11:30 So I don't… You used to have to do this with joins and then figure out, "Oh, how do I need to do my aggregations to make sure I'm not cadi– uh, um, make sure I'm not counting it a hundred and eighty times?" Yes, that is right, Matt. It does seem to crash on me quite often. I'm very special, I guess.
11:45 Okay, so let's start with first thing I want to do is I want to know how long somebody has been a customer. Okay? And I'm gonna do that by starting by… Let's drag the customer. Let's not let us. Uh, I'm going to drag the customer name here, and I'm gonna look at each of their dates, so every date that somebody placed an order.
12:05 Okay? So we see Aaron Bergman has several orders. Uh, we have… There's probably some people that also only made a single order, right? Here we go. So Russell has two, but there… Here we go. So Sam.
12:18 Sam's start and end date, he doesn't really have an end date. They're the same. So we're actually not going to want to include Sam because they're not a re– we haven't retained them yet. If that makes sense. So we only wanna look at customers that have a different start date and a different end date. And I'm gonna do that with a, um… I'm gonna create two calculations.
12:38 The first one is our… I'll just call it start date for simplicity.
12:42 And I'm gonna fix this on the customer name, and I'm gonna get the min of our order date.
12:49 All right? So this is saying, for each customer, bring in the min order date. So if I drag that onto the rows, uh, and do that, you'll see for each customer, uh, let me just go back to the top to make it a bit easier to look at. You'll see I get three twenty-two here because I'm using an LOD that's saying ignore the order date.
13:07 We just want to get the first order date. Okay? So that's the start.
13:12 The end is gonna be the opposite. We're gonna just look at the maximum order date. So let's call this our end date, and this will be, um, again, fixed on the customer.
13:25 And I wanna get the max, max order date.
13:33 Hit Okay.
13:34 And when I bring that in, I now get two records. Or sorry, I now get the, the end date as well.
13:42 Okay, so now if I get rid of the order date, I see just my start date and end date for each customer. Now, I only want to include those customers that where the start date and the end date are different.
13:53 All right? So I'm gonna create a new calculated field, and I'm gonna call this, um, retained, restrained, retained customers.
14:05 And all I'm gonna say here is, uh, start date, uh, does not equal end date.
14:13 That will define a retained customer. So if I drag that onto… I'll put it on color 'cause it might be a bit easier to see. I've got all these red ones, and then somewhere here I've got a blue. I just passed one here. You see those dates are the same. We don't want to include those people.
14:27 So I'm gonna just move that to the filters and choose True.
14:32 Okay, so now we're just looking at the customers that we've retained, and because I'm gonna be building this in multiple sheets, I'm gonna go ahead and add this to, um, everything using this data source. So when I build a new sheet, it just carries right over.
14:46 All right.
14:47 Um, I'm gonna start building this without map layers because I know I love map layers, but you actually don't need them. I know it's a bit sad.
14:57 Um, but one of the tricks though is we are going to have to convert our dates into integers in order to draw them on the same axis. So I'm gonna create a new calculated field, and I'm gonna call this my, um… I'll call it my int start, just for simplicity. Not the best name. But I'm gonna just convert my start date to an integer.
15:20 Tableau's gonna make that a measure because it's coming back as a number, but we don't wanna sum up those or average those or anything. So we actually want that to be a dimension. We want Tableau to split the data up by those.
15:32 And I'm gonna create another one that is my int, uh, end, and this will just be the integer of my end date.
15:42 Okay.
15:43 So if I hit OK, I'm gonna do the same thing there.
15:46 And for simplicity, I'm gonna just focus on one customer. So let's just look at Aaron Bergman. I like starting with just a single customer to make sure I can get it working before I bring in all of the customers. So let me drag Aaron down to Detail, and there we go. All right.
16:03 So now I need a calculated field that tells me how long somebody has been a customer.
16:08 All right. So let's call this, uh, days as customer.
16:14 And for this, I'm gonna use a date diff function at the day level, and I'm gonna compare my start date to my end date.
16:26 All right. So that's just gonna give me a number for that particular customer. If I drop that on label, we'll see Aaron's been a customer for, what? Almost, a little over three years, which looks about right. Yeah, so about three years.
16:40 Okay, so that looks like it's working. I don't– I'm gonna need that later on. I don't need it right now.
16:46 Okay, um, blah, blah, blah. All right, so if we go back now to our math, what we need to do here is we're gonna start building out these calculations. Okay? Um, so I also am going to build another calculation that is the, the, um, the difference between those integer dates that I created. So let's call it, um, I'll call this, like, int diff. These are really, really bad names for fields, but it's the first thing that's popping into my head.
17:20 So I'm gonna just bring in my int end and my int minus my int start.
17:26 Okay. So I'll just do that.
17:29 And let me bring that in as a dimension as well. Okay. So my, my starting point here is going to be my column. So I'm gonna start by building out my columns first. So my columns are going to be my X in this case, so I need to build my X calculation.
17:45 So I'm gonna create a new calculated field, and I'm gonna call this… I'm gonna give this one a crazy name like columns so that I remember where it goes.
17:54 Um, and for this one, if, again, if I go back over here, I'm looking at the… So the X is the radius times the cosine, okay? And the r– the, um, let's see. And the, the angle is N times pi divided by one hundred and eighty. And what do I have here? Okay, and then N is actually… Okay, I'm gonna type it out. That might be an easier way to do it rather than trying to explain it step by step.
18:21 Okay, so I'm gonna start by building out my cosine calculation.
18:26 And inside of this, I'm going to have my point. So this is my point number. So remember, this is my degree, one through one hundred and eighty.
18:34 Or sorry, zero through 180, and I'm gonna multiply that by our angle, which is pi.
18:41 Uh, let me just get rid of that. Divided by 180.
18:44 Okay? So that's gonna start there. And then I'm gonna add one to it. I forget why I need to add one, but I need to add one.
18:51 Um, uh, I might not need to add… Well, we'll leave it there, 'cause it'll probably break if I don't do it that way.
18:57 And then what I'm gonna do then is, uh, let's see. Do I want to… Let's, let's, let's just leave it like that for now, and we're gonna come back to the rest of the calculation.
19:08 And we can go ahead and make this a dimension, but I wanna leave it. I wanna make sure it is continuous.
19:15 Okay.
19:16 So I'm just gonna drag that to the columns, and we see a bunch of things here. So this is, there's 181 marks if you look on the bottom left, because I have everything that goes from zero to 180.
19:27 Okay, so that's our columns. Let me create another calculated field for our rows.
19:32 And for this one, it's gonna be the same thing except we're gonna be looking at the sine function. So parentheses sine of our point.
19:42 Uh, sine of our point. Uh, let's see.
19:46 Times…
19:48 Why do I have parenthesis there? Yeah, I don't need that. Pi divided by 180, and then let's just leave it like that. Okay, this one I don't have the plus one for some reason.
20:01 Um, and I'm missing a parenthesis somewhere. Oh, no, I've got an extra one at the start.
20:06 Okay, let's leave it like that for now.
20:08 And if I drag that onto… Let's see. I want that to be a dimension as well.
20:14 Ch-ch-ch, dimension, and let's make that continuous.
20:19 And if I put that on the rows, basically we're building a scatter plot, right? So now I have a nice little arc, and if I play connect the dots with a line, I'm just gonna tell it to connect it by the point number, right? So to go from zero to 180, and there we go. So we start at zero, and we go to two.
20:37 You know, whatever. I, I, uh, maybe that's where the plus one comes in in my columns.
20:41 Uh, so now it's g- instead of it going from one, it's going to two, so I bet you if I… I'm just doing this, uh… I'm, I'm sure I'm gonna break something now that I'm going a bit off script.
20:52 Um, but if I get rid of the plus one here, that means it's probably just gonna go from zero to one.
20:58 Okay. All it did was just change that scale. I must have done that to make the data spread out a bit more or something. Okay.
21:04 So now, if I bring in a couple more customers, so let me edit the filter, and I'll bring in a few more people here, and there we go. But notice how all the lines are just stacked on top of each other, because everything's going from zero to one. Well, I actually want them to s- Oh, that's why I did plus one, because this is now starting at minus one on the left.
21:26 So let me go back and put that back in.
21:30 And let me put the plus one back in here.
21:33 Okay. There we go.
21:35 Right now, all three of the people, so if I go ahead and show my highlighter here, all three people are just stacked on top of each other. Okay? You can't really see it because I'm trying to highlight them that way. But I actually want the starting place to be my date, because not all these customers started on the same day. So I picked the first few, right?
21:55 These, they als- they, two of them started on the same day, but they didn't end on the same day.
22:00 So I want the kinda arc to spread from the day they started to the day that they ended. So first thing we did was just make sure we could draw an arc. All right? We've done that. Excellent. So now how do we adjust that arc to account for the start and the end dates? So I'm gonna go back into my… Oops.
22:17 What happened there?
22:20 Okay, there we go.
22:22 I'm gonna go back into this calculation, and in my…
22:28 Oh. Light just went off on me.
22:30 Oh, now it's back on.
22:31 Uh, so I have that times that. Okay. And then what I wanna do is I wanna multiply this by the, um, the int diff, so that's…
22:43 Anybody else hate when Tableau does that, when it closes the calculation window on you?
22:48 Does anybody else experience that?
22:51 Uh, so I wanna look at the int diff, so that's just, like, our number of days, right? So let's just, I'm just gonna hit apply along the way so we can see kinda what this is doing. Okay.
23:00 We've got something going on, right? We can see the arcs have changed. That's very good.
23:06 Um, so we have that, and we're gonna divide that by two.
23:10 And if I hit that again, all right, we just get shorter arcs. That's okay.
23:15 Uh, and then I wanna add to that my start, my int start, uh, int start.
23:23 Okay.
23:24 Now if I hit apply, notice how the arcs now start and, start and end in different places.
23:30 All right?
23:31 So here, this, if I put the date, if I put the… Let's see. I'm gonna put my start date onto tooltip, and I'll put my end date on tooltip to make them both attributes, and there we go. So we can see Aaron Hawkins started on June 18th of 2016 and ended on December 3rd. Okay? So if we highlight him, December 3rd is over here.
23:56 So that means this person should be December, right? They're farther out to the right, so it should be another date as we go farther out.
24:03 All right. Pretty cool so far. I think it looks pretty neat.
24:07 Um, okay. And John's giving us excellent commentary as we go through here, so thank you, John. He's explaining all the calculations for me along the way, so thank you for that.
24:17 Okay. So, so that gets us actually pretty close to where we want to get to. Well, let's actually look at now whether or not each of these customers is profitable.
24:29 All right? 'Cause I wanna color-code these lines by profitable or not. So I'm gonna call it, uh, profitable.
24:36 And I'm just gonna say the sum of profit is greater than zero.
24:46 And I'm gonna drag that onto color.
24:49 And they're all profitable, so I need to pick more customers. Of course, they're all profitable.
24:54 Let's show the filter. And actually, the easiest way for me to do that would be to put profit onto here.
25:00 And there's gotta be somebody here that's unprofitable, right? There we go. Alan Arnold and Alan Rosenblatt.
25:08 Okay. So Alan Arnold. Alan Arnold.
25:13 Alan Rosenblatt.
25:14 Alan Arnold. There we go. So now we see we've got two colors good to go.
25:19 Um, and maybe I'll just color code these. I want my profitable to be blue and my unprofitable to be red.
25:26 All right.
25:27 Very good. So we've got that so far. Um, but I want to give my users the option to, uh… Oh, sorry. I want to give them the option to maybe flip the profitable to the bottom so they stand out differently than the ones that are unprofitable. So I'm gonna create a new parameter, and I'm gonna call this my, um…
25:49 Let's see. What do I want to call this? Um,
25:53 uh, what did I call this in my one that I created? Just give me two seconds here, if I can remember what I did here.
26:03 What did I call it here? I called it…
26:06 Oh, there we go. So I called it, okay, my jump direction.
26:11 So let's call this our jump direction, and I'm gonna use a string, and my values are gonna be up.
26:21 Up.
26:23 And up and down.
26:27 And Tableau just crashed.
26:30 Very good.
26:33 All right.
26:34 So
26:36 the good thing is they said they like when it crashes because I keep reporting problems for them, so.
26:42 Uh, so whenever you get a crash report, make sure you send the errors in. Don't skip that, because it's very, very valuable to the Tableau developers.
26:49 Okay. So I don't know how far I, I'm off here.
26:52 All right. We'll worry about that later. So, um, I'm gonna create a new parameter. Maybe I should save. That probably would be a good idea as well.
27:01 And let's just save it to my, my desktop. And I'm gonna give it a great name like Book1.
27:07 Um, okay. So let me create a parameter.
27:12 I'll call this my direction, and I'm gonna make it a string list.
27:19 Up.
27:21 All right. So it doesn't like when I hit Tab when I am in a workbook. All right.
27:28 Let me try one more time. Sorry about that.
27:32 The nature of live demos with buggy software.
27:39 Is that right? It's not always. It's probably not buggy for you, it's just buggy for me.
27:43 I'm special.
27:44 Okay. So we're gonna actually not do that.
27:47 Um, instead we're gonna just kind of hard code it.
27:52 So, uh, what I'm gonna do, instead of using the, um… Where was that? What did I call that calculation? Profitable. Do, do… Okay. So what I'm gonna do here, instead of saying profitable is greater than zero, I'm gonna actually use the sine function around this.
28:14 Not sing, sine function.
28:17 And this is gonna make it ones, minus one and one instead.
28:21 So now what I can do is for my rows, if I go back into my rows calculation, I can tell Tableau that I want to multiply this by my profitable calculation.
28:32 All right. Now I hit Apply and hit OK. Uh, but I have an aggregate, non-aggregate, of course, so this needs to be…
28:41 Da, da, da, da, da. Let me, um…
28:46 Okay, I'm gonna cheat here, and I'm gonna say, uh, fixed on each customer.
28:56 I really should figure out how to do it without this, but I'm gonna make, I'm gonna make it easy for myself.
29:01 There we go. And now they switch around. Okay? So we've kind of made the hops go opposite directions, but now my colors are backwards. So that's our red, and this one's the blue.
29:12 Okay. Pretty cool so far. I think, I think I like the way, like the way that that looks.
29:17 Um, so yeah. And then we can kind of do, you know, we can add as many customers as we want, and we get something like that. But notice how it's, it's always stopping at one for some reason. So I need to fix my rows calculation. There's something not quite right with that calculation, so let me go back in here and make sure that I have that correct.
29:39 Okay.
29:41 Um, I think I need to…
29:44 In my notes, I am just dividing this by 10.
29:47 Not sure why.
29:49 Let me just hit Apply.
29:51 Let me divide it by 100.
29:57 Okay, that didn't help either. All right. So what is going on here? So sine times point ID.
30:07 All right.
30:09 Okay. I'm not quite sure why that is not working for me.
30:16 I'm going to try. Let me just comment this out for now, 'cause this showed us the whole arc before, I believe, right? Okay. It's still cutting them off for some reason. I'm not sure, I'm not sure why it's cutting us off the top.
30:28 Have I changed the axis range? I have not changed the axis range.
30:33 Uh, oh. Output of sine, I need to multiply it by some var- Oh, okay. Thank you, Sarah.
30:37 So, um, so I could leave this then. Uh, why don't we multiply this by, uh, maybe their- Uh, let's say their average, um…
30:50 Let's say for each customer, I wanna get their, uh, let's say the average or, um, let's say the sales. So the sum of sales divided by how long they've been a customer. So int, uh, diff.
31:11 No, not int diff. I wanna look at the days as customer.
31:18 Okay. And this is gonna need to be, um… I could just do a min on that, and let's see if that fixes it for us.
31:29 Okay, there we go. So now what we're doing is we're basically scaling this to way too many customers.
31:35 Um, maybe I will…
31:38 Let me just check this off, and I'll just pick, you know, maybe that many instead. Okay, there we go. So we've got one unprofitable customer over this particular time period, but the, now the height of the arc is how much have they spent per day over that time period. So what you really ideally want to see here in this particular type of view is you wanna see somebody that's been with you for a long time, and they're spending a lot of money, right?
32:03 So I could multiply it by, instead of sales per day, I could just multiply it by sales, right? 'Cause that'll tell me, um… So if I just multiply this by, uh, yeah, for each customer, let's just do the sum of sales.
32:21 Okay. And there we go. So ideally, your best customers are gonna also have the highest arc. If you have a customer that's been around a long time, but they haven't spent very much money, probably not good. Particularly this customer at the bottom that looks like they're spending, they've spent, uh, let me put sales onto the, uh, tool tip.
32:41 So they've spent, where, where am I finding here? You know, almost four thousand or thirty-seven hundred dollars and, uh, they're unprofitable. They've been around for a long time. Maybe that's a customer we should get rid of, right? We don't– We really probably shouldn't be working with a customer like that.
32:58 All right. Um, so there's lots of other interactivity we could do with this. If I come back over here, you know, we can, um, we can turn on the highlighter for a customer.
33:09 So this is a neat little functionality. If you've never used the highlighter, I highly recommend it. It's a great feature. You don't have to use parameter or set actions, you can just use a highlight.
33:19 Um, so that's one feature that's already showing there.
33:23 The up or down, I'm not gonna worry about that. We could also, um, we could also add a filter on our customers that looks at, uh, instead of this, we could just say we wanna look at the top however many.
33:38 So, uh, I wanna do this by sales.
33:43 Okay. But I'm gonna make this a parameter instead, and I'll call this our top-end customers.
33:51 And I'm gonna just allow my users to just type a number in, just 'cause it's easier.
33:56 Hit Okay. Hit Okay again.
34:00 And there we go. So now instead of showing this filter, let me get rid of that one.
34:05 I'm gonna go ahead and show my parameter instead. So this is showing me ten customers. This one's gonna show me twenty, et cetera. So you can add as much granularity as, as you'd like. Um, so I think that's probably… You know, and there's lots of different ways you can adjust. You could use another parameter to adjust the height if you want.
34:26 Um, that'd be perfectly fine. Um, the only issue you run into now is the scale looks a bit funky on here.
34:33 Um, so there's a couple ways you could, you could handle that.
34:38 Um, you could just create a new calculated field. This would be for my, I want my rows to be– I'm just gonna call this, uh, I'll just call it one.
34:48 No, zero.
34:50 And I'm gonna…
34:52 What happened there? Why is it… Oh, because I need to put a name in there, a, a value in there.
34:58 And if I put this as a dual axis
35:02 and I synchronize, I can now kind of use that as like a dummy, uh, kind of axis here. And if I put my overall start date, so if I put my, um…
35:14 Let me create a new calculated field. Let's call this our f, uh, first. No, let's see, I wanna do this my, um, uh, first date, uh, for line.
35:27 So I'm actually gonna do a window calculation here, the window min of my start date calculation.
35:36 Uh, no, my int. Let's see. I'm messing something up here. Anyway, you can, you can create a calculation to just put those dates on the beginning and the end. So I haven't done that here in this view, but that's certainly something you, you could do if you wanted to. But you do need this columns field. It can't be a date. You can't perform this, uh, you can't do these jump plots with dates.
35:57 You have to use, um, you have to use integers in order to– or numbers. It doesn't have to be integers. It could be, um, it could be floating point as well, but you have to use those in order to create the jump plot.
36:12 Um, so I'm still asking myself what this data viz answers in terms of a research question for me. So, um, Miguel, um, I'm, I'm, uh, hopefully, that's how you pronounce your, your name, right? So what I'm looking for here is: Who are my best customers, and how long have they been around, right? So right now, I'm looking at my top twenty customers, right?
36:32 Of my top twenty, two of them have been around for a long time, but they're unprofitable. So they're probably customers that I don't want to work with anymore, right? So it's kinda helping me identify those types of, of que- of questions. Does that help answer your question?
36:51 Maybe they can reply. No, there's a slight delay.
36:54 All right. Um, it does. Okay. Very good. Were there any other questions, Annabelle?
37:01 So duration is customer. Yep, you can do that.
37:05 Okay.
37:06 Annabelle Rincon: We had one question, but it was far at the beginning of the chat, so I'm trying to, uh, go back.
37:15 Uh, most of the data I work with is in published data, uh, Tableau data source managed by my organization data team. I can't join data with a data source in Tableau, so I'm often limited when a visualization will require joining data like this one that you have done.
37:31 Andy Kriebel: Mm-hmm.
37:32 Annabelle Rincon: I could potentially ask for help from the data team to update the data source.
37:37 What would I need to ask them to achieve the same thing?
37:42 Andy Kriebel: Um,
37:46 so if you use a published data source.
37:52 Let's see. I don't know the answer to that. Um, you could build the published data source for them,
38:02 but it's a very niche use case. Um, so if I, if I, if I understand correctly, and maybe you all that have a bit more experience with this could, could tell me, um, if my first data source is from, let's say this is from Tableau Cloud, right? It's a published data source. I can't relate something that's something else to it, can I?
38:23 Like an Excel file?
38:25 Annabelle Rincon: I, I wonder if that didn't change recently.
38:29 Because we used not to be able to do it.
38:31 Andy Kriebel: I thought that they announced that we could do that now.
38:34 Annabelle Rincon: Exactly.
38:34 Andy Kriebel: Right. Yeah.
38:35 Annabelle Rincon: That has to be checked.
38:38 Andy Kriebel: Yeah.
38:40 Does, Prasann, I saw you unmuted. Do you know the answer to that?
38:44 Prasann Prem: No, I was saying the same what Annabelle just mentioned.
38:46 Andy Kriebel: Okay.
38:46 Prasann Prem: There's composable data sources, right?
38:48 Andy Kriebel: Yeah.
38:48 Prasann Prem: I, I don't know if it is released yet.
38:52 Andy Kriebel: Okay.
38:55 Don't know if that answers their question, but that's the best answer we have between us, right?
39:03 Okay. Were there any other… I don't see any other questions.
39:08 Oh, there we go. Yeah. Alicia.
39:12 Okay.
39:14 Annabelle Rincon: Uh, yeah. May- maybe you already have seen it. Uh, Patricia asked, "Can you label the, uh, Y-axis?"
39:23 Andy Kriebel: Can I label the Y-axis with… What do you want me to label it with?
39:35 With the dates?
39:38 Annabelle Rincon: Uh, maybe, yeah. That's a value. It's, like, more, uh, so Y and the X-axis would be, like, good to be labeled, but that's where-
39:47 Andy Kriebel: Yeah, so, yeah, so-
39:48 Annabelle Rincon: … the visualization come short.
39:51 Andy Kriebel: Yeah. So what I was… So, well, the, the right-hand axis, this is really, I could rename this as sales, right? 'Cause that's… Or no, this is, uh, this is really sales.
40:02 Right? Even though this goes negative, it's still sales.
40:05 Um, and what I would do is I would format this so that, um, in my scale, let's see. I want to use a custom number,
40:15 and I'm just gonna get rid of the minus sign on my negatives.
40:19 So then we can see, uh, we can see both of them there.
40:24 So now if I synchronize, let me go back to here and get rid of measure names.
40:31 And let's maybe make this, like… Oh, it doesn't matter. Let me get rid of that.
40:36 Um, I can get rid of that.
40:41 All right. So that.
40:44 We don't need that many points. I could get rid of customer name. There we go. So now what I could do is I could put, um…
40:55 So I could create a calculation that has my start date and my end date on these lines,
41:02 right? So in other words, if I go here and I could create one that's my, um, overall min. I'll just call it something like that. I could say, like, if, um, let's see. So I want to get the, I want to get the min of our start date.
41:26 So that's gonna give me the overall minimum.
41:28 And then I'm gonna say if, um, this is going to be our…
41:36 What am I looking at here? Our line chart. So this would be if, um, no.
41:45 So if my point is zero, then I wanna bring the min date and then end.
41:54 So if I bring that onto my label shelf, and I do that, I should hopefully just get a mark at the beginning of the line.
42:06 Okay, so it's backwards.
42:07 Um, did I do a min or a… Oh, that's because zero's on the left. Okay, I just need to switch that around. Um,
42:17 so this should be 180, not zero.
42:21 There we go. And that'll move it to the
42:24 overall min. So one… Oh, it's doing it for one particular customer. Okay. I didn't… There's a bit more figuring out I need to do there. Um, I'd have to find the, the actual calculation for that. Um, I actually want to get the…
42:41 Sorry. I'll, I'll fix this.
42:43 I can't let this go.
42:45 Um, so I actually want to look at if the point ID-
42:56 Um, I wanna basically get the minimum column.
43:02 The minimum column value. So I wanna get min columns.
43:10 Then I wanna bring back, uh… So what, what do I have here?
43:16 Oh, um, equals column.
43:22 Okay, so let's try that instead.
43:24 And now if I… Well, okay, so I, I messed something up here. Anyway, the calculation isn't, isn't quite right.
43:31 Um, but it's definitely a way to do it, 'cause I've done it before.
43:37 Okay. So if I, if I go back over to, uh, to Chrome.
43:41 Oops.
43:45 Ah.
43:47 I keep going to the wrong thing. There we go. So that's what I've, uh… Oh, no, I haven't done that on this one. I do have a, a viz that has the start and end dates, 'cause I changed, um, I changed this to use map layers instead, because it was easier to draw the, um, uh, it's easier to place things on the chart, um, kinda wherever I want. So that, that made it a bit easier for me.
44:12 Okay.
44:14 Annabelle Rincon: And, um, we had a question from Bart Kimberly.
44:18 Uh, she asked something that, uh, instead of having a different start date and end date according to the customer, she will ask if we can see how many days since last order. So kind of harmonizing, uh, I see-
44:34 Andy Kriebel: Sure
44:35 Annabelle Rincon: … that we, they all start from the same day. I know that you can do it.
44:39 Andy Kriebel: Yeah, yeah.
44:39 Annabelle Rincon: It's just like maybe it, it is not… I mean, it has benefit. Maybe you can speak about the benefit of having both visualization and if one-
44:48 Andy Kriebel: Sure.
44:49 Annabelle Rincon: Yeah.
44:50 Andy Kriebel: Yeah. Yeah. So l- let me, let me just duplicate this sheet. So what you would want to do in that case is you'd want to get, um, you would want to use the days since they became a customer.
45:02 So that's kind of our, that's our, uh… Let's see. So we would want to change, let me just duplicate this, so our columns, instead of it being the start date, so let's call this… We're gonna give this a great name, like columns two.
45:17 Um, so instead of this being the int start, we want them all to start at zero. So let's just hit apply and drag that onto here.
45:29 Okay. And there we go. So now they all start at zero.
45:34 Is that what you mean? Something like that. So that tells us how long each customer has been, has been around. So it just kinda shifts everything.
45:44 Annabelle Rincon: Yes, absolutely.
45:46 Andy Kriebel: Yeah.
45:46 Annabelle Rincon: And I think it's so volatile with the jump, uh, chart. I really like it. 'Cause like you have done, you can of course, uh, play with the, uh-
45:54 Andy Kriebel: Mm-hmm
45:55 Annabelle Rincon: …
45:55 width and the height.
45:57 Andy Kriebel: Yeah.
45:58 Yeah, yeah.
45:59 Annabelle Rincon: I really like it.
46:00 Andy Kriebel: Yeah, and you can always, you know, you can split it up by, you know, like let's say you wanna split it up by region, you can have multiple jump charts-
46:06 Annabelle Rincon: Mm-hmm
46:06 Andy Kriebel: … for each region, right?
46:08 Um, lots of different things you can do.
46:13 Okay. Any other questions?
46:18 Um, so another way, if you ever run into, like, performance issues when you build something like this, you can always just use, like, the even numbers, so you don't have to do 180 of them. Um, you could, uh… Let's say that we want to, um, let's call this we only wanna use the even points.
46:37 So we wanna say something like, um, uh, we want to do the point ID.
46:45 If I could spell rate. The point, uh, mod two,
46:51 and that's gonna give us all of the even numbers.
46:54 Um, so we're gonna say that's equal to zero.
46:59 And if I drag that onto the filters… Oh, let me d- go back to the other sheet, or I could do it on this one. That's okay.
47:05 So right now I've got 7,200 marks in this view, so if I drag this on there, I should get half the number of marks.
47:14 Okay, so I get 3,600 now. So I'm just not drawing as many points. It's still good enough of a curve, right?
47:21 So, you know, and you can make that what- whatever you want. I can make it, you know, um, divi- you know, make it by five and do every fifth point if I want,
47:31 right? It's gonna start making them a bit more… The, the more spread out you make, the more jagged the line's gonna look.
47:40 But that's a good way to speed up the data as well.
47:47 Okay.
47:52 All right.
47:53 I think that's it.
47:55 Um, so before I drop off, I just wanted to share something that I've, um, oh, in the chat maybe if, if… This is one thing I like to ask at the end of all my presentations while I'm going through these next slides. If you could type in the chat something you learned, something you liked. It really helps me create better presentations for all these different events that I do for everybody.
48:14 Um, so I would really like your feedback.
48:17 Um, and if you enjoyed this, I have something free for you. So I have built a free course, it's called the 30 Day Tableau Skill Builder Ex- Skill Building Accelerator. It's literally 30 days, like it says. Um, and all you need to do… So it's gonna take you through kind of some core foundations, calculations, layout, um, some advanced techniques, as well as you will also get access to any webinars that I do, uh, conferences, and there's more content being added to that, um, every single, uh, every, every month.
48:51 So all you need to do is just scan that QR code, and I'll bring it up on the screen as well.
48:55 Um, so I'll leave this up for a minute while people are leaving their- Um, their message is in the chat. But all you need to do is just scan that, pop your name in, and, um, it'll create an account for you on Next Level Tableau if you don't have one.
49:09 Um, that's just where everything is hosted. So feel free to, uh, to join that.
49:15 And, uh, yeah, just have a look at your email and see if you see it there. Um, Anne likes the walkthrough. Thank you, Anne.
49:24 Okay.
49:25 Annabelle Rincon: Thank you very much for c-coming, and, uh-
49:28 Andy Kriebel: Great
49:28 Annabelle Rincon: … answering all the questions that we had. Thank you.
49:30 Andy Kriebel: Yes. Thank you. I'm gonna run to my son's graduation now from the data school.
49:34 So I will see you all later. Thanks for having me.
49:38 Chimdi Nwosu: Take care.
49:38 Andy Kriebel: Bye.
49:52 Chimdi Nwosu: Awesome.
49:54 So next we have Emilie.
49:58 And-… is a BI professional who has a unique journey. She started in chemistry, and then she moved over to data viz.
50:09 She's originally from France. Um, but I think she's gonna be doing her presentation in English, not French.
50:16 Um, but she moved to the US during college to study abroad at UNC Chapel Hill. She earned a PhD in chemistry from North Carolina State, and she spent a decade in du- drug discovery before transitioning to analytics.
50:31 After she discovered Tableau, she basically went back to data analytics, and she's now basically spent nine years building BI solutions and customer dashboards. For the past few years, she's been with Enliven Health, and she's focused on embedded analytics and helping users understand their data better. Beyond her professional work, she's an active leader in the data community, serving on the Women in Bio RTP Leadership Learning.
51:01 She also founded the Data + Women NC TUG. And so please check those out so you can get some awesome stuff from her.
51:09 Um, her presentation today is not how to tackle six problems. Uh, that slide needs to be updated. It is a presentation on-
51:24 Emilie Smith: Uh-
51:24 Chimdi Nwosu: … an embedded framework, basically, from PDFs to self-service is what you're gonna be talking about. So I'll pass it over to her for the good stuff, and, um, I look forward to what she's got as well.
51:35 Emilie Smith: Hi.
51:36 Thank you so much for the intro. So I'm gonna share my screen. And by the way, this is a repeat of the presentation I gave at Tableau Conference just a few weeks ago, so still fresh on my mind.
51:46 Uh, let me share
51:51 window.
51:53 Okay, hopefully that's what I did before. If the video doesn't work at the end, I may have to reshare something else. But let's get started with that. Yes. Can you all see the video? Okay. So from PDFs to self-service: A six-step embedded framework. So you already have the intro, so I'm not gonna repeat it.
52:12 Uh, so but I'm gonna share the agenda. First, I'm gonna give a brief introduction about Enliven Health, what we do and why we wanted to embed dashboards. Um, next, I will go through my six-step checklist that I developed, and I'm gonna go step by step and really show you how to tackle all these steps. Uh, next, I will go through a project timeline just to give you an idea of how long a project like that can take, 'cause it definitely took, um, more than a day to get all that stuff done.
52:42 Uh, then I'll go through lessons learned and resources. And finally, I'll, uh, finish with a recorded video of me doing, um, a demo. Uh, so hopefully that's it works. Uh, okay. So here's the intro about Enliven Health. So Enliven Health is a division of Omnicell that provides software as a service solutions for retail pharmacies.
53:04 And Enliven Health has three, um, main, um, key areas of services: patient experience, clinical experience, and financial experience.
53:15 And about two years ago, Enliven Health launched what we call our E360 or Enliven 360 platform. Essentially, it's a website where our customers can just use a single sign-on, and they can have access to all the products that they have purchased through us. Uh, prior to the E360 platform, they would have different login for different, um, products.
53:38 So that was not a very good experience. Uh, but now that it's all consolidated into, under one website, we thought that would be a great idea to have, uh, uh, some, um, embedded analytics on there so that way they could see their dashboards.
53:53 Um, so but first I'm gonna talk about when I joined Enliven Health about five years ago, and we kind of started talking about the possibility of embedding, uh, dashboards. We had two Tableau servers with around sixty internal users.
54:08 We had o- over a hundred and sixty dashboards with just about as many subscriptions and custom views, and our customers could not access our, um, our, uh, server. So they would get a PDF or an Excel spreadsheet that would be delivered, you know, sometime daily, weekly, monthly, depending on the report. We had no idea if they even looked at it. I mean, uh, and the reason why they couldn't, we couldn't give them access to the, uh, to our servers is, well, number one, we have over hundreds of customers, and some customers are large, uh, pharmacies with, like, thousands of stores.
54:43 So just the number of licenses alone, uh, would just be too cost-prohibitive. We just can't have that many licenses. And also, number two, we deal with retail pharmacy data. So the data is extremely sensitive, and it's regulated in the US under the HIPAA 'cause it can contains, uh, protected health information.
55:01 Um, so definitely wanna be careful about that data. We wouldn't want somebody to just accidentally download all our um, datasets. And also, our data pools all our clients all together, so we have to make sure we have some type of role and security so that client can only see their own data.
55:18 So, um, our vision was kind of, uh, talked about a little bit earlier about the E360 platform, but really the idea was that they would log into the platform, click on the reporting tab, then the tab would launch any dashboards that, that is a- available for them, um, so depending on the products that they have.
55:40 No need to enter credentials in Tableau, and then the da- the dashboard will be filtered, um, to their own, um, data only.
55:48 So we selected, uh, Tableau Cloud Embedded Analytics for, um, like, the main reason was the on-demand usage. We only pay for usage and not for licenses. So we have unlimited licenses, and we only pay if a customer actually, um, interacts with the dashboard, so that's called impressions. So that was a great plus.
56:08 Um, so that means that we had no need to manage and create users in Tableau Cloud 'cause, like I mentioned before, thousands of users to manage, that's, that's a lot. Uh, it can handle authentications in single sign-on.
56:21 Um, we can do role-based security, and also you can embed with minimum code.
56:27 Some potential challenges that we identified were we're all new to Tableau Cloud. We were on Tableau Server, so that required a new Tableau Cloud implementation w- along with Tableau Bridge. And also, this Tableau Cloud Embedded Analytics is only for externals user, so our internal user still has to… They have to use our internal, uh, Tableau Servers.
56:47 Um, and then also because they are not, um, managed in Tableau Cloud, we don't create users in Tableau Cloud, they cannot create custom views or subscriptions.
56:57 So that was some drawbacks. But, um, before I get s- I go through the six-step checklist though, I wanted to, um, recognize that it's not just the BI team um, that, uh, yeah, did that project. Like, it's, it really does require a multi-team effort.
57:15 So of course we needed the help of IT for the Tableau Cloud and Tableau machine imple- implementation. Uh, then the BI team pretty much, uh, controlled the permission on Tableau Cloud, designed the dashboards obviously for our clients, and then the role of the security, that was all the BI team.
57:31 We also, at the same time that we started this project, we were, uh, going a big, uh, data migration, so we were, we were migrating our data, uh, to the AWS Cloud. So we really had to make sure, um, to collaborate with the data engineering team to make sure that we had all our data sets that we needed that would be migrated. And also we decided to create data sets that would not have any PHI for these embedded dashboards and to aggregate as much as possible, uh, to improve, uh, dashboard performance.
58:02 And then finally, we also had to collaborate with the software engineering and the U- UI and UX team 'cause they were the ones responsible for designing kind of what the reporting, uh, tab would look like, and you'll see that in the demo. Uh, they also did all the UI and UX testing. Uh, they implemented authentication and single sign-on, and then they are the one controlling the user permissions on our website, so on the E360 platform.
58:29 Okay, so now I'm gonna go step by step through the checklist.
58:33 So we're gonna start that step number one, and you'll see that checklist after every step. Uh, so you should be very familiar with it by the end of the talk. Uh, so configure Tableau Clouds. So we had this brand-new Tableau Cloud. First thing I did is to create projects and subprojects and user groups.
58:51 So the E360 website was being built, and they had four different stages of the website: a dev, QA, staging, and prod. So we decided to create, uh, projects that would mimic those stages, dev, QA, staging, and prod, and then we created subprojects that would represent products. So that's what you see on the right here.
59:13 Um, next, even though we don't create users in, uh, Tableau Cloud, you still have to create user groups, and you have to, um, select Allow on-demand access. So there's a little checkbox right here. That's what you do. And then I created, um, um, the four, uh, user groups that, kind of, dev, QA, staging, and prod, and kind of assigned those to the corresponding projects and then subpro- projects.
59:40 But I found out that you always double-check before publishing a workbook that those, um, uh, on-demand, uh, users groups are, uh, enabled 'cause I found a few times even though I had… I thought they were enabled at the projects and subproject, sometime they just disappear on me. And, uh, that will create an error in the, in 360 after you embed.
1:00:06 Uh, and you'll see that error in the demo. Um, so always double-check. That is my tip number one when you work with, uh, on-demand users.
1:00:15 Okay. That's it for the first, um, step. Second step is we're gonna need to configure authentication and single sign-on.
1:00:24 So first I'm gonna go through this graph to kind of explain what, um, what the steps are, and then I'll go on to how we actually do it. So the first step is the user logs into the E360 webpage and clicks into the re- reporting modules. And we use Cognito for our authentication, but, uh, Tableau Cloud is, uh, compatible with many, uh, different, uh, products, so, uh, you don't have to use Cognito if s- they use something else for, um, your webpage.
1:00:56 Uh, step number two, the E360 API is gonna construct what's called a JSON Web Token or a JWT.
1:01:03 So that JWT contains values from a connected app. So I'm gonna show that step right after this slide, how you, uh, create a connected app in Tableau Cloud.
1:01:13 And, um, it also contains user attributes such as the client ID, that's what we're gonna use later for role level security, and any permissions. So that step is really crucial, um, uh, to ensure that authentication single sign-on work.
1:01:29 Um, next step is the E360 response with aut- authentication token back to the webpage. The webpage then gonna request content from Tableau.
1:01:38 Tableau is gonna validate the token, and then depending on the token and those values I was just talking about earlier, the client ID, permissions, or… and the connected app, it's gonna return the content, uh, that we requested.
1:01:52 And of course, all that thing happens in like, a, you know, milliseconds or something.
1:01:57 So I'm ensured a connected app. So that's your next step. You wanna go to settings, select connected apps, and you can absolutely, uh, create, um, several apps. So we created two test apps and a production one.
1:02:12 Um, you select your, uh, authentication method, you give it a name, and then you can restrict the access level and the domain allowed. So the domain allowed will be, you make sure that you only allow, uh, from your website. So in that, in our case, enliven360.com, that's the only place where we want people to have access to that. So always restrict that.
1:02:35 And then depending on what your app is, so for that production app, we limit it to that prod project. So this is why I kind of al- uh, created all those, um, uh, projects in the first place. You may not need to create four of them, but I would recommend ha- ha- at least having one prod and one non-prod. That's to ensure that any dashboard that's in a lower, lower environment, so a dashboard that you're still testing, just started developing, it doesn't end up in your prod, uh, website.
1:03:06 So that's, uh, yeah, one way to secure that.
1:03:10 Okay.
1:03:12 So next, once you created those connected apps, if you click on them, you're gonna see some, um, some values. And I have, uh, removed some of those, uh, numbers just for security, but I just wanted to show you what it looks like. So you're gonna get a secret ID, secret value, and the client ID, which is a Tableau client ID.
1:03:33 And these values, uh, you're gonna pass them into the E360 API to construct the J- the, the JWT.
1:03:42 And so this is an example of what the JWT looks like.
1:03:46 Um, so you have, uh, that Tableau client ID here, Tableau secret ID, Tableau client ID again, so that's the header. And then in the payload you get the, um… So that's the very important value. It's called report op client ID in our case.
1:04:01 There's a value of one, and that's the cli- client ID that can be, uh, related to a database. So that's what we can use for our role level security, and I will show that later. It also has the Tableau user group. So prod. So only, uh, users assigned to that, uh, prod user group are allowed to see that dashboard. So that's why it's very important to make sure you have the appropriate, um, user groups when you publish.
1:04:28 Okay.
1:04:29 That was it for the, uh, step two. So now onto step three, it was time to embed the dashboards.
1:04:36 It's actually very easy, and you have two ways to embed, uh, a dashboard. You can do via HTML, so that's gonna be, um, what I'm, uh, presenting first. So after you, uh, publish a workbook, you can click on share, and you can copy here, uh, the entire embedded code and paste that into HTML. So that method is best for, like simple embedding, some blogs, internal websites.
1:05:02 Uh, in our case though, because we have, like the JWT, we have a lot more, uh, things going on, it's best to use the via embedding API. So it's a similar, um, methodology. You're gonna, after you, uh, publish your workbook, you wanna click on share, and in this case, you're gonna copy a link. So always copy a view link, and not, uh, the entire workbook.
1:05:25 So a lot of time I have workbooks, uh, with, um, different, uh, dashboards in it, and I thought I had to copy the entire workbook link to embed it all, but no. So you wanna copy the, um, the link, um, of the view, the first view that you want your, um, users to open. So if you have a landing page, that would be it, or if you have like a first page, like I have a first page with just basic KPIs, that's the first one I want the users to see, so that would be the link I copy.
1:05:57 Then once again, you can paste them into that e- embedding API, so that's where the link goes. And then here you have a lot more options. You can customize. So you can customize the height and width. So we play around with that a lot to make sure that after embedding, the dashboard was not cut off, and you could see it all. By default, the toolbar is at the bottom.
1:06:17 So we want it to, uh, you, we want it on top, so you can change that to top. And then by default, it also hide all the tabs. So if you, um…
1:06:27 And we wanted, uh, the tabs to, um, not be hidden, so to show, so you have to put hide tabs equal false. So, and there's a lot more customization you can do there, but these are the ones that, uh, we did. Okay. That's actually it for the, um, embedding. It's actually not, uh, not pretty hard.
1:06:48 So the next step was to test the role level security. So as I mentioned earlier, really you are using that JWT, and you can use something called a user attribute. So you don't need any messy entitlement tables. I know when I, where I had used, um- Uh, role level security at a previous company, and we had a gigantic entire table that would slow the dashboard down.
1:07:10 So no need to do that.
1:07:12 You could simply create a user filter calculation that uses user attribute includes the report OP client ID. If you remember, I showed you that's in the JWT, and that represents our client ID.
1:07:26 And then you're gonna pass it, you know, just do comma and then client ID.
1:07:30 So that's from our data source. So two things: Make sure that the client ID is present in your data source and not hidden, and then also make sure that the, um, data types match. So report OP client ID is a string. Client ID was an integer in our data source, so I have to pass it as a string. Otherwise, yeah, you get an error.
1:07:49 Once you do that, you're gonna place the user filter as a data source filter and set it to true.
1:07:54 So once I did that, what do you think happened?
1:07:58 All my dashboards were blank when after I published. So I'm like, "Oh, no. Something went wrong." I could see the titles, but all the graphs were blank.
1:08:06 And I went actually into the website, logged in as myself and realized, oh, yes, it knows that I am, um, attributed to Enliven Health. Enliven Health does not have any data in our data sets 'cause we're not our own customer. So I was like, "Oh, it makes sense." It, it should be blank, but I want to see my dashboards. So make sure… Luckily, I'm, I'm an admin on the Tableau Cloud, so I simply added is member of admins or the rest, so I could at least see my dashboard.
1:08:34 So always make sure you, uh, give yourself permissions to see your dashboards if they end up being blank.
1:08:40 Okay. That was it for the role level security. Uh, and now we– it was time to, um, test the Tableau Bridge, um, to, uh, refresh our extracts.
1:08:51 So first, I'm gonna explain a little bit why you need Tableau Bridge.
1:08:56 So pretty much if you have data sources that are behind a firewall, so like we had, you know, such a private network or like AWS Cloud. At first I thought, "Oh, it's cloud. We're not gonna need bridge." But no, it's not the Data Cloud, so… Or the Data three sixty, I think is what they call it now in Tableau, so you still need a Tableau Bridge.
1:09:15 Um, Tableau Bridge can ha- can handle supposedly embedded data sources and published data sources. We installed it on a virtual machine within our network, and we didn't have any issue, um, connecting to our data sources from there.
1:09:29 Um, and we did some, um, tests, like, with, like, simple data sources. Everything seemed to be working. But of course, after a few weeks and I had my dashboard ready to go, this is what a Tableau Bridge looked like. I had more errors than success. Seventeen errors for only one success in like the span of two weeks.
1:09:52 After that, I really– we really tried about, just about everything.
1:09:56 We changed the parameters in Tableau Bridge. So there's a connect timer, timeout and operation timeout, pretty much increased to like maximum value. We're emptying our temp folders in cloud. We stop– we tried restarting Bridge, downgrading Bridge, even installed Bridge on a Linux VM.
1:10:14 Uh, then I tried removing the user filter, user attribute filter. I thought, "Oh, maybe that's wrong." Um, I was at some point refreshing every hour and really monitoring, um, to just see what was happening there, 'cause it seems like it would just hang up after… Sometime it'd be five minutes, sometime it would be after three hours. It was very inconsistent.
1:10:35 And finally, we tried limiting the, the data to three month. So it worked, and that gave us an idea of what was wrong, but obviously that's not what we need. Our customers want more than three month of data.
1:10:47 Uh, so at the same time, we, um, we created a ticket in Tableau Support, so they were helping us through, uh, and suggesting like, uh, experiments we could do.
1:11:00 And we, uh, were able to, uh, find the root cause of, uh, all these problems. So our extracts, it was an embedded extract, it was simply too big. So it was, uh, one and a half gigabyte.
1:11:12 And Tableau told us anything above a gigabyte will fail if embedded in a workbook. So that's a good thing to know, even if you're not trying to embed stuff. If you have Tableau Cloud, regular Tableau Cloud, and you wanna, um, and Tableau Bridge, and you wanna refresh an extract, if it's embedded and above that gigabyte, you're gonna have to use a published data source instead.
1:11:34 So I switched to published data source. Of course, the extract started working, uh, great. But the user attribute function now stopped working with the published data source. So we went back to Tableau 'cause we're like, we need to have that, uh, user attribute, otherwise our customer can't… They can see everybody's data. That's just, uh, uh, uh, not what we want.
1:11:56 So luckily, um, Tableau escalated our ticket, and a Tableau engineer was able to enable the user attribute function with published data source on our Tableau Cloud. So if you really run into that issue, always, uh, get Tableau involved, 'cause oftentimes they're, they're able to fix the issue.
1:12:14 So Tableau Bridge now it is, uh, yeah, a lot sta- a lot more stable. Only one error for a hundred and sixty-three success. So that's… I'm glad that I don't have to worry about Tableau Bridge anymore these days.
1:12:29 Okay.
1:12:30 That was it for Tableau Bridge. So the last step was we wanted to be able to, uh, control the content. So control what dashboards a client is able to see.
1:12:41 So we did that in two stages. Uh, so first I'm gonna go like, what do we mean by control content? So when, um, a user clicks on, um, the reporting tab, first it's gonna allow- launch some tiles like the ones I'm showing here. So connect NVR and here are a few. These are our products. They represent our products. Then they can further click, so they can compute, and it la-launches all the dashboards that are available for that products So we wanted to put in place a mechanism where, um, once a dashboard is ready to be embedded, uh, into our website, that, uh, tells, uh, the website that where, where am I gonna embed that dashboard?
1:13:25 Like, which, which of these style is it gonna go under?
1:13:28 So at first we used tags. I had never heard, heard of tags in Tableau, so if you click on the information icon, uh, after you publish, um, a dashboard, there is a section called Tags, and you can create your own tags, and then you can use the Tableau REST API to kind of analyze those tags. So that's what we did.
1:13:48 Uh, so these are the tags we created. It tells, um, where these, uh… like, which stage of the website this, uh, dashboard should go. So that's the prod in this case, and the module represents a product, so that's personalized communication.
1:14:04 And it went great at first when we only had a few dashboards and a few customers, but, uh, really the…
1:14:11 it required multiple queries, and, uh, our software engineering was telling us this is just not scalable for the long run, so we need to look into something else.
1:14:21 And also, it wasn't exactly what we needed. It didn't have the, uh, level of precision we were looking for. Because really not every client has access to all our products, so we wouldn't want them to click on a product tile and they see a bunch of dashboard, but they're all blank, like my experience was, because there's no data. So that was not a good user experience.
1:14:41 So tags could not achieve that, so we decided to create our own database where we can activate a client for a specific dashboard.
1:14:48 And so this is what the database looks like.
1:14:51 It has three tables. First one is a report group. So you think of it as our products. So that would be these two tiles, now we have three.
1:14:59 And it has a report group ID. Then the second table is the report or the dashboard themselves.
1:15:06 Um, and they have a report ID, but they are grouped by the report group ID. So it tells this dashboard is gonna be under the Connect IBR, for example. And finally, we have an organization report table, which is our clients. And then we say, "Okay, this client or this organization ID is gonna have access to this, uh, dashboard." And so that's how we can achieve what you see at the bottom here, where, like, client A, for example, has access to the Connect IBR specialty metrics, and the Connect, um, personalized IBR performance summary, and client D has access to the Connect standard IBR performance summary and the ADH QC program analysis table.
1:15:49 So really every client can, um, have their own, um, dashboards.
1:15:56 Um, okay. And that was it for the checklist. So now I'm gonna go briefly through the timeline, right? Because this project took a lot of time.
1:16:08 Um, so I started, I joined Enliven Health on April of twenty twenty-one, and we already had a kickoff meeting to, uh, brainstorm about it.
1:16:19 We did a very crude, uh, proof of concept without any single sign-on and with… using our, uh, Tableau Server. We didn't even have Tableau Cloud. We didn't even have the Enliven 360. But we proved that we could embed just with that embedded code there, uh, we could embed a dashboard into one of our legacy products.
1:16:40 So at least we were like, "Okay, before we get started into the whole thing, can we do like a, you know, uh, a kind of minimum product, I guess?" Uh, so we probably could work, but then the project was put on pause, like, 'cause there was a lot going on at the time at the company, and I had no idea if the project was even gonna get started again. But on August twenty twenty-three, I was informed that, "Hey, we have Tableau Cloud Embedded Analytics." I'm like, "Oh, okay." I started, like, playing around with it, doing all those, uh, project and sub-project.
1:17:14 This was really nothing for me to do until the, um, E three sixty team, the, the website team, um, uh, were ready for me to test the connected app and the JWT. So I kind of had to wait there too.
1:17:27 Uh, by March, we had completed the UI development, and then by May, May, 'cause I had been working on that since August, I guess, but I had, um, I was satisfied with some of the dashboard design, and we had completed the si- single sign-on.
1:17:43 By July, uh, our tables had been migrated to AWS, so then I had to kind of repoint the dashboards because I was using our old data sources.
1:17:52 And in September was when the Tableau Bridge mail then happened, and it took about a month to resolve. I know I kind of went kind of fast through all the things we tried, but it, it…
1:18:03 Yes, it was, um, pretty stressful because our first customer was supposed to be live either in October or November. I'm glad they went live in November, um, 'cause like I said, it took about a month. In October, that's when we tested the published data source setup, and November was our first, uh, customer that went live.
1:18:23 And today we now have fifty-five clients who have access to our dashboards in E three sixty. We have six unique dashboards available and still building more, and for a total of like a hundred and eleven dashboards, so about two dashboards per client, uh, so far.
1:18:41 Okay. So some of the lessons learned, um, say that, yeah, it's a multi-team effort, so really ensure that all teams have the same priority. Um, otherwise you do a lot of waiting around.
1:18:52 Uh, start small, build things in parallel, 'cause yes, a lot of times I had to wait on people to do something else. So I made sure that I was ready. I had my dashboards ready to go whenever they were ready for me.
1:19:03 Tableau Bridge, I wish we had tested that earlier. I mean, unfortunately, we didn't have our data sources that, uh, were ready for us, but definitely something, uh- It's better to test early, and, uh, if you have an embedded extract, go ahead and use a published data source instead, especially if it's, like, around the gigabyte, uh, size.
1:19:25 The permissions, always double-check before, uh, publishing. And also, one thing I found out, like, after we had gone live, uh, some of the dashboards were a little bit slow, so I tried to use acceleration with a user attribute filter, and I'm glad I was testing in staging and not in prod because the user attribute filter does not work. Um, so yes, that is not a good idea to do if you have a user attribute, uh, filter.
1:19:51 Okay. I have some resources here, and I can send the slides if you want, um, after this. Uh, I attended, uh, a hands-on training on Embedded Analytics at Tableau Conference a few years ago, and that was fantastic. We really went through kind of what I showed you, the connected app, the how do you build the JWT and, uh, uh, permissions, all that thing.
1:20:15 So if you're interested in that, uh, really that's what I recommend doing to get some hands-on, uh, experience there.
1:20:23 And now let's see if the demo works. So let me know if you can hear the sound.
1:20:30 I am now going to do a quick demo of our Enliven 360 platform.
1:20:35 So here, imagine that customer A just logged into our E360 website.
1:20:42 The left panel and the middle section show all the products that are available for this client.
1:20:49 If the client clicks on the reporting module, it will launch a new window.
1:20:55 You can see that this client has access within the reporting module to two different products, Adira IQ and Connect.
1:21:04 If you click on Connect, for example, it launches the list of all the dashboards that are a-available for the selected product.
1:21:12 In this case, this client has three dashboards available for Connect.
1:21:17 And if we go back to Adira IQ, it only has one dashboard available. Now let's take a look at a different client. Now this client has only one product available, Connect, and within that product it only has one dashboard. And finally, let's take a look at yet another client. This client, once again, only has one product available, Connect, but under Connect it has three available dashboards.
1:21:48 This illustrates how content management is enabled and ensures that only clients see relevant dashboards. Now let's take a look at what happens when we launch a dashboard.
1:21:59 Go to Adira IQ.
1:22:01 I'm gonna click on View. And the lash- dashboard launches, and the client did not have to log back into Tableau Cloud.
1:22:11 It was all single sign-on.
1:22:13 So for this particular demo, we are using demo data, which is an aggregate of data that has been de-identified and that is safe to use.
1:22:23 To make the dashboard bigger, you can collapse the left panel or you can make into a full screen here. And here the dashboard perform exactly as if the client are logged into our Tableau Cloud. You can use filters. You can navigate between different tabs. You can, uh, click on the Download button here that are created in the dashboard, or if you exit the full screen, uh, there's more option under the Download option.
1:22:53 Now I want to show you what happens on the permission side. I'm going to hop on to our Tableau Cloud.
1:23:00 So this is our Tableau Cloud, and these are the four groups that I mentioned during my presentation: Dev, Prod, QA, Stage. Let's take a look at the Stage group and confirm that this group is enabled for on-demand users.
1:23:15 So it is available for on-demand users, and that's why you are now going to have a list of users, 'cause everything is happening on demand.
1:23:25 So now let's see what happens if I remove the permission for the Stage group for one of the dashboards.
1:23:39 I'm going to select this demo dashboard.
1:23:44 Go to the permission.
1:23:47 That's the Stage group. And I'm going to deny access to that group.
1:23:54 Now let's go back to E360.
1:23:58 Personalized AVR Performance Summary Demo is the dashboard where I changed permission, so let's see what happens if I click on View. "The content you are looking for does not exist," which is a classic error of permission not being enabled, so always check your permissions, uh, before you publish. So let's fix that.
1:24:20 Gonna go back here.
1:24:23 Select View.
1:24:25 So we do not allow Explore for our on-demand users because we do not want them to have…
1:24:32 to be able to download the full data, uh, which is an extra layer of protection, uh, to protect our data.
1:24:40 So now let's go back here, and the dashboard loads normally, and this is it for the quick demo.
1:24:52 Okay. And that's all I had. I know you want to go, but so thank you. I don't know if there's any question.
1:25:00 Annabelle Rincon: Thank you, um, uh, thank you very much, Emilie, for coming and presenting that for the one who miss TC.
1:25:07 We have a question, uh, on the Q&A.
1:25:10 Uh, I don't know if you are able to share. Uh, Jorge, uh, Supelano ask, um, if you can share how many people work on the project by department or by team?
1:25:24 Emilie Smith: It's actually not that many. We operate super lean, okay? It's pretty much so. I, let me see. For the BA team, which is me and my boss, and then IT team, we had one other person.
1:25:36 On the UX/UI, we had two or three maybe, and then the data engineering, maybe two or three as well. So less than 10, I think.
1:25:48 Yeah.
1:25:48 And that's probably why it took a long time to, I don't know.
1:25:53 But yeah.
1:25:54 Annabelle Rincon: Yeah, you need a lot of skills, like, um-
1:25:57 Emilie Smith: I, yeah, I learned a lot 'cause I used to just do stuff in Tableau Desktop, publish, you know, like yeah, yeah. That, that was all new to me, the…
1:26:14 Okay. Other questions?
1:26:16 I guess I can see them too.
1:26:18 Uh-
1:26:20 Annabelle Rincon: I think that we don't have any overall question.
1:26:27 Emilie Smith: Okay.
1:26:28 Okay. Okay. I'll stop sharing then.
1:26:37 Annabelle Rincon: And it was good to see a real use case. I really like it.
1:26:40 Emilie Smith: Yeah. Thank you.
1:26:42 Yeah, we spent a lot of time on that project, so, and it's still ongoing 'cause we're growing, so that's the great part. It's like 55 customers, that's only a fraction of what we have. So like, yeah.
1:26:59 Chimdi Nwosu: Awesome.
1:27:01 Good, good, good. So
1:27:06 who wants to take us home?
1:27:09 Thanks for joining, everyone. It's been a great session. Please do look out for our communication about videos, et cetera, et cetera. And please register for the next event. You can scan the QR code.
1:27:25 Um, we'll see you in about a month, and we've got some great speakers, as you can see here. So we look forward to having you again.
1:27:38 Annabelle Rincon: Thank you, everyone. Bye bye.
1:27:41 Chimdi Nwosu: Take care.