How to Create an Expense Report in Tableau with AI

Cody Schneider••9 min read

Creating an expense report in Tableau transforms a tedious task into an opportunity for clear, visual insights. Instead of drowning in spreadsheets, you can build an interactive dashboard that shows you exactly where your money is going. This article will walk you through the process of building an expense report from scratch and show you how to leverage Tableau's AI features to make it even more powerful.

GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Why Bother Using Tableau for Expense Reports?

You might be wondering why you'd use a powerful business intelligence tool for something as straightforward as an expense report. The answer is that traditional methods, like passing spreadsheets back and forth, are slow, error-prone, and stuck in the past. They show you numbers, but they don't give you insights.

Dashboards in Tableau offer a few major advantages:

  • Visualization: A well-designed chart can reveal trends in spending that a table of numbers would completely hide. Is one department's travel budget spiraling? Is software spending creeping up month-over-month? You'll see it instantly.
  • Interactivity: Team leads can filter a single dashboard to see their team's expenses, and the finance department can view the whole company at once. Users can click on a category to see the individual line items without needing to request a separate report.
  • A Single Source of Truth: When the dashboard connects directly to your data source (like a Google Sheet or database), the report is always live and up-to-date. No more worrying about who has the latest version of the spreadsheet.
  • Drill-Down Capabilities: See a spike in "Office Supplies"? Click on that bar in the chart to immediately see the individual purchases that caused it. This kind of quick analysis is impossible with a static PDF or Excel file.

By moving your expense reporting into Tableau, you shift from simply logging costs to actively understanding and managing them.

Step 1: Get Your Data Ready

Tableau is powerful, but it relies on clean, organized data. You can't just throw a messy spreadsheet at it and expect a miracle. Before you even open Tableau, spend a few minutes preparing your data source. Your goal is a simple, structured table.

The Ideal Expense Data Structure

Your data should be organized in a table format where each row represents a single expense. Each column should represent a specific piece of information about that expense. Here's a solid template:

  • Expense ID: A unique identifier for each transaction (e.g., receipt number, invoice number).
  • Expense Date: The date the expense occurred. (Pro-tip: Make sure all dates are in the same format, like MM/DD/YYYY).
  • Employee Name: Who incurred the expense.
  • Department: The employee's department (e.g., Marketing, Sales, Engineering).
  • Expense Category: A standardized category. This is important! Avoid letting employees use free-text. Use a dropdown list with options like "Software," "Travel," "Meals & Entertainment," "Office Supplies," etc.
  • Amount: The total cost of the expense. (Make sure this is a number column, without any currency symbols like '$').
  • Description: A brief note about the expense (e.g., "Lunch with Client ABC," "Yearly Subscription for Figma").
  • Payment Method: How it was paid for (e.g., "Corporate Card," "Reimbursement").

Having a well-structured data source like a Google Sheet or an Excel workbook makes the entire dashboard-building process ten times easier.

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Step 2: Building Your Expense Dashboard in Tableau

With your clean data source ready, it's time to build the dashboard. We'll create a few simple charts and combine them into an interactive view.

Connecting to Your Data

First, open Tableau and connect to your data. On the start screen, under "Connect," choose the file type you're using. If your data is in Excel, select "Microsoft Excel." If it's in Google Sheets, choose "Google Sheets." Follow the prompts to select your file and open it. Tableau will show you a preview of your data, if it looks right, click the "Sheet 1" tab at the bottom to get started.

Chart 1: Total Expenses by Category

This is the most fundamental chart for any expense report. It shows you where the money is going in broad strokes.

  1. From the "Tables" list on the left, drag your "Expense Category" field and drop it onto the "Columns" shelf at the top of the workspace.
  2. Next, drag the "Amount" field and drop it onto the "Rows" shelf.
  3. Tableau will likely default to a bar chart, which is perfect. You can now see your total spending for each category.
  4. To make it easier to read, click the "Sort Descending" icon in the toolbar to order the bars from highest to lowest spending.

Just like that, you have a clear view of your top spending categories. Give this worksheet a name by double-clicking "Sheet 1" and renaming it "Expenses by Category."

Chart 2: Spending Trends Over Time

Next, let's see how spending fluctuates from month to month.

  1. Click the "New Worksheet" icon at the bottom (it looks like a small bar chart with a plus sign).
  2. Drag your "Expense Date" field to the "Columns" shelf. Tableau will probably default to showing the year. Right-click on the blue "YEAR(Expense Date)" pill and change it to "Month" (the second "Month" option, which shows the continuous date).
  3. Drag the "Amount" field to the "Rows" shelf.
  4. Tableau will automatically create a line chart showing your total expenses for each month.

