Skip to main content

Peliqan

Shopify

Total revenue by day

SQL query for Shopify

Calculate total revenue generated each day.

SELECT DATE(created_at) AS day, SUM(total_price) AS total_revenue FROM Transactions GROUP BY day

Shopify data model

Shopify
Customers

Shopify
Products

Shopify
Events

Shopify
Abandoned Checkouts

Shopify
Inventory Items

Shopify
Inventory Levels

Shopify
Locations

Shopify
Orders

Shopify
Order Line Items

Shopify
Order Refunds

Shopify
Order Transactions

Shopify
Draft Orders

Shopify
Collections

Shopify
Collects

Shopify
Product Feeds

Shopify
Product Listings

Shopify
Product Variants

Shopify
Fulfillment Orders

Shopify
Transactions

Shopify
Metafields Customers

Shopify
Metafields Products

Shopify
Marketing Activities

Shopify
Marketing Events

Shopify
Metafields Collections

Shopify
Metafields Orders

Shopify
Metafields Shop

Shopify
Order Discounts

Shopify
Order Refunds Line Items

Shopify
Order Refund Transactions

Shopify
Order Shipping Lines

Ready to get instant access to all your company data ?​

Connect 300+ sources, serve any BI tool, and give every AI agent one governed endpoint to read, and write back where the app supports it.