πŸ€– AI Interactive Reports – NLP Based Reporting Without Data Leaks | Oracle APEX 26.1

πŸ€– AI Interactive Reports – NLP Based Reporting Without Data Leaks | Oracle APEX 26.1

πŸ”Ή About

Oracle APEX 26.1 introduces one of the most powerful new features for Interactive Reports:

βœ… AI-Powered Natural Language Reporting

Users can now interact with reports using simple English sentences like:

βœ” β€œShow employees from department 10”
βœ” β€œSort employees by salary descending”
βœ” β€œOnly show employees who have manager”

without writing filters manually.

The best part?

πŸ” Oracle APEX ensures AI-generated queries remain secure and controlled, helping avoid unnecessary data exposure.

In this blog, we will build an AI Interactive Report using:

  • Oracle APEX
  • Cohere AI
  • Interactive Reports
  • Generative AI Services

πŸš€ What We Will Build

We will create an Interactive Report on the EMP table where users can:

βœ… Ask questions in natural language
βœ… Apply filters automatically
βœ… Sort report data using AI
βœ… Use AI safely inside Oracle APEX


πŸ› οΈ Tools and Technologies

  • Oracle APEX 26.1
  • Cohere AI
  • Oracle Database
  • Interactive Reports
  • Natural Language Processing (NLP)

🎯 Why This Feature is Important

Normally users need to:

❌ Open Actions Menu
❌ Add Filters
❌ Add Sorting
❌ Configure Conditions

Now users can simply type:

Show all employees in department 10

and Oracle APEX automatically converts it into report filters.


πŸš€ Real-Time Example

Examples users can type:

Order employees by salary descending

Only show employees with managers

Show department 10 employees


πŸ” Security Benefit

Oracle APEX AI Interactive Reports are safer because:

βœ… AI only works within report context
βœ… Users cannot access unrelated tables
βœ… Queries remain controlled inside report metadata
βœ… Sensitive database structure is hidden

This helps reduce accidental data leaks.


πŸš€ Step 1: Create Generative AI Service

Go to:

Workspace Utilities
    β†’ Generative AI

Click:

Create

πŸ“Œ Configure Cohere AI Service

Fill details like below:

SettingValue
AI ProviderCohere
Namecohere
Base URLhttps://api.cohere.ai/v2
AI Modelcommand-a-03-2025

πŸ“Œ Add Credentials

Create credential with your Cohere API Key.

Example:

Bearer YOUR_API_KEY

πŸš€ Step 2: Test AI Connection

Click:

Test Connection

If everything is correct:

βœ… Connection Successful


πŸš€ Step 3: Create Interactive Report

Create a new page:

Interactive Report

Use EMP table.


πŸ“Œ Sample SQL Query

SELECT
    empno,
    ename,
    job,
    mgr,
    hiredate,
    sal,
    comm,
    deptno
FROM emp

πŸš€ Step 4: Enable AI Feature

Open Interactive Report Attributes.

Go to:

Attributes
    β†’ Generative AI

Enable:

βœ… Natural Language Support


πŸ“Œ Set Default Search Mode

Select:

Search with AI

πŸ“Œ Optional Settings

You can also enable:

βœ… Search Bar
βœ… Finder Drop Down
βœ… Reports Select List
βœ… Actions Menu

πŸ–ΌοΈ Final Output

πŸš€ Example Queries

Users can now type:


πŸ“Œ Filter Example

Show employees from department 10

Result:

βœ… AI automatically adds department filter.


πŸ“Œ Sort Example

Order employees by salary descending

Result:

βœ… AI applies sorting automatically.


πŸ“Œ Condition Example

Show employees who have manager

Result:

βœ… AI filters records where manager is not null.


πŸ” How Oracle APEX Prevents Data Leaks

Oracle APEX AI Reporting works only within:

βœ” Report SQL
βœ” Available columns
βœ” Report metadata

Users cannot:

❌ Access hidden tables
❌ Run arbitrary SQL
❌ Read database schema
❌ Execute backend commands

This makes AI reporting much safer for enterprise applications.


🎯 Benefits of AI Interactive Reports

βœ… Faster reporting
βœ… Better user experience
βœ… No technical knowledge required
βœ… Easy filtering and sorting
βœ… Modern AI-powered UI
βœ… Enterprise-grade security


πŸ“Œ Best Use Cases

This feature is extremely useful for:

βœ” HR Applications
βœ” ERP Systems
βœ” Finance Dashboards
βœ” Approval Systems
βœ” Customer Reports
βœ” Analytics Portals


⚠️ Important Notes

Before using AI Reports:

βœ… Configure AI provider properly
βœ… Restrict sensitive columns
βœ… Test report queries carefully
βœ… Use secure credentials


πŸš€ Why This Feature is a Game Changer

This feature brings:

βœ” AI + Low Code together
βœ” Natural language analytics
βœ” Better accessibility for non-technical users

Now business users can interact with reports naturally without learning report actions.


πŸŽ‰ Conclusion

AI Interactive Reports in Oracle APEX 26.1 are one of the most exciting new features for enterprise applications.

With minimal configuration, you can create:

βœ… NLP-based reporting
βœ… AI-powered filtering
βœ… Intelligent sorting
βœ… Secure AI experiences

all directly inside Oracle APEX.

This is a huge step toward intelligent low-code applications.

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *