Skip to content

Bengaluru TUG

Bengaluru Tableau User Group 20 Feb 2026

Bring your LLM to Tableau - Will Sutton

54 min 9,330 words transcribed

Summary

Session two of the Bengaluru Tableau User Group for 2026. Co-lead Ravi Kumar N thanks Anirudh, who is stepping down, and welcomes three new co-leads: Ankur Napa, a brewer turned Tableau user who also co-leads the Newbie TUG, Jacquelline Antony of TE Connectivity, and Devendra Singh. Guest speaker Will Sutton, Tableau Visionary, 2022 Iron Viz champion and co-lead of the AI+ TUG and the Games Viz community project, then shows how to bring LLMs to Tableau with Tableau MCP (Model Context Protocol). He explains why a chatbot complements dashboards rather than replacing them, and why an LLM should answer from tools, not its own knowledge. He demos Tableau MCP in Claude Desktop querying published data sources and workbooks, a LangChain agent running as a dashboard extension that picks up the dashboard's filter context, and Langfuse for monitoring an agent's calls and cost. Finally he introduces his new Tableau Public MCP server, which can find examples, download and unpack workbooks, and explain how any downloadable viz was built. The Q&A covers how it compares with ThoughtSpot, where it runs, and how it picks examples.

Listen to this TUG

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

Key points

  • Chatbots complement dashboards rather than replace them: you would not swap a car's dashboard for a chatbot you have to prompt for your speed.
  • LLMs trust what they read on the internet, so answers should come from tools that query your real data, not from the model's own knowledge.
  • MCP is like a USB port for AI: one set of tools any model can use, including a locally hosted one.
  • Tableau MCP works today on Tableau Cloud, and on Tableau Server 2025.1 or later, which added the VizQL Data Service API.
  • When a generated query fails, the model reads the error and retries, much like fixing a calculated field syntax error.
  • A LangChain agent can sit in a dashboard extension, take the dashboard's filter context, and be locked down to a single data source.
  • Tools like Langfuse show every message, tool call, token count and cost, so you can see what a deployed agent is doing.
  • The Tableau Public MCP server can reverse-engineer any downloadable viz: worksheets, calculations, LODs and chart techniques.

Jump to a chapter (18)

  1. 0:00 Welcome and housekeeping
  2. 0:35 Meet the Bengaluru TUG team
  3. 3:05 Agenda and introducing Will Sutton
  4. 4:32 Tableau MCP: what this session covers
  5. 6:22 Spreadsheets, dashboards and chatbots
  6. 9:26 Why an LLM shouldn't rely on its own knowledge
  7. 12:32 Connecting Tableau to AI, and what MCP is
  8. 14:37 Demo: Tableau MCP in Claude Desktop
  9. 21:30 Querying workbooks and view images
  10. 24:20 Building agents with LangChain
  11. 27:23 Demo: a chat extension in a dashboard
  12. 30:30 Tableau Public MCP
  13. 32:31 Demo: a guide to small multiple maps
  14. 35:04 Demo: how was this viz made?
  15. 39:07 Monitoring an agent with Langfuse
  16. 41:05 Resources
  17. 46:17 Q&A
  18. 52:01 Just for fun, and close

Transcript

0:01 Ravi Kumar N: All right. Hi everyone. Uh, good morning and good evening. Uh, welcome to the session two of our Bangalore Tableau User Group.

0:12 Uh, just a few housekeeping rules. Uh, the event is being recorded so please don't worry about taking notes or screenshots, so you'll always have a recording.

0:22 Uh, by default, like, audio and video is disabled, so if you have any questions, uh, please feel free to use the Q&A section, and there is also a chat section to interact and, you know, uh, put in your, uh, thoughts.

0:36 Uh, this is our Bangalore Tableau, uh, User Group team. So we are currently four people, and we will have a small introduction from, uh, everyone.

0:48 Uh, formerly, like, uh, we had, uh, Anirudh. So he's currently stepping down as a, uh, Tableau User Group, uh, co-leader. Uh, we wanted to thank him for all his contributions, so thank you so much, uh, Anirudh.

1:05 We have some new and, uh, exciting faces in our Bangalore User Group. So we have, uh, three, uh, new members, Devendra Singh and then Jacquelline and Ankur.

1:16 So I would request, uh, each one of you to, you know, have a small intro, and then we will officially get started.

1:25 Ankur Napa: Hi. Hi everyone. Uh, it's my second event, uh, with the Tableau Bangalore, and I've been using Tableau from past five years now.

1:38 And, uh, the fun fact about me is, uh, I'm a brewer, and while making beers, I started learning and using Tableau.

1:48 And I'm also co-leading, uh, Newbie TUG as well. Yeah, that's about me.

1:56 Welcome to all of you.

1:59 Ravi Kumar N: Awesome. Thank you so much, Ankur.

2:02 Uh, Jacquelline, uh, could you please share a bit about yourself?

2:07 Jacquelline Antony: Yeah, sure. Hello everyone. Uh, I'm perhaps the newest co-lead of the Bangalore TUG.

2:13 Um, I've worked with, uh, Tableau since twenty fifteen, not as part of Tableau, but as a part of a Tableau partner company. And, uh, since then, every company that I've worked with, I've managed to plug in Tableau as their main visualization tool of choice.

2:31 Um, now I work at TE Connectivity in Bangalore and, uh, I must say I'm thrilled to be part of this.

2:38 Uh, exciting times to come.

2:40 Thank you, and welcome to everybody.

2:44 Ravi Kumar N: Awesome. Thank you, Jacquelline.

2:46 Uh, Devendra, uh, could you please share a bit about yourself?

2:55 Devendra Singh: And, uh, learn, and learn along with everyone.

2:58 Ravi Kumar N: Awesome. I think there was a bit of, uh, audio, uh, issue, I think, Devendra, but no worries. Welcome, uh, to the team.

