Retail Data and Analytics Toolkit
Everything you need to go from a messy sales export to a reporting-ready data model. Clean the file with Retail Data Cleaner, report on it with Retail KPI Pack, turn it into a SQL star schema with Star Schema Designer, then build the Power BI model and DAX measures with Power BI Model and DAX Helper. Built for analysts and small retail teams working from CSV or Excel exports. Four skills at one discounted price.
Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.
One payment, lifetime access. 4 skills unlock instantly in your library.
What's included
4 skillsBuild a Power BI model kit from a star schema or flat file: relationships, a DAX calendar table, Power Query M queries, and starter DAX measures (YoY, YTD, running total, moving average, ranking).
Cleans messy sales, orders and POS exports: mixed dates, Rs./PKR/$ prices, inconsistent city and category names, duplicates and bad rows. Returns a cleaned file plus a plain-English change report. Never touches your original.
Point your agent at a sales CSV or Excel file and get a KPI report with charts: revenue, orders, average order value, monthly growth, best-sellers, ABC/Pareto analysis, city and category splits, and repeat-customer rate.
Turn a flat sales CSV or Excel file into a star schema: fact and dimension tables with surrogate keys, plus ready-to-run DDL and load scripts for SQL Server, PostgreSQL or SQLite.
See it in action
Power BI Model & DAX Helper: Relationships and Measures
Example session with this skill installed
I have a star schema folder from my sales data. Build the Power BI model for me: the relationships, a calendar table, the Power Query imports and the main DAX measures.
- Read your context and instructions
- Compiled the power bi model
Summary
Read the star schema folder (fact_sales plus 4 dimensions) and wrote a Power BI kit with
15 DAX measures, 4 relationships, a calendar table, and Power Query import queries.
Relationships
| From (many) | To (one) | Cardinality | Filter direction |
|---|---|---|---|
| fact_sales[channel_key] | dim_channel[channel_key] | Many to one | Single |
| fact_sales[customer_key] | dim_customer[customer_key] | Many to one | Single |
| fact_sales[date_key] | dim_date[date_key] | Many to one | Single |
| fact_sales[product_key] | dim_product[product_key] | Many to one | Single |
Mark dim_date[date] as the date table, and hide the *_key columns in Report view.
Measures (sample)
- Revenue = SUM('fact_sales'[revenue])
- Orders = DISTINCTCOUNT('fact_sales'[order_id])
- Average per Order = DIVIDE([Revenue], [Orders])
- Revenue LY = CALCULATE([Revenue], SAMEPERIODLASTYEAR('dim_date'[date]))
- Revenue YoY % = DIVIDE([Revenue] - [Revenue LY], [Revenue LY])
- Revenue YTD = TOTALYTD([Revenue], 'dim_date'[date])
- Product Rank = RANKX(ALLSELECTED('dim_product'[product]), [Revenue], , DESC, Dense)
Also generated: Row Count, QTD, MTD, Running Total, 3-month Moving Avg, % of Total, Best Month Flag.
How to apply
- Transform data: paste each query from power_query.m
- Model view: create the relationships above
- New table: paste calendar.dax, then Mark as date table
- New measure: paste each measure from measures.dax
Caveat
This DAX is a starting point. Validate each measure against totals you trust before publishing a report.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads these skills and uses them on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle goes through our trust checks.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.