
sidebar.wechat

sidebar.feishu
sidebar.chooseYourWayToJoin

sidebar.scanToAddConsultant

If you want to take data analysis to the extreme, you need three components:
Each is strong on its own, combined they form a complete AI data analysis workflow.
This article is a hands-on tutorial, walking you through building this workflow from scratch, completing the full chain from data integration, intelligent analysis, report generation to team collaboration.
Before getting hands-on, understand what role each of these three components plays.

Qwen 3.6-Plus is the underlying power engine for this workflow. Its core value lies in:
For details on Qwen 3.6-Plus integration with AskTable, see AskTable First to Support Qwen 3.6-Plus.
AskTable is the data analysis and memory hub for this workflow. Its core value lies in:
For AskTable's Agent architecture design, see AskTable AI Agent Working Principles.
Claude Code is the unified interaction entry point for this workflow. Its core value lies in:
For integration details between Claude Code and AskTable, see Claude Code + AskTable Integration Guide.

The design philosophy of this architecture is: let each component do what it does best.
Next, let's build this workflow step by step.
Open your terminal and execute:
# Install AskTable CLI globally
npm i -g @datamini/asktable-cli
# Verify installation
asktable --version
asktable login
Follow the prompts to enter your AskTable account information. If you don't have an AskTable account yet, you can register on the official website first.
# Get AskTable Skill and install to Claude Code
asktable get-skill
This command will automatically install AskTable Skill into your Claude Code environment. After installation, you can directly use AskTable's data analysis capabilities in Claude Code.
In the AskTable backend, ensure you have selected Qwen 3.6-Plus as the underlying analysis model.
Go to AskTable settings page, select "Qwen 3.6-Plus" in "Model Configuration" and save.
If you haven't configured Qwen 3.6-Plus yet, reference AskTable First to Support Qwen 3.6-Plus to complete configuration.
asktable --version has output)asktable status shows connected)
The first step in data analysis is getting data in. AskTable supports 20+ data sources, covering almost all mainstream databases and file formats.
Using MySQL as an example, directly say in Claude Code:
Help me connect to the database:
- Type: MySQL
- Address: 192.168.1.100:3306
- Database: sales_db
- Username: analyst
- Password: your_password
AskTable Skill will call AskTable API to complete:
If you have local files:
Help me import this Excel file:
- File path: /Users/jeffrey/data/monthly_sales.xlsx
- Worksheet name: January
AskTable will automatically:
AskTable supports connecting multiple datasources simultaneously. You can:
List all datasources I'm currently connected to
AskTable will return something like:
📊 Currently Connected Datasources (3):
1. 🗄️ Sales Database (MySQL)
- Database: sales_db
- Table count: 12
- Status: Connected
- Last sync: 2026-04-05 10:30
2. 📄 Monthly Report (Excel)
- File: monthly_sales.xlsx
- Worksheets: 3
- Status: Imported
- Import time: 2026-04-05 09:15
3. 🔍 User Behavior Data (Elasticsearch)
- Index: user_behavior_*
- Document count: ~2.3M
- Status: Connected
- Last sync: 2026-04-05 08:00
Why complete data integration in Claude Code?
Traditional BI tools typically require you to manually configure connection parameters, select tables, and define relationships in a graphical interface. This process might be quick for those familiar with databases, but creates a high barrier for business people.
Describing requirements in natural language in Claude Code, AskTable Skill automatically converts to configuration operations. This lowers the barrier to data integration, allowing more people to participate in data analysis.
After data integration is complete, you can start analyzing. AskTable's three-channel analysis engine automatically selects the optimal path based on question type.