3:06 Uh, this will be the agenda, uh, for today. So our, our guest speaker, Will, is here, and he will be discussing about bringing the LLM game to, uh, Tableau.

3:18 Uh, just a brief, uh, guidelines. Like we, uh, mentioned, like, uh, the session is recorded, so you will have a copy of all the slides and the recording on YouTube. And if you have any, uh, trouble hearing the audio, please, uh, try to, uh, redial or check your, uh, device settings. And for any questions, uh, please feel free to use the Q&A section, and you are also free to use the chat section as well for sharing your thoughts.

3:46 Uh, just a brief intro for Will. So like many of you would have seen Will's contribution on the Tableau community, he's, uh, a Tableau Visionary, and he also co-leads, uh, AI Plus, our Tableau User Group, and also the Games viz community project.

4:03 And he's also a winner of the two thousand twenty-two Iron Viz competition, so it's one of the biggest, uh, data visualization, uh, competitions.

4:13 And he recently, like, started spending more time on AI and how it will actually help and, you know, bring those thoughts into the business intelligence and how it will actually– you can integrate with the Tableau as well.

4:31 Uh, over to you, Will.

4:32 Will Sutton: Okay. Um, so throughout this, I've been working on Tableau MCP, uh, which is a way you can have conversations with your data, so a chat data applications, but also get AI plugged into your data. In this session, I'm gonna give you an intro to Tableau MCP and explain a bit about what it's about.

4:52 Uh, lots of demos of Tableau MCP and then maybe, yeah, I'm pretty sure we'll have time at the end for a bit of questions, but I also wanna show you a bit of bonus material I've got on Tableau Public MCP.

5:05 I'm gonna show you. There was a question at the start. If you do have questions, do jump in. I will, uh, answer them as we go. Uh, when you asking questions about ThoughtSpot, uh, in Tableau Pulse or AI, uh, this presentation should have you, like, some AI capability similar to what you were seeing with ThoughtSpot.

5:24 Uh, so at a head– as a heads up with this content, what you're seeing here, this doesn't require an upgrade. This is available currently.

5:33 Uh, the only real caveat is if you are on Tableau Server, if you– you just need to be on twenty-five dot one as a version to get the, the full benefit from this.

5:45 The reason is because there was an API release with their twenty-five dot one release that allows you to do the query data source transfa- transf- um, API call.

5:56 Other than that, uh, you can start using this today. If you wanna go and get up a-at night and start putting this together, and it doesn't take too long to set up.

6:05 On that note, I do have a lot of resources and guides that I'll be showing at the end of this presentation, so if you wanna go and set this up, go and impress your boss of how you can go and bring AI to your company, uh, those will be available for you as well.

6:18 Okay. Let's jump back here. I'm just gonna jump onto the chat, just… Oh, see.

6:23 So a little bit of, um, direction of where things are going, 'cause I feel AI comes with a sort of lot of stigma, but it's always good to sort of look at where we're going, and I feel that kind of helps direct where, where things will go in the future.

6:36 So I remember back early on when I'd been using Tableau, like before then, there was just the spreadsheet.

6:41 Uh, everyone, like there was the spreadsheet guru in the company. You might even still have one or two about these days. Uh, they owned the spreadsheet. They owned all the calcs that ran the business. All this information was tucked up there.

6:54 But that data was very much tied to a few individuals to go and manage and look after.

7:00 However, um, what happened was the industry changed. We moved on to Tableau. We got dashboards. We're able to see that data, visualize it. So much easier for everyone to be on the same page of what, what the data is showing, be able to interact with it and answer their own questions with the data.

7:18 And we thought this was it. We thought this was the end of the spreadsheet, right?

7:21 Well, no. No. Spreadsheets don't, haven't died off yet. You know, we've had this massive increase in technology, but no, we still… people still want a spreadsheet.

7:32 It'll still break my heart when someone goes and downloads to Excel, you know, the dashboard I spent hours working on, but it happens. This is what people still need and want. Uh, but I feel what we've done by adding in the dashboard is we've increased the viewership of this data. We've actually democratized the data to more and more people.

7:51 Now, all of a sudden, this AI chatbot's come to our, into our world. It's been going on for the last three years now of AI chatbots, and it seems there's a lot of interest from leaders in companies. They want their own AI chatbot. They want to have that ChatGPT experience for their own data.

8:12 Now, does that mean that everything else goes away? I, I really don't think so.

8:18 Uh, this provides a lot of new, like the ChatGPT provides a lot of new functionality to complement the existing features we have here.

8:28 But you can't rely just on the chatbot itself.

8:31 For example, if you were to take your car, and you would say if you were driving somewhere in your car and you've replaced the entire front console of your car, gonna take in, like the dashboard out, and replace it with an AI chatbot, it would drive you insane.

8:47 So instead of looking and seeing what speed you were doing, how much fuel you had left, or any warning lights on the dashboard, you'd have to prompt for a question, prompt for an answer, and I think nobody wants that. Uh, we wanna be, see the information for ourselves, be able to pick on that. So there'll be key things you will want to see day to- day in, day out.

9:09 But the chatbot is really helpful for some of those ad hoc questions you have or development of new, uh, of new, like analysis pieces.

9:19 However, uh, chatbots are still in the early days in these LLM technologies. They're coming to face with flaws here and there.

9:27 So for example, if you ask your chatbot a simple question, like this is about seahorses.

9:33 I go to ChatGPT, I can ask it, "Is there a seahorse emoji?"

9:40 And

9:43 okay, I've got some images this time. Um, what I'm looking for is this.

9:49 So yeah, um, you can use it as this. No, like it thinks this is a seahorse emoji. This is a, like you might be able to see, this is a unicorn, then there's a kangaroo, and there's a jellyfish, coral reef, unicorn, mermaid, shark, a lizard, uh, this, and it… As you can see, the scroll bar, it just keeps going of all the different loop it's in of trying to find the seahorse, like emoji.

