如何从BRIO报告中提取基于报告的计算?

时间:2018-01-22 08:14:33

标签: javascript java reporting hyperion brio

如何从BRIO报告中提取基于报告的计算? 例如,多个请求

enter image description here

是否有可用于执行此任务的公共API?

输入代码以在查询后从“结果”部分中删除要隐藏的字段 完成处理。例如:

// Eliminate fields from the drill path
ActiveDocument.Sections["Results"].Columns["State"].Remove()
ActiveDocument.Sections["Results"].Columns["Date Ordered"].Remove()
5) Now select the OnPreProcess event and enter code to put the fields back into the Results
section just before processing the query. That way, any dependent computed items will be
properly refreshed. The corresponding code for the current example would be:
// Add the "hidden" fields so computed items can be recalced
ActiveDocument.Sections["Results"].Columns.Add("Date Ordered")
ActiveDocument.Sections["Results"].Columns.Add("State")

获得了可以添加/删除计算项目但无法检索计算项目的现有列公式的API,是否有任何API甚至可以检索列公式

1 个答案:

答案 0 :(得分:0)

如果您要获取代码someInternalMethod,则有一个EIS(仪表板)代码export function someApiCall() { // Build the api endpoint var url = "http://someurl"; return fetch(url) .then(function(response) { if (response.status !== 200) { return; } return response.json().then(function(data) { //this log is printing data after error console.log(data); return formattedHtmlData(data); }); }) .catch(function(err) { console.log("Sorry data can't be loaded"); }); } ,可让您将其视为字符串:https://docs.oracle.com/cd/E17236_01/epm.1112/ir_user/ModifyComputed_meth.html

如果您不知道原始代码是什么,那么我认为您无法提取它。