Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 42 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 277 Oracle Analytics and AI News
- 54 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 19 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
How to use xmlquery in OBIEE column formula
Hello All,
I am using DB2 database and OBIEE 10g version for reporting.
I have below query giving be desired o/p.
select id,
xmlquery ('distinct-values($x//row)' passing xmlgroup (name) as "x")
from test
group by id
now I want to implement 'xmlquery ('distinct-values($x//row)' passing xmlgroup (name) as "x")' in OBIEE column formula.
Can someone provide i/ps how we can implement xmlquery in obiee column formula?
Any template or example of use of xmlquery in column formula will also help.
Answers
-
Hi,
XMLQUERY is a database function, OBIEE isn't aware of that function and will never do anything with it.
So you can use a direct database request (I guess it already existed in 10g, but as you use a 10+ years old tool ... difficult to be sure) or EVALUATE (assuming this one also existed at that time).
PS: not sure of the reasons to still use 10g as there is not any support anymore for it ...
0