10:15 Okay?

10:16 Um, I think even in testing, we found the scroll bar went very small as it's in this constant loop of trying to work out what on earth's going on.

10:25 So you're probably thinking, "Well, what, what's the deal with that?" Like, "What's going on there?" Um, 'cause the, the issue is because how these LLMs work, what they do is they go and read all the information on the internet, believe it's all true, and then go and depend on it.

10:44 So what's happened is somewhere on Reddit, someone has spoken about this seahorse emoji that they remember, you know, they remember this emoji on their phone or wherever, the colors, this sort of thing.

10:56 And now ChatGPT believes that.

10:59 It believes there is a seahorse emoji. So it keeps going in this loop of thinking there is one, let's go and sort of check, find it, no, that's not the right one, check again, check again. So you then have this continuous loop going on.

11:11 Or, and so what you effectively have is someone has gone and not, not intentionally, but accidentally like poisoned, uh, the, uh, LLM, uh, to believe this kind of information.

11:23 And you could do the same. Like I, any of us could go onto Reddit or somewhere else and go and talk about all these great Tableau functions that you use that don't exist, that don't- completely made up. And then in the future, an AI model will read that, believe that, and then start recommending that to someone else.

11:41 So the issue is here, is, uh, depend, really depending on what the AI knows is proving, has its fatal flaws, like depending on its own knowledge is the real issue.

11:54 So where I actually see a lot more use of the AI is this, this option here of I've got, I need basically the data to be transformed from one form to another. So I've up- updated like my CV here. I've asked it to fill out a few key, key facts here, and it's able to do this- Consistently, easily, EV- every single time.

12:17 So this is asking really to fill in the blanks from one piece of information to another, and this is where a lot of what we're using for AI tooling comes from, this ability to transform data from one form to another.

12:33 So this is where we started working on Tableau, uh, integrating Tableau and AI. So I was working with the product manager at Tableau, Joe Constantino, put together a little team to see could we go and connect content on Tableau Server or cloud environment over to an AI model.

12:53 And we were able to do this. We got something working where we were able to query data from ChatGPT, but it required an awful lot of work.

13:02 There's so much work went on, uh, to actually get this to, to happen.

13:07 When we thought about, oh, can we move it to other models around here, it was a real struggle to think of how we could get this to go and scale, uh, to help not just you on ChatGPT, but anybody on any, any different AI model or even their own local model.

13:24 But thankfully, someone came along and solved that problem for us.

13:29 Uh, what was introduced is MCP, uh, Models- Model Context Protocol. This is a way of effectively setting up a set of tools that an AI model can go and use to talk to Tableau.

13:41 Uh, so this is on for anyone on Tableau Server, Tableau Cloud, even Tableau Next. Those are currently a beta on at the moment that I'm part of.

13:51 Uh, I've also best seen MCP described as like a USB port. Uh, so like when I connect up my USB mouse to MC… um, to my computer, my computer just knows it's a mouse, how to go and use it, how I can go and use that tool. It's very similar to h- here. So effectively, this is setting up a set of tools for any AI models to go and use. So I'll be showing you a demo on Claude.

14:16 You could do this on ChatGPT, which we'll do later, but you can also have the flexibility of bringing your own model. So if you have like a locally hosted model, uh, sort of ring-fence model, you can still use these tools with that model, making it super flexible for your needs, type of security setups you have as well.

14:36 Okay.

14:38 So let's, let's not, let's not waste any more time. Let's get into the demo. So here I am, I'm in Claude Desktop, uh, from Anthropic. I've gone and set up my Tableau MCP connectors here, and I can ask it some basic questions just to show you how the tool works.

14:54 Um, like I can ask it what data sources on Tableau Server.

15:03 Just bump up the file s- screen size bit.

15:08 Now, you see, I don't even need to get the spelling right, and it will understand what's going on. As you can see this sort of thinking step here, and I'm getting a response printed below.

15:19 So if we look in here, uh, so it declares sort of like the intent of what I want to do. Then you have this. This, so this is your tool call that's happening now. So we go into this. This is effectively the result of that tool that we, that we've run here to find the data sources.

15:37 Uh, if you've used the Tableau APIs before, you may recognize this is like from the metadata API that's calling this back.

15:44 Uh, but what this gives me, the IDs, names, and descriptions of these different data sources.

15:51 Descriptions here can be very useful for passing on additional bits of context to your AI model.

15:57 For example, like any nuances with the data sets in- included.

16:02 Okay.

16:03 So I've got my data sets come back, and then this, this is then output, nice formatted for me to go and see here.

16:09 And I can start asking more questions like something simple like, "In US Superstore, what is sales by year?"

16:24 Okay.

16:25 Yeah, that should always allow.

16:28 Okay. I might have to go and configure something a little bit. Otherwise, you can do this, and then it refreshes, and it doesn't look nice. I don't like it, but I'll let it, I'll let it pass for now. But okay. So what this is doing, so it's doing a query step, uh, what's going on here. So what it will do is get data source and metadata. What this will do is take the ID that we found earlier from that call, and then look into the actual data source itself.

16:57 Uh, so return the column names, data types. If you have the option to add column description fields here, those will be added as well.

17:05 What it will then do is try and construct a query for that data source.

17:10 So using that ID, uh, so this is the, the VizQL API that came in in 25.1 on your server release. If you're on cloud, you already have it.

17:21 Uh, but you can see here it's kind of like how you construct a sheet in Tableau to show this. So I'm looking at order dates. It's been aggregated to a year. That's good. Uh, then looking at sales, and it's doing a sum function on this as well.

17:35 And then here's my data that's come back here from that tool call.

17:40 So then I will see this response come back here.

17:44 Now, if I was to go over to my actual dashboard here, so sneakily I've made one for this so I can line these up. So yes, yeah.

