How to query data with sigma on Stripe
Stripe Sigma allows you to query your payment data using SQL through the Stripe Dashboard. You can create custom reports, analyze transaction patterns, and export data by writing SQL queries against your Stripe data warehouse.
Prerequisites
- Active Stripe account with Sigma access
- Basic understanding of SQL queries
- Access to Stripe Dashboard
- Familiarity with your Stripe data structure
Step-by-Step Instructions
Access Stripe Sigma
Choose or create a new query
Write your SQL query
charges, customers, subscriptions, and invoices. For example:SELECT created, amount, currency, status
FROM charges
WHERE created >= '2026-01-01'
ORDER BY created DESC
LIMIT 100Execute and review results
Filter and refine your query
GROUP BY and aggregation functions like SUM() or COUNT() for summary reports.Save and schedule your query
Export or visualize data
Common Issues & Troubleshooting
Query timeout errors
Reduce the date range or add more specific WHERE clauses to limit the dataset size. Consider using LIMIT statements and avoid complex JOINs on large tables.
Column not found errors
Check the schema browser for correct table and column names. Ensure you're using the right table aliases and that columns exist in your account's data structure.
No data returned from query
Verify your date filters match your account's data timeframe. Check that WHERE conditions aren't too restrictive and ensure your account has data for the specified period.
Sigma feature not available
Contact Stripe support to enable Sigma for your account. Feature availability depends on your account type and transaction volume. Some accounts may need to upgrade their plan.