Create views with Data explorer using natural language
You can now create views in books with the new Data explorer feature using natural language. The Data explorer feature uses generative AI to analyze your query and matches it to the relevant data in TM1 to recommend views. An explanation for the logic behind the recommendation accompanies each recommended view. You can make changes to the view and add it to the book or insert it as-is.
- Analyze cube
- For Data explorer to recommend views, you need analyzed cubes. Cube analysis takes place in the modeling workbench, which allows AI to review the structure of a cube and understand the data.
- Submit query
- Once cube analysis is complete, you can go to a book and enter your query in the Data explorer to get recommended views.
Prerequisites
- CubeSecurity
- }CubeAttributes
- }DimensionAttributes
- }ElementAttributes_<dim> (For each dimension in the cube)
- }SubsetAttributes_<dim> (For each dimension in the cube)
- DimensionSecurity
- }Cubes
- }CubeAttributes
- }Dimensions
- }DimensionAttributes
- }ElementAttributes_<dim> (for each dimension in the cube)
- }SubsetAttributes_<dim> (for each dimension in the cube)
- }Subsets_<dim> (for each dimension in the cube)
Creating views in Data explorer
- In the modeling workbench data tree, go to the cube that you want to analyze.
- From the cube's menu, click and click Analyze.Note: You can check the status of a cube analysis by clicking AI operations > Analyze log.
- After the cube analysis completes, go to the book where you want to create the view.
- Click AI operations and select Data explorer.
- Select the database and analyzed cube with the data that you want to use to create a view.
Note: If you choose Auto-select for the analyzed cube, the most relevant cube is automatically selected to create a view, based on your query.
- Enter your query in natural language. For example, you can enter Show me sales performance trends over the last year or Show me 2024 sales of mobile devices in north america.
- Click Submit.
A view generates along with an explanation for the recommended view and the cube chosen to generate the view. You can add the view to the book in edit mode.
You can also make certain changes to the view such as switch rows and columns, move dimensions to the context area, edit the set, and change levels.
If there are other analyzed cubes with data that match your query, they are listed next to Alternative cubes. Click an alternative cube to see a recommended view from that cube.
AI-generated views
The Data explorer feature uses granite-3-8b-instruct from the Granite family of IBM foundation models to create the view and the explanation of its recommendation.
The Granite models are decoder-only models that can efficiently predict and generate language. These models were built with trusted data that has the following characteristics:- Sourced from quality data sets in domains such as finance (SEC Filings), law (Free Law), technology (Stack Exchange), science (arXiv, DeepMind Mathematics), literature (Project Gutenberg (PG-19)), and more.
- Compliant with rigorous IBM data clearance and governance standards.
- Scrubbed of hate, abuse, and profanity, data duplication, and blocklisted URLs, among other things.