17:55 So you can see that because it's querying the data source, it's got the, the query correct. We're getting the same numbers back, so we can at least trust that it's giving me the right data back, um, from this data set.

18:07 Okay. And then, yeah, AI's gonna do AI and ask you, "Do you want to go any further with this?" Um, so this has been very sort of basics or queries. And what I'm gonna do is give you a bit more challenging one to go and answer.

18:22 Okay. Um, again, typos, all that sort of thing, not too distressing in this case. Uh, but what I'm doing…

18:31 See, this, this prompt is less helpful than, "Give me summer sales by year." Uh, so I'm taking on a role, say I'm managing the east region, how are they gonna improve performance? I'm not really saying what, what I want to improve. Is it sales? Is it profit? Is it, like…

18:47 What, what, what metric should I… I haven't, I haven't stressed any metric there. Um, and then what are other regions doing that I'm not? So getting it to do quite a lot of analysis to answer this question, sort of very simple question.

19:02 So, okay, it's come back with some answers here, but if you look into this, have a look here. Now, this is interesting. So this happens from time to time. So what we've got back is an error here.

19:14 Okay? So whenever you get this with MCP, so what it's trying to do is trying to effectively use generative AI to create this API call.

19:24 Sometimes that doesn't work, it gets something wrong here.

19:27 The nice thing is here that the AI will get the response, this error field back, and what it tried, and then ask it to retry, uh, what it's doing. So it's able to actually…

19:40 Typically, you'd run into an error and the thing would just stop. In this case, it's able to have another go based on what it is, and sometimes it is something like this. So, like, if you are in, say, writing a calculated field and make a syntax error, you get that little prompt at the bottom to tell you something's gone wrong, and you can just fix it.

19:57 It's, it's similar to that.

19:59 Um, but you can see you can have another go. But before we were just running one query, we can actually run several queries here in one go.

20:06 Um, and now comes back with this analysis for me. So second, A is the second best region. Gives me the problem here is yet the discounting sort of problem. Uh, so yes, tables in the east is always the issue with discount. This, this kind of problem comes up, which is been able to discover.

20:26 West 600 tables. Gives me some other elements of furniture here as well. Directory, where we're going.

20:36 Um, okay, so effectively you can get this to do exploratory analysis pieces for you as you want, which is really helpful if you're, say, putting together a dashboard or want to find issues in the data ahead of time, uh, this can be a nice way to do that. Uh, you also get, uh, Claude will often give you these recommendations on what to do next. Um, these definitely vary depending on what type of company you're in, okay?

21:03 Um, there is that.

21:06 Now, with this, what I'm gonna do just quickly, I'm gonna go and manage connectors just so I can get this. So one of the annoying things, like, you can have, so the tools you saw there, they come up for permission all the time. What you can do is just set this to always allow, and that should be fine.

21:27 Um, okay, let's jump out of this and into this. So one of the other tools we have in here, it's not just looking at data sources, that's really helpful, but you can also look at the workbooks too. Um,

21:41 yeah, we're still connected up there. Let's go.

21:45 So there are a few tools around for this. These have, like, different use cases that can be helpful.

21:53 So tool for list workbooks.

21:56 So here's my Superstore KPIs. Here's my, uh, little Hey MCP. Uh, so this is a, uh, little example file I put together in, like, my personal space that can go and find…

22:08 Um, okay, let's go and say with sup- the Superstore KPIs, can I get an image?

22:20 Okay.

22:21 So there are two, like, follow-on tools you can do with different types of workbooks. So you can get an image, or you can go and get the data from a particular view as well.

22:32 Um, I'm just, I'm showing you the image here 'cause Claude handles it a bit differently. Uh, but there are some use cases for this too.

22:40 Um, so get workbook, get view image. Like, you can see in the prompt, it hasn't actually got an image for me. There's no image here.

22:48 Uh, but in view image, you can see that there's my image in the tool called Come Back, and that's, that's our dashboard that we saw earlier as well.

22:56 What's, what's happened is Claude has read that and then just described the image down here.

23:01 Now, one example, like, use case I had that came up was if you're a team, you've up- uh, you want to check that you've updated the data. Is that showing in the dashboard? Well, this could be a way. So you could go and get the query tool to go and query the under- the actual source data, and then go and check the related workbooks to make sure that the latest values were coming up in, in the dashboard as well.

23:26 So it could be a nice way of saving you a bit of manual effort there, uh, to have that set up.

23:32 Okay, so this is all, all on Claude, so this can be set up. Um, I've got a guide p-particular for getting Claude set up at the end.

23:41 But let's jump back to the slides 'cause we can take this a bit further.

23:46 Uh, just, just, just to clarify on the recap of what we were seeing there, so you've seen me enter some queries here.

23:52 What's going over is the AI model is thinking, "Well, rather than just try and answer the question, shall I actually find something, like a tool that can go and help me answer that question?" So not depending on its own knowledge, going actually to the, the tools to help it answer the question.

24:07 It'll create those tool calls, those will then be sent back to the AI model, uh, that you saw there, and then formatted and then passed back to the user.

24:16 That's, that was nice. That's nice to see.

24:18 But let's extend this a bit further. So we're talking about MCP, so that set of tools that you can go out and get an AI to use.

24:26 What I want to talk about is LangChain as well. So this is a way that you can build a framework of putting your AI tools together in a little framework with your different AI models.

24:38 You can use this to create very complicated things. Like, one of the things I've been working on this week was sort of a, a research agent that would spin up different agents to go and research different parts of your AI, um, of your Tableau environment to of- find answers to data. Uh, you can do cool things like that. But to start with, like, simple applications can actually be quite effective as well.

25:02 So, uh, I wouldn't be too discouraged by, say, the, uh, the amount of data or the complexity of the task here. Like, there… You can actually build, like, a simple agent quite quickly.

25:15 Okay.