When you ask a question that can be answered directly with SQL, AskTable takes the Text-to-SQL channel:
What were the sales and profit for each product line last month?
AskTable will:
SQL generated by Qwen 3.6-Plus similar to:
SELECT
p.category_name AS 产品线,
SUM(o.amount) AS 销售额,
SUM(o.profit) AS 利润,
ROUND(SUM(o.profit) / SUM(o.amount) * 100, 1) AS 利润率
FROM orders o
JOIN products p ON o.product_id = p.id
WHERE o.order_date >= '2026-03-01'
AND o.order_date < '2026-04-01'
GROUP BY p.category_name
ORDER BY 销售额 DESC;
Return results similar to:
📊 2026 March Sales Data by Product Line:
┌──────────────┬────────────┬────────────┬──────────┐
│ Product Line │ Sales(10K) │ Profit(10K)│ Margin │
├──────────────┼────────────┼────────────┼──────────┤
│ Electronics │ 2,340 │ 468 │ 20.0% │
│ Apparel │ 1,856 │ 557 │ 30.0% │
│ Home & Living│ 1,230 │ 246 │ 20.0% │
│ Food & Bev │ 980 │ 147 │ 15.0% │
└──────────────┴────────────┴────────────┴──────────┘
💡 Insight: Apparel has highest profit margin (30%), electronics has highest sales but moderate margin.
Qwen 3.6-Plus advantages in Text-to-SQL:
When problems involve statistical analysis, machine learning, or complex calculations, AskTable switches to Text-to-Python channel:
Help me analyze the month-over-month trend of sales over the past 6 months, and predict the possible range for next month
AskTable will:
Python code framework generated by Qwen 3.6-Plus:
import pandas as pd
import numpy as np
from statsmodels.tsa.arima.model import ARIMA
import matplotlib.pyplot as plt
# Read data
df = pd.read_sql(query, connection)
df['month'] = pd.to_datetime(df['month'])
df = df.sort_values('month')
# Calculate month-over-month growth
df['mom_change'] = df['sales'].pct_change() * 100
# ARIMA prediction
model = ARIMA(df['sales'], order=(1, 1, 1))
results = model.fit()
forecast = results.forecast(steps=1)
# Output results
print(f"Next month predicted sales: {forecast.values[0]:.0f} (10K)")
print(f"95% Confidence interval: {results.get_forecast().conf_int().iloc[0].values}")
This complex analysis that would normally take 30 minutes to 1 hour manually. In AskTable, you just need one sentence.
When you need to generate interactive charts or dashboards, AskTable takes the Text-to-JS channel:
Generate an interactive bar chart from the above analysis results, with month filter support
AskTable will:
Three-channel design considerations:
AskTable automatically selects the most suitable channel for your question, but you can also specify manually.
Data analysis rarely succeeds in one shot. You can continue asking based on results:
How much did electronics sales drop in March compared to February? What are the main reasons?
AskTable will:
For Canvas Agent collaborative analysis mode, see AskTable Canvas Agent Collaborative Analysis.
This is the core capability that distinguishes AskTable from traditional BI tools - the Agent remembers you.
, but sales MoM down 12%
- Electronics highest sales (23.4M), down 5.3%
## Detailed Analysis
...
## Key Findings
...
## Suggestions
...
AskTable's team collaboration capabilities at several levels:
Shared Agent Memory
Shared Skill Configuration
Collaborative Analysis Canvas
For Canvas's detailed features, see AskTable Canvas Agent Collaborative Analysis.
In addition to built-in skills, you can create custom skills:
Help me create a "Competitor Price Monitoring" skill:
- Data source: competitor_prices table
- Monitoring metric: price changes exceeding 5%
- Output format: table + trend chart
AskTable will:
After creation, you can invoke anytime:
Activate competitor price monitoring and see if there were any price changes this week
AskTable supports cross-datasource associative analysis:
Compare order data from the sales database with budget data in Excel, and see how each department's expense execution is performing
AskTable will:
You can set scheduled tasks:
Every day at 9 AM, automatically check yesterday's sales data and notify me if there are anomalous fluctuations
AskTable will:
In Claude Code, you can not only invoke AskTable for data analysis, but also:
This "AI analysis + AI interpretation" dual-engine mode is impossible for traditional BI tools.
Let's do the math.
Traditional BI Analysis Process:
| Step | Labor | Time | Cost (at 500 yuan/day) |
|---|---|---|---|
| Understanding requirements | Business analyst | 0.5 day | 250 yuan |
| Writing SQL to fetch data | Data engineer | 1 day | 500 yuan |
| Data cleaning | Data engineer | 0.5 day | 250 yuan |
| Analysis modeling | Data analyst | 1 day | 500 yuan |
| Making charts | Data analyst | 0.5 day | 250 yuan |
| Writing report | Business analyst | 1 day | 500 yuan |
| Total | 3 people | 4.5 days | 2,250 yuan |
AI Analysis Process (Qwen 3.6-Plus + AskTable + Claude Code):
| Step | Time | Token Consumption | Cost (estimated) |
|---|---|---|---|
| Natural language requirements | 1 min | ~200 tokens | ~0.01 yuan |
| SQL generation + execution | 10 sec | ~500 tokens | ~0.03 yuan |
| Analysis modeling | 30 sec | ~1,000 tokens | ~0.05 yuan |
| Chart generation | 10 sec | ~300 tokens | ~0.02 yuan |
| Report generation | 30 sec | ~2,000 tokens | ~0.10 yuan |
| Total | ~2 min | ~4,000 tokens | ~0.21 yuan |
Cost Comparison:
Of course, this comparison is idealized. Actual use还需要考虑:
But undeniably, AI data analysis's marginal cost is extremely low. Once the workflow is built, the cost of each analysis is almost negligible.
What's more worth thinking about isn't the cost of single analysis, but the change in analysis frequency:
This is the real value of AI data analysis workflow.
Let's estimate long-term costs with a more realistic scenario:
Scenario: A 50-person medium-sized team needs to complete ~100 data analysis tasks monthly
| Dimension | Traditional BI | AI Workflow |
|---|---|---|
| Labor configuration | 3 data analysts + 1 data engineer | 1 business person (self-service) |
| Monthly labor cost | ~60,000 yuan | ~15,000 yuan |
| Tool cost | ~5,000 yuan (BI license) | ~3,000 yuan (AskTable + Claude Code) |
| Model cost | - | ~500 yuan (Token consumption) |
| Analysis output | ~80 times/month (labor bottleneck) | ~300+ times/month (on-demand) |
| Average response time | 1-3 days | 2-5 minutes |
| Monthly total cost | ~65,000 yuan | ~18,500 yuan |
AI workflow not only reduces cost by over 70%, but more importantly analysis frequency increased by nearly 4x. This means more questions can receive timely data support, and decision quality will improve accordingly.
The reason Qwen 3.6-Plus + AskTable + Claude Code is powerful isn't because individual components are amazing, but because:
The three combine to form a complete chain from data to insight.

sidebar.noProgrammingNeeded
sidebar.startFreeTrial