Using table function in OBIEE RPD (physical layer) and pass parameter from dashboard prompt to it

我怕爱的太早我们不能终老 提交于 2020-06-17 02:52:07

问题


I have a almost serious problem. Of course there have been some questions in the same concept of mine, but without any result for me, so I am forced to ask again in different words. (like: Passing parameters to stored procedure in OBIEE 12c rpd from OBIEE 12c dashboard or table function as physical table in Oracle BI EE )

To provide a report, I am supposed to use table function(means select * from table(valueof(NQ_SESSION.var .....)) in OBIEE physical layer, then pass value through dashboard prompt in order to update its specified session variable.

To achieve this matter, I have created a non-system session variable and named it as var. Then I have defined a physical object with 'select' table type in physical layer and put the specified SQL code (in above) in it (and have not done anything in logical layer), then a dashboard prompt is crated with a request variable (and is named with defined session variable's name, means var).

Now I receive error ( [nQSError: 27002] Near '<'var'>' Syntax error (HY000) ). It is worth mentioning that my made BI answer(analysis) works as alone but gets error when used in dashboard with dashboard prompt.

Dose anyone know where I am wrong?

Thanks


回答1:


I found that where and why I was wrong. The problem was around session variables which I had defined. The reason was that I had used reserved name (to and from) for my variables. I hope this experience be useful for others like me.



来源:https://stackoverflow.com/questions/62042892/using-table-function-in-obiee-rpd-physical-layer-and-pass-parameter-from-dashb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!