The integration of e-commerce platforms like Shopify with business intelligence (BI) tools such as Microsoft Power BI is transforming how online retailers leverage their data. This guide explores how to connect Shopify – one of the world’s leading e-commerce platforms – with Power BI, unlocking real-time analytics, automated reporting, and data-driven decision-making for your online business.
What is Shopify?
Shopify is a comprehensive, cloud-based e-commerce platform that powers over 4 million online stores worldwide. It covers everything from product management, inventory tracking, and order processing to payment processing, shipping, and marketing.
The platform is known for its user-friendly interface, extensive app marketplace with over 8,000 apps, and robust API that enables seamless integrations. Shopify serves businesses of all sizes, from small startups to enterprise brands processing millions in revenue.
What is Power BI?
Power BI is Microsoft’s business analytics platform designed to help organizations visualize data, build interactive dashboards, and share insights across teams. The platform integrates seamlessly with the Microsoft ecosystem and supports connections to hundreds of data sources.
Why integrate Shopify with Power BI?
A Shopify to Power BI integration allows e-commerce businesses to turn raw sales data into actionable insights. By connecting Shopify to a BI tool, organizations gain:
- Real-time dashboards with up-to-date sales, inventory, and customer KPIs
- Automated e-commerce reporting for daily sales, product performance, and customer behavior
- The ability to blend Shopify data with other business systems like advertising platforms, email marketing, and accounting software
- Improved decision-making through interactive analytics and trend identification
Companies that move beyond Shopify’s basic reports and spreadsheets often experience faster insights into customer behavior, better inventory management, and more effective marketing spend allocation.
Integration methods: how do you connect Shopify to Power BI?
There’s no native Power BI connector for Shopify, so you’ll need a third-party solution. Each approach involves tradeoffs between setup complexity, data freshness, cost, and maintenance burden.
| Feature | Manual CSV Export | Direct API / Custom Scripts | Third-Party Connectors | Via Peliqan |
|---|---|---|---|---|
| Setup Complexity | Low | Very High | Medium | Low |
| Technical Skills Required | None | Developer Required | Moderate | Medium |
| Data Freshness | Stale (Manual) | Near Real-time | Scheduled (15min+) | Automated Sync |
| Historical Data | Limited | Full (if built) | Varies | Full + SCD Type 2 |
| Multi-Source Blending | Manual | Complex | Limited | Built-in (SQL JOINs) |
| Maintenance Burden | High (repetitive) | Very High | Medium | Minimal |
| Data Transformation | In Power BI | Custom Code | Limited | SQL/Python in Platform |
| Reverse ETL to Shopify | No | Custom Build | Rarely | Yes |
For most e-commerce organizations, a warehouse-based approach offers the best balance of scalability and reliability. Peliqan’s Shopify to Power BI integration provides fast setup, built-in data modeling, and automated sync between Shopify and Power BI – all without complex ETL pipelines or coding.
Step-by-step: Shopify to Power BI integration with Peliqan
This comprehensive guide walks you through connecting Shopify to Power BI using Peliqan. Most organizations complete this setup in under 3 hours and begin visualizing data immediately.
Phase 1: Preparation (15-30 minutes)
What you’ll need:
- An active Shopify store (any plan)
- Admin access to your Shopify store
- Power BI Desktop installed on your computer (download free from Microsoft)
- A Peliqan account – start your free trial at peliqan.io
Before you start:
- Make a list of key metrics you want to track (revenue, orders, top products, customer segments, etc.)
- Identify which Shopify data you need (orders, customers, products, inventory, discounts, etc.)
- Determine your reporting frequency needs (hourly, daily, weekly)
- Ensure you have proper admin permissions in Shopify
Pro tip: If you’re managing multiple Shopify stores or working as a Shopify partner, consider exploring Peliqan’s partner program for additional benefits and support.
Phase 2: Setting up Peliqan (30-45 minutes)
Step 1: Create your Peliqan account
- Visit Peliqan’s website
- Click “Start Free Trial”
- Enter your business details (company name, email, region)
- Verify your email address
- Log in to your new Peliqan workspace
Peliqan offers a fully-featured free trial with no credit card required, allowing you to test the complete Shopify to Power BI integration before committing.
Step 2: Connect Shopify to Peliqan
Peliqan’s Shopify connector makes connecting your e-commerce store simple and secure:
- Navigate to Connections: In your Peliqan dashboard, click on “Connections” in the left sidebar
- Select Shopify: Click “Add Connection” and choose “Shopify” from the list of 250+ available connectors
- Start OAuth Connection: Click “Connect Shopify” to begin the secure authentication flow
- Authenticate: You’ll be redirected to your Shopify admin – sign in with your credentials
- Authorize Access: Grant Peliqan permission to access your Shopify data (read-only by default)
- Configure Basic Settings:
- Starting Date: Choose how far back to sync historical data (e.g., last 6 months, 1 year, 2 years)
- Sync Frequency: Select how often to refresh data (every 6 hours, daily, etc.)
- Store: Confirm your store URL
Pro tip: Start with the most recent 1 year of data for your initial setup. This reduces sync time and allows you to test the integration quickly. You can always extend the historical period later.
Step 3: Select Shopify data to sync
Peliqan automatically detects all available Shopify data objects. Choose the ones relevant to your reporting needs:
Core Sales Data:
- Orders – Complete order information including line items
- Products – Product catalog with variants and pricing
- Customers – Customer profiles and contact information
Financial Data:
- Transactions – Payment and refund transactions
- Discounts – Discount codes and their usage
Inventory & Operations:
- Inventory levels – Stock quantities by location
- Fulfillments – Shipping and fulfillment details
Marketing Data:
- Abandoned checkouts – Incomplete purchases
- Collections – Product groupings
Raw Shopify data often requires transformation before it’s useful for Power BI analysis. Use Peliqan’s SQL editor to create prepared views. For example, a customer analytics view might join orders and customers:
SELECT c.id as customer_id, c.email, c.city, c.country, COUNT(DISTINCT o.id) as total_orders, SUM(o.total_price) as lifetime_value, MIN(o.created_at) as first_order_date, MAX(o.created_at) as last_order_date, DATEDIFF(day, MIN(o.created_at), MAX(o.created_at)) as customer_tenure_days FROM shopify_customers c LEFT JOIN shopify_orders o ON c.id = o.customer_id WHERE o.financial_status = 'paid' GROUP BY c.id, c.email, c.city, c.country
Why Peliqan stands out: Unlike basic connectors, Peliqan understands Shopify’s relational structure and automatically flattens nested data for easy analysis in Power BI. This saves hours of manual transformation work.
Phase 3: Data configuration in Peliqan (30-45 minutes)
Step 1: Choose your data warehouse
Peliqan offers flexible data warehouse options:
Option 1: Peliqan built-in data warehouse (recommended for getting started)
- Zero configuration required – automatically provisioned
- Optimized for analytics queries
- PostgreSQL-based for wide compatibility
- Included in all Peliqan plans
- Perfect for small to medium datasets (up to several GB)
Option 2: Bring your own data warehouse
- Snowflake – Best for enterprise-scale analytics
- Google BigQuery – Excellent for Google Cloud users
- Microsoft Fabric/Synapse – Ideal for Microsoft ecosystem
- Amazon Redshift – Great for AWS environments
- ClickHouse – Ultra-fast for large-scale analytics
For most users starting out, the Peliqan built-in data warehouse is perfect. It’s pre-configured, requires no setup, and works seamlessly with Power BI.
Step 2: Configure sync settings
Peliqan intelligently manages Shopify’s API rate limits while maximizing data freshness:
Sync frequency options:
- Every 6 hours (Default) – Balances freshness with API limits
- Every 3 hours – For more time-sensitive data
- Daily – For historical analysis where real-time isn’t critical
- Custom schedule – Define specific times (e.g., overnight only)
Data optimization settings:
- Incremental Sync: Peliqan only syncs changed records after the initial load, dramatically reducing sync time
- Smart Pagination: Automatically handles large datasets by fetching data in optimized batches
- Automatic Retries: If a sync fails, Peliqan automatically retries with exponential backoff
- Historical Tracking: Optionally enable SCD Type 2 tables to track how records change over time
Click “Start Sync” and Peliqan will begin extracting your Shopify data. You can monitor sync progress in real-time from the Peliqan dashboard. Once complete, you’ll see all your Shopify tables ready for exploration.
Phase 4: Connect Power BI to Peliqan (30-45 minutes)
Now that your Shopify data is in Peliqan’s data warehouse, connecting Power BI is straightforward:
Step 1: Get Peliqan connection credentials
- In Peliqan, navigate to “Data Warehouse” in the left sidebar
- Click on “Connection Details”
- Copy the following information:
- Server/Host: db.eu.peliqan.io (for EU) or db.us.peliqan.io (for US)
- Database name: Your workspace name (e.g., yourcompany-prod)
- Username & Password
- Port: 5432 (PostgreSQL default)
Step 2: Open Power BI Desktop
- Launch Power BI Desktop on your computer
- If you don’t have it installed, download it free from Microsoft
- Click on “Get Data” in the Home ribbon
- Select “More…” to see all data sources
Step 3: Configure PostgreSQL connection
Since Peliqan’s built-in warehouse uses PostgreSQL (the most compatible database for BI tools):
- In the data sources list, search for “PostgreSQL”
- Click “Connect”
- Enter the connection details:
- Server: db.eu.peliqan.io (or your regional server)
- Database: Your Peliqan workspace name
- Select “DirectQuery” or “Import” mode:
- Import (Recommended): Faster dashboard performance, scheduled refresh, works offline
- DirectQuery: Real-time data, no storage limits, but slower performance
- Click “OK”
Step 4: Authenticate
- Select “Database” as the authentication method
- Enter your Peliqan username and password
- Check “Use Encrypted Connection (SSL)”
- Click “Connect”
Power BI will establish a secure connection to your Peliqan data warehouse containing all your Shopify data.
Step 5: Select your Shopify tables
The Navigator window will display all available tables. You’ll see:
Shopify source tables (prefixed with your Shopify connection name):
- shopify_orders (order headers)
- shopify_line_items (order line items)
- shopify_products (product catalog)
- shopify_customers (customer data)
- shopify_transactions (payments and refunds)
Transformed tables (if you created any in Peliqan):
- Custom views and aggregations you built
- Star schema fact/dimension tables
Selection strategy:
For your first dashboard, start simple:
- Select 3-5 core tables that support your primary use case (e.g., for a Sales Dashboard: orders, line_items, products, customers)
- Preview the data by clicking each table – verify columns and data quality
- Click “Load” to import the selected tables into Power BI
Peliqan advantage: All foreign key relationships from Shopify are automatically preserved in Peliqan, and Power BI will auto-detect most relationships. This saves significant time compared to manual relationship configuration.
Phase 5: Build your first dashboard (60-90 minutes)
Now comes the exciting part – creating visualizations! Here’s a starter dashboard that demonstrates common Shopify analytics:
E-commerce overview dashboard
Define DAX measures for your core metrics. Essential e-commerce measures include:
Total Revenue = SUM(orders[total_price]) Average Order Value = DIVIDE([Total Revenue], DISTINCTCOUNT(orders[id])) Customer Count = DISTINCTCOUNT(orders[customer_id]) Repeat Customer Rate = DIVIDE( CALCULATE(DISTINCTCOUNT(orders[customer_id]), FILTER(orders, orders[order_count] > 1)), [Customer Count]
KPI cards (top of dashboard):
- Total Revenue: SUM(orders[total_price]) where financial_status = ‘paid’
- Total Orders: COUNT(orders[id]) where cancelled_at IS NULL
- Average Order Value: Total Revenue / Total Orders
- Conversion Rate: (Total Orders / Total Sessions) * 100 (if you integrate GA4)
Daily revenue trend:
- Visual: Line chart
- X-axis: orders[created_at] by day
- Y-axis: SUM(orders[total_price])
- Legend: orders[channel] to see revenue by sales channel
Top products by revenue:
- Visual: Bar chart
- Axis: products[title]
- Values: SUM(line_items[price] * line_items[quantity])
- Filter: Top 10 products
Revenue by customer location:
- Visual: Map visualization
- Location: customers[country]
- Size: SUM(orders[total_price])
- Color: COUNT(orders[id])
Popular SQL queries for Shopify
- Find top selling products – Get top selling products from Shopify data
- Find total orders by month – Get total orders by month
- Analyze revenue by customer location – Get revenue data by customer location from Shopify tables
- Average order value – Calculate the average order value for all transactions
Common challenges & solutions
Even with Peliqan simplifying the integration, you may encounter these common challenges:
1. API rate limits
Challenge: Shopify has API rate limits that can slow initial data loads, especially for stores with large order volumes.
How Peliqan solves this:
- Peliqan automatically throttles requests to stay within limits
- Intelligent batching optimizes the number of API calls needed
- Incremental sync ensures only changed data is fetched after the initial load
- You can prioritize critical data objects to sync first
2. Complex nested data structures
Challenge: Shopify’s API returns nested JSON with arrays (line items, fulfillments, transactions) that are difficult to work with in Power BI.
How Peliqan solves this:
- Automatically flattens nested structures into relational tables
- Preserves all relationships between orders, line items, and related entities
- Provides pre-built data models optimized for e-commerce analytics
- Star schema templates for optimal query performance
3. Multi-store scenarios
Challenge: Organizations with multiple Shopify stores (different brands, regions, or markets) need consolidated reporting with proper data isolation.
How Peliqan solves this:
- Connect multiple Shopify stores to a single Peliqan workspace
- Automatic store identifier tagging for all records
- Easy implementation of row-level security in Power BI
- Consolidated views alongside store-specific dashboards
Why choose Peliqan for Shopify to Power BI integration?
While there are multiple ways to connect Shopify and Power BI, Peliqan stands out for several reasons:
- 5-minute setup – Connect Shopify and start syncing data in minutes, not days
- Built-in data warehouse – No need to provision separate infrastructure
- Automatic data normalization – Shopify’s nested JSON is flattened automatically
- Rate limit management – Intelligent syncing that respects Shopify’s API limits
- Historical tracking – Optional SCD Type 2 tables for time-travel analysis
- Multi-source support – Combine Shopify with 250+ other data sources
- Enterprise security – SOC 2 Type II certified, GDPR compliant, ISO 27001 (in progress)
Conclusion
Integrating Shopify with Power BI transforms how e-commerce businesses leverage their sales data. By combining Shopify’s operational strength with Power BI’s analytical capabilities, retailers gain real-time visibility into sales performance, customer behavior, and inventory management – enabling faster, data-driven decisions.
With Peliqan’s Shopify to Power BI integration, you can complete the entire setup in under 3 hours – from connecting your Shopify store to publishing your first dashboard. The platform handles all the complexity of data extraction, transformation, and loading, while you focus on building insights that drive your business forward.
Whether you’re a small business looking to move beyond basic Shopify reports, or an enterprise with multiple stores seeking unified analytics, Peliqan provides the foundation for scalable, reliable e-commerce intelligence.