25:16 So this is the little framework I had. Um, so similar to what we had before, so we've got our Tableau environment, server, cloud, or next, all our data sources over here. We can then pick any AI model that we want. Uh, so we could pick an, an L- an API key from Anthropic, ChatGPT, DeepSeek, whatever, or again, locally hosted models as well. So we can go and use those.

25:43 We can bring in tools. So you can have Tableau MCP. You can bring in other MCP tools. So yeah, lots of different data providers are making MCP tools at the moment. So another use case I have is say, oh, I've got the data in Tableau, but I also have the data sitting in my database, and my database has an MCP server as well. So you could go and have the data be queried, um, in Tableau, and then maybe that's not the right data.

26:10 You may wanna go and cross-check it back with what's in your database as well. So you can also create your own tools with LangChain as well. This is where we started in this, in this project.

26:22 That all can come together. You just need to build then an interface to go and interact with it. I have an example one that you can use as well in my give… in my, like, resources at the end. So a little website UI, but that can also be put into a Tableau dashboard extension.

26:38 But the beauty of this is it all can rely on your own security constraints. So I'm dealing with customers that are all on-prem, and they wanna be all on-prem, and that's totally fine. We can still s- you can still set this up all on your own environment. That's okay.

26:53 Some customers wanna go and say, "Hey, I wanna actually go and chat with my data in Teams." And yeah, you can go and set that up too. You would then put that, put your MCP closer to the Azure sort of stack, and then you can go and deploy your MCP server to, say, Microsoft Copilot and go from there.

27:12 So lots of, like, options here in terms of how you want to configure this, be it one model, be it multiple models, be it model tool sense, you know. You, you have a lot of flexibility with this.

27:24 Now, let's go and sort of show you a little demo. This is my little dashboard extension that I've had put in here. I can have this in a little, like, pop-out window if you wanted to. So what I'm doing here is, as a dashboard creator, I can only do so much. You know, I can only put so much in here. Why– what I can leave here is a place to go and have those clients of mine or stakeholders go and answer their own questions or those ad hoc queries that come in.

27:50 Uh, so I could ask here, who are my top customers?

27:57 And then what that would do, then go and run the same sort of query tool. So what I've done is I've plugged this in to our, the data, the data source on Tableau Server for it to go and query and come back with a result.

28:11 So hopefully the text isn't too small here. You should see it whirring away over here.

28:16 Something's happened there. There we go. That's more like it. Okay.

28:21 Here we go. So I'm able… So as a dashboard creator, I can't go and predict all the different types of analysis my stakeholders want to do, so I, I can't fit customers in here. I maybe…

28:34 Little hard to put everything in there, but they can go and query the underlying data source and get this data coming back.

28:40 So I've been able to do cu- customers here.

28:42 One thing that I've been working on to improve this that I want to share is actually you can do specific filters. So you can actually bring in the context of the dashboard here. So I've clicked on Texas, and now I know that we're looking at Texas, and I can ask it something I can't see on screen like, uh, like how many customers.

29:05 How many customers do we have in this state?

29:10 Okay. So just in the text, it's recognized it's Texas.

29:14 Hundred, uh, three hundred and seventy customers in Texas. And you can always look in the step as well. And I can see in here will be that. So yeah, so values Texas in there. Cool. Um, now one thing with this is I've also locked it down to just query this data source. It doesn't have access to the, any other, other data sources I have at the moment.

29:37 Uh, it also doesn't have access to the internet or anything like that, so I can ask it things like, um, questions like what is the, what is the capital of France?

29:48 Let's see. Yeah, and it says, "I d- I don't know. You know, I can only provide answers based on the super store available in Tableau. I don't have information about the capital of France." So this way you can configure it to be much more customized to your users to what they want. Obviously, if you wanted to, say, bring in your internal documents for like any, like in internal definitions like that, you can do that too.

30:13 Um, so you have a lot more freedom or flexibility of what you can do with this tool in this, this current setup.

30:22 Okay, let's jump back to the slides for a sec and sort of wrap up into some, some more fun stuff.

30:30 Okay, so you've seen there's been a lot of Tableau MCP.

30:35 Which is all available for going query stuff on your Tableau Server, and– or Tableau Cloud environment, or Tableau Next. I remember hearing about this at DataFam Europe, so this was in, um, this was back in London in around December. We had Simon Jones come and talk about the AI capabilities for Tableau, saying, "Oh, we've got an MCP server for Tableau Server, Tableau Cloud, Tableau Next.

31:01 Wherever you are in the Tableau ecosystem, you can have an AI capability." And it got me thinking, "Well, well, no, there's one platform here that's definitely missing." Like, I even see, like, there's a gap here that could be filled.

31:18 And so it got me thinking of, "Well, let's go and build it." Uh, so I went to– went to Tableau Public, and I went and built them an MCP server to go and interact with Tableau Public.

31:30 So let's go have a look. So Tableau Public, an amazing set of resources that you can go and help you learn Tableau.

31:39 This is where I went and learned Tableau, really. You can go through the t- training and tutorials, but actually seeing some of the work on here really helps. So if I wanted to, say, make something like a, a small multiples chart, like before, I had never heard of it.

31:53 Uh,

31:55 so look here. I'm looking at small multiples. I've got these different dashboards coming back. I'm like, cool.

32:03 Uh, oof, how, how would I go about and build something like this? Like, this one's kind of cool, right?

32:11 Let's, let's go see, like, go and understand how to, how to build it. So if I wanted to, say, go and build this map, for example, if I want to do something like this, I'd have to go and download it. I'd have to go and download the Tableau workbook, and then I have to try and work out what on earth they're doing in this to make this dashboard happen.

32:32 Well, the thing is, I can actually now go and ask this MCP server what to do.

32:37 So what I've got set up, I can– Let's open up a new chat.

32:41 Let's connect up to our Tableau Public MCP server, uh, got there. So, all right, using examples,

