Skip to main content

Power BI Template for HubSpot

The RevOS Power BI template helps you visualize and analyze HubSpot deals, contacts, companies and deal pipelines. It comes with predefined relationships, measures and visuals tailored for deal analysis, and is a flexible starting point: you can add more data and build your own visuals on top of it.

Getting started: set up the connection​

Prerequisites​

Before using the template, make sure that:

  1. Power BI Desktop is installed on your computer.

  2. You have downloaded the template from its GitHub release page:

    Template file on the GitHub release page

  3. You have the service account e-mail, service account JSON key and dataset name. You find them in RevOS on the Integrations page.

    tip

    If you haven't connected Power BI or Microsoft Fabric yet, follow Connect Power BI first.

    Power BI credentials in RevOS

  4. Your HubSpot data includes the tables the template needs: deals, contacts, companies and deal pipelines.

tip

You are not limited to this data. The template is preconfigured with these tables, but you can always load more data to extend and customize your reports.

Step-by-step connection guide​

  1. Open the template
    • Launch Power BI Desktop.

      note

      Make sure you have the latest version of Power BI Desktop. An outdated version can cause compatibility issues, such as this warning:

      Report layout differences warning in Power BI Desktop

    • Open the RevOS HubSpot template file.

  2. Enter the dataset details — when the template opens, you'll be asked for:
    • Dataset Name: the name of your dataset.
    • HubSpot_UID: your unique HubSpot identifier.
  3. Provide the service account credentials
    • Enter the service account e-mail.
    • Enter the service account JSON key.
  4. Wait for the data to load
    • Connecting may take up to 15 minutes.
    • Loading the data can take longer, depending on the size of your data.
  5. Verify the connection
    • Check the imported tables and relationships to confirm the setup succeeded.

Using the template​

Semantic model overview​

The semantic model keeps relationships between tables consistent while keeping IDs unique in every table. This lets you extend it without compromising data integrity.

Central structure and connections​

  1. hubspot_deals is the central table
    • The hubspot_deals table links all other tables.
    • hubspot_companies and hubspot_contacts are connected through intermediate "connection" tables. This prevents duplicates and keeps company, contact and deal IDs unique in each table.
  2. hubspot_deals_pipelines is connected directly
    • Because of its structure, hubspot_deals_pipelines links directly to hubspot_deals without creating duplicates.
  3. A dates table for filtering
    • A dates table is built from the closedate property of hubspot_deals. It powers the dates filter on the report page for time-based filtering.

Semantic model of the template

Adding more data to the template​

  1. Open Get Data
    • In Power BI Desktop, select the Home tab in the ribbon.
    • Click Get Data, then More… to see the full list of data sources.
  2. Search for Google BigQuery
    • In the Get Data window, type "BigQuery" in the search bar.
    • Select Google BigQuery and click Connect.
  3. Sign in and browse the tables
    • Sign in with Service Account Login, using the same service account e-mail and JSON key as above (see Connect Power BI).
    • Power BI shows all tables available in your workspace (named after your dataset).
  4. Select and load tables
    • Pick the tables you want to add to your analysis and click Load.
tip

After importing tables, make sure they're connected to the semantic model. Use Power BI's Model view to create relationships between the new tables and the existing ones where needed.

Predefined visuals​

All visuals are interconnected: selecting something in a table or visual filters the rest of the page. Key visuals:

  • Dates filter: focus on the time period you need.
  • Net Revenue, Lost Amount and Pipeline Revenue metrics: key revenue figures at a glance.
  • New vs. Existing Business pie chart: the share of new and existing business deals.
  • Won vs. Lost Deals pie chart: the number of won and lost deals.
  • Deal Path to Success funnel: the journey of deals from the first stages to closing, including the success rate of closed deals.
  • Revenue Trends Over Time line chart: Net Revenue, Lost Amount and Pipeline Revenue over time.
  • Companies table: number of deals per company with their won/lost percentages.
  • Deals table: individual deals with contact information and current status.

Predefined visuals of the template

Practical use cases​

  1. Performance analysis
    • Identify your most profitable clients and top-performing companies.
    • Analyze the win rate to optimize your sales strategy.
  2. Revenue tracking
    • Monitor revenue trends and assess the impact of lost deals.
  3. Company-specific insights
    • Compare deal performance across companies.
    • Focus on high-priority clients with visual breakdowns.

Notes and troubleshooting​

  • Data refresh: refresh periodically to keep the data up to date.
  • Data not loading after 15 minutes: this is rare. Power BI notifies you about invalid data or table errors. If connecting takes more than 30 minutes:
    • check your internet connection;
    • make sure you're using the latest version of Power BI Desktop.

FAQ​

Can I modify the template after setup?​

Yes. You can customize visuals and measures to your needs, and load more data from your data source.

What HubSpot data can I add beyond the default tables?​

Any data available in your HubSpot account, such as marketing campaign performance, customer feedback or custom properties. Make sure the data structure fits Power BI's requirements.

What if my HubSpot data contains custom fields?​

The template's measures and visuals use default HubSpot properties. Custom properties aren't preconfigured, but once the template is connected to your data you can include your custom fields during the data import and use them in your visuals and measures.

How can I optimize performance for large datasets?​

Use DirectQuery instead of Import mode, limit the number of visuals per page, or apply filters to reduce the amount of data before importing it into Power BI.

Can I automate the data refresh?​

Yes, schedule automatic refreshes in Power BI Service. Make sure your data source credentials are configured there and up to date — see Connect a Power BI Service workspace.

Can I share the reports with my team?​

Yes. Publish them to your workspace in Power BI Service and make sure your team members have the right permissions and access to the data.

How do I keep data secure when sharing reports?​

Use row-level security (RLS) in Power BI to restrict what each user role sees. Don't share sensitive credentials like the JSON key directly with team members.