thinkwise-software-factory-cubes

Creates and maintains analytical cubes, cube fields, and cube views in Thinkwise Software Factory models.

5|Updated Aug 25, 2026
One-click install
npx skills add https://github.com/rkortThinkwise/sf-mcp-skills-temp --skill thinkwise-software-factory-cubes-rkortthinkwise
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: thinkwise-software-factory-cubes
Source: https://github.com/rkortThinkwise/sf-mcp-skills-temp/tree/main/thinkwise-software-factory-cubes
Command: npx skills add https://github.com/rkortThinkwise/sf-mcp-skills-temp --skill thinkwise-software-factory-cubes-rkortthinkwise

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Designing analytical pivot and chart views in a Thinkwise Software Factory model requires navigating a large family of interdependent entities (cube, cube_field, cube_view, cube_view_field, filters, totals, conditional layouts, role rights) plus judgment calls about grain, additivity, and whether a cube is even the right tool. This Skill provides the confirmed entity schema, live-verified API quirks, and analytical design guidance needed to build correct cubes through an MCP connector. ## Core Features & Use Cases - Cube and field modeling: Create cubes and classify fields as dimensions or values, with aggregation types, intervals, hierarchies via cube_field_grp_id, and calculated fields through per-RDBMS cube_field_query expressions. - Cube view configuration: Place fields into filter/category/series/value areas, set totals, sorting, Top-X, chart types, constant lines, conditional layouts, and view groups. - Rights and variants: Configure per-role cube and cube-field rights, editable values with their six preconditions, and per-table-variant cube overrides. - Use Case: A user asks to build a sales analysis pivot showing revenue by region and quarter with drill-down. The Skill guides grain validation, dimension/value classification, hierarchy placement in ancestor-to-leaf order, and verified workarounds like patching cube_area directly instead of calling the drag-drop task. ## Quick Start Ask Claude to create a cube on a specific table in your Software Factory model with dimensions, values, and a default pivot view, and it will apply this Skill's guidance.

Frequently Asked Questions about thinkwise-software-factory-cubes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a cube in Thinkwise Software Factory?

The documented path is task_enrichment_create_cube bound to the cube entity, but live testing showed it rejects staging against a not-yet-existing cube key. The reliable fallback is a plain add of the cube row with model_id, branch_id, cube_id, and description, then building cube_field rows individually.

How do I build a dimension hierarchy in a Thinkwise cube view?

Set the child cube_field's cube_field_grp_id to the parent field's cube_field_id to establish the parent-child identity. Then place every hierarchy level as its own cube_view_field row in the same area, ancestor-to-leaf, since the grouping alone does not render nested rows.

When should I use a cube versus a grid or report in Thinkwise?

Use a cube when users repeatedly rearrange, drill, and slice operational data. Prefer a Grid or Form for record editing, a report for pixel-perfect documents, fixed tiles for a few KPIs, and Power BI or Qlik via OData export for cross-system enterprise analytics.

Why is my Thinkwise cube field not editable in the pivot?

A pivot cell is editable only when all preconditions hold: update permission on the subject, the field is a value, the column is editable, summary_type is min, max, sum, or average, exactly one underlying row feeds the cell, and the role's editable right is granted.

Why does setting cube_area on cube_view_field silently fail?

The task_cube_view_field_area_drag_drop task takes no parameters and only backs the visual drag-drop panel, so patch cube_area directly instead. A combined write can silently drop the field, so set cube_area last among the properties and re-read the row to confirm it stuck.

Can I preview a cube view while modeling in the Software Factory?

No live preview exists in the Software Factory. The documented workaround is building the view once in the running application, then replicating that field arrangement back into the model; write-back from the app is a stated future direction, not shipped.