32:51 Tableau Public.

32:53 Okay.

32:56 So sim- same principles of what we've been working on before.

33:00 What it's gonna do, it's gonna effectively do some API calls on our behalf to get some data coming back.

33:06 So we can see here, it's done a search visualizations tools. So it's looking for small multiples maps here.

33:13 And if I was to go and, say, go back to Tableau Public and search for that. Ooh, not super store KPIs.

33:20 Small multiples maps.

33:24 So effectively come back with these dashboards here.

33:28 Okay.

33:29 If I go back to Claude for a second, I can even see in the results there, I've got Michael McConnell, or I've got Florence as well.

33:39 So I can have a look at… Yeah, these are the ones coming up here as well.

33:44 Okay, so what it's going to do is go and check out those workbooks.

33:49 Ooh. Oh, we've already got stuff happening.

33:52 I'm n- I'm not quick enough for this.

33:54 So, okay.

33:57 What it will then do is look into the workbooks. It will then download the workbooks and unpackage them to go and ha- take a look at the structure, calculated fields, take an image of that. It's also got done, done a bit of a web search for us as well, which don't– we didn't really need.

34:13 And then it'll go and make us a little guide.

34:15 Okay.

34:16 That was a lot of text came up on screen, but we– let's walk through it. So it's given me a guide of how to make small multiple maps.

34:22 Um, this recommended approach of using these counts. So I really struggle to remember these counts of how to make this. Like, it's like a modular function than the square root of the size. It's…

34:36 Yeah. I always find myself trying to find, like, a blog post that has this.

34:40 Um, so now, yeah, those key formulas, easy to do. If you want to control the actual rows and columns, you can do that too, step-by-step or manual grid if you want to do, like, if-then logic as well.

34:55 So what I mentioned. Then it'll give me some formatting tips, look into how these calculations have gone on too as well.

35:03 Okay, cool. So that's, like, how you would go and get a guide for basically any sort of Tableau, uh, Tableau dashboard build. You can do more things as well. So if I particularly, like, wanted to go onto Tableau Public, I want to go and say, "Ah, this is, this is a cool Viz of the Day," I can go and take this dashboard, go jump into Claude,

35:25 start up a new chat. Let's turn… Yeah, we know what website should– web sheet should be on, and ask it how was this viz made.

35:36 And effectively, this will then go and do that reverse engineering work for you to understand what it is.

35:43 Um,

35:45 so usual thing, it'll go and check the workbook details. What this, uh, checks is, is this main one. So if you see Allow Data Access is true, that means it can be downloaded.

35:56 Uh, so then get the image, and it'll start downloading the workbook. So when it says unpack, uh, the TWBX, so Tableau Package Workbook is a TWBX file.

36:09 If you change the extension to a zip, like.zip, you can actually extract it. In that you'll get the underlying Tableau XML off from the TWB. You'll then get the data that's associated with it and any images that they have there too.

36:26 But here, effectively, if you wanted to say, you know, that there's been Iron Viz gone on, you've seen these great dashboards come out, you wanna know how they've been built or how in cases of how many worksheets they've used. I've, I've seen- I've seen upwards of 60 worksheets being used here and there, and several, several calculated field, shall we say.

36:46 Uh, it can do that. But here you can see it's doing things like finding the fixed level detail calcs as well.

36:52 Um, so yeah, lots of insight done for you on Tableau Public. I'm just trying to make this much easier for everyone to get access to this information on a, on a regular basis. So yeah, you can see there's image files coming back here as well.

37:12 So I- I've never looked at this dashboard, uh, before, before today, so I can see it's come from Kaggle.

37:18 Uh, one of the other things you can do is you can give it a data set and say, um, "How can you make this– I want to make this vis into this type of vis. How would I do it?" And then use examples and say how you can need to structure the data.

37:32 I've had it actually go and get me recommendations from Kaggle of what data sets I could use if I wanted to emulate, say, a type of business dashboard as well.

37:43 Lots of options for you to go and create more content for Tableau Public, build up your portfolio as well. Uh, but yeah, 20…

37:51 Just, uh, 20, 26 worksheets in, uh, nearly, nearly, um, nearly 60 calculated fields.

37:58 Um, so a little bit of prep going on here.

38:02 Um, parameters, key charts. So the body map there you might have seen, quite a fun one. A polygon chart. I don't think I've ever made one of those, so now I know how to do that. So it's got a embedded background image. That's cool.

38:15 Uh, and then timeline entry chart, how that's been made. Okay, so doing a bit of like a bit of maths here, a bit of trigonometry stuff from back in the day. Um, piece one chart, so that index is coming up as well. Uh, nice. And then FIXED LODs.

38:32 Okay. So lots of options for you to go and build cool stuff in Tableau.

38:38 You can also get this to go and build you a little portfolio website if you want to as well. So I can, I can show you a quick example of that at the end.

38:48 Um, but lots, lots of like interesting things here to help you go and progress with Tableau.

38:53 And this, again, is free to go and use.

38:56 Okay. Let's, let's finish up with the slides. You've all been very patient. I appreciate you. You've got a bit of…

39:03 If you, again, if you've got any questions, do let me know.

39:06 Um, oh, I didn't show you, didn't show you Langfuse. Sorry. Sorry about that.

39:11 So when we were here with our AI agent, uh, I was seeing this sort of back and forth Q&A bit. I have missed this, sorry.

39:20 Um, so I've got the responses coming back here. We had that error earlier as well. How would I know as a dashboard if I've deployed that agent? Well, something like Langfuse here is very helpful for understanding what's gone on with your LLM.

39:34 So here I can actually go and see the messages that have gone across. So I can actually go and have a look in here. So this effectively gives me the logs of everything that's going on in my, uh, in my API call. So here's our message. Hey, so anytime a user enters a message to the chat, you can get that response back. So if you saw that people were doing that ad hoc request for like customers, you'd be able to see that come back as well.