Rename this sheet to "Monthly Trends." Now you can easily spot if there was a particularly expensive month and start asking why.

Chart 3: Key Performance Indicators (KPIs)

Sometimes you just need to see the big numbers right away. We can create simple text cards for this.

  1. Create another new worksheet and name it "KPIs."
  2. Drag your "Amount" field directly onto the "Text" box in the "Marks" card. This will show the total sum of all expenses.
  3. You can create another KPI by dragging the "Expense ID" field onto the Text box. Then right-click this new pill, go to "Measure," and select "Count (Distinct)" to see the total number of approved expenses. Feel free to edit the text directly to give these numbers labels like "Total Spend" and "Total Transactions."

Putting It All Together: Your First Dashboard

Now, let's combine these charts into a professional dashboard.

  1. Click the "New Dashboard" icon at the bottom.
  2. On the left, you'll see a list of your worksheets ("Expenses by Category," "Monthly Trends," "KPIs").
  3. Simply drag each worksheet onto the dashboard canvas. You can resize and arrange them however you like. A common layout is to place the KPIs at the top, with the larger charts below.
  4. The final trick: add a filter. Drag the "Department" field to the "Filters" shelf. In the pop-up, choose to "Use all," then click OK. Right-click the filter and select "Show Filter." You'll now have an interactive checklist on your dashboard that lets any user filter the entire view to see data for just their department.
GraphedGraphed

Build AI Agents for Marketing

Build virtual employees that run your go to market. Connect your data sources, deploy autonomous agents, and grow your company.

Watch Graphed demo video

Step 3: Supercharging Your Report with AI

Building the dashboard is a great start, but modern business intelligence includes powerful AI features that can automate your analysis. Here's how Tableau's AI tools can help you dig deeper with less effort.

Use "Ask Data" for Natural Language Queries

Tableau's "Ask Data" feature lets you ask questions about your data in plain English. Instead of dragging and dropping fields, you can simply type what you want to see. For example, in the "Ask Data" tab, you could type:

"What were the top 5 expenses for the marketing team last month?"

Tableau's AI will interpret your question and automatically generate the correct visualization. This is fantastic for quick, one-off questions that don't require building a whole new chart from scratch. It essentially turns you into a data analyst without needing to learn any technical skills.

Uncover the "Why" with "Explain Data"

Let's say you're looking at your "Monthly Trends" line chart and see a massive, unexpected spike in March. You could manually filter and dig through the data to find the cause, or you can let AI do it for you.

In your worksheet, simply click on the data point for March and then click the lightbulb icon that appears. This launches "Explain Data." Tableau's AI will analyze all the underlying data and give you possible explanations for the spike. It might identify things like, "The sum of Amount is higher than expected. This mark is primarily driven by 2 records in the Engineering department for the category 'Software' which contributed $15,000 to the total."

This feature is a game-changer. It automates much of the manual work typically associated with data analysis, moving you directly from "what happened?" to "why did it happen?"

Free PDF · the crash course

AI Agents for Marketing Crash Course

Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.

Predict Future Spending with Forecasting

Want to know how much you should budget for the next quarter? Tableau’s analytics pane can apply forecasting to your time series data.

Go back to your "Monthly Trends" worksheet. On the left side panel, click on the "Analytics" tab. From the list, drag "Forecast" onto your chart. Tableau will use statistical models to project your future expenses based on historical patterns, complete with a confidence interval. This transforms your expense report from a historical document into a forward-looking planning tool.

Final Thoughts

Moving your expense management into an interactive tool like Tableau gives you clear visibility into where your company's money is going. With a little setup, you transform static data into a dynamic dashboard that helps everyone make smarter spending decisions, and built-in AI tools can help explain anomalies without hours of manual investigation.

While Tableau's features are a huge leap from spreadsheets, we started Graphed to remove the setup friction entirely. Instead of connecting data and building charts worksheet by worksheet, you can just ask questions in plain English. Simply connect your accounting software or bank accounts, and then ask, "Show me a dashboard of our total expenses, broken down by category and department for the last quarter." Graphed instantly builds the full, interactive dashboard you need, so you can spend your time acting on insights, not figuring out how to build charts.

Related Articles