๐น 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 AIClick:
Create๐ Configure Cohere AI Service
Fill details like below:
| Setting | Value |
|---|---|
| AI Provider | Cohere |
| Name | cohere |
| Base URL | https://api.cohere.ai/v2 |
| AI Model | command-a-03-2025 |

๐ Add Credentials
Create credential with your Cohere API Key.
Example:
Bearer YOUR_API_KEY
๐ Step 2: Test AI Connection
Click:
Test ConnectionIf everything is correct:
โ Connection Successful
๐ Step 3: Create Interactive Report
Create a new page:
Interactive ReportUse 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 10Result:
โ AI automatically adds department filter.
๐ Sort Example
Order employees by salary descendingResult:
โ AI applies sorting automatically.
๐ Condition Example
Show employees who have managerResult:
โ 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.
Hi, Iโm Ankur Rai, an Oracle APEX Developer with 6+ years of professional experience in building enterprise applications. I specialize in creating scalable and efficient solutions using Oracle APEX, PL/SQL, and SQL to solve real-world business challenges.
I am a 3X Oracle APEX Professional Certified Developer and also an Oracle ACE Associate Member, actively contributing to the Oracle community by sharing knowledge, insights, and best practices. Through my blogs, I aim to help developers learn, grow, and build better Oracle APEX applications together.




is it possible to use local LLMs for this functionality?