40:03 You then get to see the full length of the chat as well that goes on. Uh, so you can see what tools the model went and get– wanna use. So I can see here, yes, it used query data sources. I can see the model that's being used.

40:16 The, the token usage, the cost involved as well.

40:20 Um, you also get a nice overview here of everything in one place. So if any errors come up, they usually are flagged with like a little red icon. I can't see where our issue came back before. I think it was this one.

40:34 Let me see what went on here. I don't– I just don't think it used a… Got a response from the tool properly.

40:40 Uh, never mind. But here, effectively, I can see time taken, token usage, and then also the cost involved. So I'm using– I was just using ChatGPT 4.1, and I can actually go and see the cost involved that that's costing me to run those queries.

40:57 Not, not gonna break the bank anytime soon, uh, but just something to, you can keep your eye on, uh, with this.

41:04 Okay.

41:05 Thank you for being so patient. Let's give you some resources, and let's go and answer some quest- Okay, what criteria does it pick dashboard examples from the Q, Q&A? So yeah, really it's just trying to find like a search term from what you've said. So it, it all depends also on the search functionality of Tableau. Uh, I'll put that in the Q&A by accident, but I'm gonna share my resources in the chat too.

41:30 Um, so in terms of finding a search term, it's usually gonna find like a simple search term. The, the search on Tableau Public isn't…

41:39 It's reasonably good, uh, for coming up, but it's just largely gonna pick up those top few dashboards every single time. So you might want to be a bit more nuanced with the search, uh, when you ask it things, or if you've found a few dashboards you like the look of, you can just paste those in and it will use those, uh, for today. Um, folks, this is, this is what I had for you today.

42:00 Uh, here are a bunch of resources for you to go and use to go and help you, help you with your little journey into AI. So on the left is everything on Tableau MCP. So this was our chat functionality with Tableau data sources on a Tableau Server or cloud, or even on Next account.

42:20 This blog gives you a lot of resources in it. It also gives a lot of guidance on how to, uh, set this up, optimize this as well, or things to be considered of what you are, um, what you can do with that tool, say where if you want to go and customize it further.

42:36 Uh, also in particular, I want to search or share video guides here for how to set this up and, again, the environment variable set up, because they are here, there, and everywhere when it comes to setting this up. So I've got those, those there for you to do, a walkthrough. You can also get a version of the starter kits, which will do that dashboard extension for you.

42:56 I am planning an update for this starter kit coming up soon. You saw some of it just now.

43:01 Uh, but this is a way of showing you how you can go and get Tableau, like that chat with a data application in a Tableau dashboard for you.

43:10 On the right is Tableau Public MCP, which I've just released.

43:14 Um, so all that access to all the information of the Tableau community in one handy little AI tool for you to go and use there as well. So, um, yeah. Let… I can jump into some of the examples of this as well, if we've got a bit of time, but actually, yeah. Understand any, any viz that's on Tableau Public, s- so long as it's downloadable, um, and be able to find like different chart types.

43:40 But yeah, I can show you that quick, uh, one for getting, getting a viz. Um, so this is, this is what you have on the repo. There is also a, a video setup guide here as well they've put together for this.

43:54 Uh, but one thing I wanted to share with you was the examples. Yes. Very neatly put right at the bottom here.

44:03 So, um, so one thing I've been able to do, this is a set of examples that come with like little prompt templates for you to go and use.

44:10 So one example I had was making a job application, like a portfolio webpage, okay?

44:16 Put all this content on Tableau Public, I want those employers to go and see it.

44:21 Um, so let's get… Like, I can actually go and ask it to say, "Hey, I'm looking to apply for this job," and this article, which is job title.

44:31 Little template here for you to go and use. And I did this for… I found a job on LinkedIn, just thought, "Can I go and build a webpage for that?" And it, it built me this, uh, really nice little, little webpage for this. So, like, it gives me like little skill requirements. So what I did was I gave it, um, content for my LinkedIn profile, and then pointed it at my Tableau Public account so it could go and put the two together.

44:58 So it's got like a little, like, ideas of where I've been in terms of my career. Uh, but then it also brings in like some of the, the visualizations I've got, and this was one prompt to go and do. So if I didn't like it, I could change it, or if I wanted to bring a number of viz, I could do that too, yeah. So something cool you can go and do. Uh, say, there's, there's some examples here of like, how was this dashboard made as well, so you can get…

45:22 I gave you a very, like, simple prompt, just so of just to ask how it was made, but you can ask it a much more complicated thing, like the data structure, nuances, calcs it can work out for. So yeah, um, plenty here to go and work on. You know, if you wanna go and, uh, get into AI, uh, with Tableau, I've given you a few options here. Obviously, if you have any issues with this stuff, give me a shout.

45:46 I'm keen to make sure that this, this work gets, gets, like, proper attention, making sure it works for everyone who wants to go and use it.

45:53 Um, this is the blog. Let's go back to this screen so you can go and get those resources. So

46:01 cool, folks. Um, yeah, that's all I had for our session. You know, I will hang around if anyone has any questions.

46:07 Otherwise, um, yeah, I hope you all the best with your AI journeys. Obviously, if you wanna get in touch, please do, uh, but otherwise, yeah, um, have fun with this stuff.

46:18 Ravi Kumar N: Awesome. Uh, thank you so much, Will, uh, for sharing all these resources and, uh, this presentation. I think it, it would have definitely sparked a lot of interest for so many of us in exploring AI and how we can integrate this with, uh, Tableau.

46:32 Uh, like, if anybody has any questions, please, uh, feel free to ask them in the chat or the Q&A window.

46:41 And Will and our team has also shared all the resources on the chat, and there will be a recording available as well. So please check them out and try setting up the MCP kit, uh, based on the resources that Will shared, and I think it, it'll be really exciting to explore this.

47:00 Will Sutton: Yeah. I've, I've been having a lot of fun with this, I gotta say. So I have got a little project that I've been working on with getting Claude to go and play Pokemon, and trying to get it to connect to data sources, then go and, like, read from that, to try and get it to be better at playing Pokemon.

47:18 Uh, so there's a lot of fun to be had in this space, and it's very new territory. So yeah, if you're interested in this stuff, definitely get, get involved.

47:28 Ravi Kumar N: Absolutely. Thank you so much. Um, Ankur, Jacquelline, Devendra, like any, uh, thoughts and comments?

47:36 I think there's one question from Venkata, like, "Why don't we have capabilities like ThoughtSpot in Tableau Pulse or AI?"

47:46 Will Sutton: Uh, so hopefully I've covered that, like that, that this is kind of your equivalent version of that or what you can make with that, um, those capabilities. This is, this is all new stuff coming together. I know that, um, Tableau MCP will be coming natively to Cloud. Like you…

48:06 When you sign up for Tableau Cloud, you'll have a Tableau MCP server set up there with it in the dot two release coming up. That's, that's on the roadmap at the moment.

48:16 Uh, from there, I imagine that they will continue to integrate this MCP technology in with other capabilities in Tableau.

48:24 Um, yeah. Yeah, yeah. It's, uh, not too up to speed on what ThoughtSpot do thoroughly with their products, but this is effectively similar things that you can do, sort of chat with a data source applications with AI.

48:39 Ravi Kumar N: Perfect.

48:41 Thank you, Will. And there was another question on the YouTube channel. Yeah, I think Jacquelline has shared that, and we also have a Team DataFam YouTube channel, so please explore that.

48:52 Um, there's another question by Dorens, um, I think that was answered live, but, uh, are we running this inside Tableau or in Cloud?

49:01 Will Sutton: So this, um, so every time you saw…

49:05 Let's get them out here. So, or when we're in cl- when this, when we're in this, we're in Claude, what's happening is that Claude is then going to talk to my MCP server on my local machine, which is then talking to Tableau.

49:20 So Claude is effectively using the MCP to do an API call to Tableau. So this is all running in Claude, doing the directions there.

49:28 When we're doing this, I'm effectively hosting this chat. It's like a little webpage. So what you're doing is interacting with this, is then going to, which is locally on my machine, which is then going to effectively do what Claude is doing. So it's then going to go and call the MCP server on my machine, to then call, call, do an API call to Tableau.

49:52 Ravi Kumar N: Perfect. Thank you.

49:55 And then I, I was just trying to understand, like, I think the example that you gave, like how does it pick the dashboard examples? Just on views and keywords? But yeah, I think I… Depends on the search as well, keywords on the Tableau Public.

50:08 Will Sutton: Yeah. So if you… In the Tableau Public side, I'm not entirely sure what it's gonna come back with sometimes.

50:14 Ravi Kumar N: Yeah.

50:15 Will Sutton: It's just, it's gonna try and find like a typical search term that you would probably put in for that. Maybe not, not too many words or anything like that. Um, obviously, yeah, if you know what you're after, that always helps. But yeah, it's gonna… Say if I, I, if I would say just asked for small multiples, it would just search, search for small multiples.

50:34 I've done radial bar charts before, I get radial bar, you know, that sort of thing.

50:38 Ravi Kumar N: Right.

50:39 Will Sutton: So, uh, I can't, I can't… Not sure how, how I would guide that a bit more unless there's, um, any information on Tableau Public search functionality that I can use.

50:52 Um, I will say with Tableau Public MCP, so this public MCP server, this all realistically depends on, uh, this, the Tableau Public API documentation.

51:08 So this is documentation I put together six years ago, which is nuts.

51:13 Uh, effectively here you have all those APIs to go and connect to Tableau Public, uh, to get information back. So if you wanna know your profile information or what workbooks. The crucial one for this was this option here for downloading a workbook, which allows us to understand how it's, how it's put together.

51:31 Uh, there have been a lot of projects that have been made with the public API here that I've seen. I've, I, I set, stopped keeping track I can say about four years ago, four or five years ago.

51:42 Um, but I've seen other tools where some people have gone and say, taken this and got it to go and roast a Tableau Public profile, which has been fun. So, if you wanna go and do that sort of thing, you can.

51:54 Uh, we might, yeah, if we had time we could have a look with the MCP server to do that.

52:01 I know we're at time, so if anyone has any questions, otherwise we can have a, um, have a go with that.

52:08 Uh, right.

52:11 There we go.

52:12 So this is just purely for, for, purely for amusement's sake. Uh, if anyone has any, like, real questions or, uh, anything they want to go through, just, uh, do ask.

52:25 I know we're coming up on time, so.

52:27 Ravi Kumar N: Yeah. But, but thank you so much, Will. I think all the questions were answered.

52:36 Will Sutton: So yeah, I built an addiction, it says. What's the point of Herbert at this stage?

52:42 It's a surveillance operation.

52:47 And yeah, he's left book one on his plate in Burnie Louvre. Yeah. So it's actually quite good. So there we go, folks.

53:00 Right, I'll stop sharing now.

53:02 Ravi Kumar N: That was very interesting.

53:05 Thank you so much, Will. Um, I think we are right on time. If, uh, no one has any other questions, uh, thank you so much to all of you for joining us today. And, uh, this was very insightful, Will, so thank you so much, and we really appreciate your time, and this was really exciting for all of us.

53:23 Will Sutton: Great. Yeah, thanks for having me.

53:25 Ravi Kumar N: Perfect. Thank you so much everyone. Have a good rest of the day.

53:29 Ankur Napa: Bye everyone.

53:30 Jacquelline Antony: Thank you. Bye.

53:31 Ankur Napa: Bye.

53:32 Jacquelline Antony: Bye.

53:32 Ravi Kumar N: Thank you.

Shorts for this TUG

Leave a comment

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