spagobi

SpagoBI multi value parameter

自闭症网瘾萝莉.ら 提交于 2019-12-24 17:09:23
问题 I'm trying to create a multi-value parameter in SpagoBI. Here is my data set query whose last line appears to be causing an issue. select C."CUSTOMERNAME", C."CITY", D."YEAR", P."NAME" from "CUSTOMER" C, "DAY" D, "PRODUCT" P, "TRANSACTIONS" T where C."CUSTOMERID" = T."CUSTOMERID" and D."DAYID" = T."DAYID" and P."PRODUCTID" = T."PRODUCTID" and _CITY_ I created before open script in my dataset which looks like this: this.queryText = this.queryText.replace(_CITY_, " CUSTOMER.CITY in ( "+params[

connecting spagobi to cosmos

和自甴很熟 提交于 2019-12-14 03:59:40
问题 I'm trying to connect SpagoBI to Cosmos via Hive JDBC driver. The connection works but I need to add jar (json-serde-1.3.1-SNAPSHOT-jar-with-dependencies.jar) to be able to execute map reduce when querying. The problem is that spago bi doesn't support multiple queries for the definition of a dataset and therefore I cannot add the jar before executing the actual select (the semicolon is interpreted as part of the path of the jar) How can I do? Is there a way to definitely add the jar so I don

authentication on spagobi using keyrock

北城余情 提交于 2019-12-12 02:49:34
问题 We're having troubles authenticating on SpagoBI using KeyRock as authentication provider. We followed the guide here: http://spagobi.readthedocs.org/en/latest/admin/README/index.html The redirection to KeyRock works, but after we enter the user credentials there is an error which says: {"state": "None", "error": "invalid_redirect_uri"} (HTTP 400) The configuration page in KeyRock looks like this: keyrock screenshot We've simply copied client id, secret and the other parameters required in the

SpagoBI: create a dynamic chart using SpagoBI

ε祈祈猫儿з 提交于 2019-12-12 01:50:01
问题 I am starting with SpagoBI, I managed to display a static chart using Highchart, what I want to do is a dynamic chart means if my data set is updated I want my chart to be updated as well, without manually refreshing the web page. like the example under this link [1] I used SpagoBi studio to deploy the chart, I tested the option of "refresh Seconds" (I edited to 1 second) while deploying but it is not working. How can I do that? Update: the chart template: <HIGHCHART width="100%" height="100%

SpagoBI OLAP report passing optional parameter

不羁的心 提交于 2019-12-11 06:05:52
问题 Helo. Today is my another fight day with OLAP raport with optional parameter. I have problem with MDX query. I wrote it like this: select NON EMPTY {{[Measures].[VALUE]}} ON COLUMNS, NON EMPTY { IIF(ISEMPTY([CUSTOMER].[${param}]) //CHECKING IF PARAMETER IS EMPTY ,{[CUSTOMER].[COUNTRY].Members}, {[CUSTOMER].[${param}]} ) }ON ROWS from [TRANSACTIONS] ${param} is my optional parameter for [CUSTOMER].[COUNTRY] . I unchecked "required" check button for my parameter, so OLAP should have all [VALUE]

How to Integrate SpagoBI application with Java Spring MVC Application?

假装没事ソ 提交于 2019-12-10 17:56:58
问题 I want to open the spagoBI documents from spring MVC. Can any one explain the procedure to integrate SpagoBI application with Spring MVC? 回答1: There is a Java-based SDK for SpagoBI. You might create a controller (get reports / params list, execute SpagoBI documents) and view (select report, enter params, display report content) for SpagoBI I recommend looking at the SpagoBI SDK Samples There is some SDK Documentation as well. 来源: https://stackoverflow.com/questions/31115552/how-to-integrate

SpagoBI + Firebird DataSource (The result set is closed)

半腔热情 提交于 2019-12-08 10:42:37
问题 I am using Spagobi version 3.6.0, Jaybird-2.2.2JDK_1.7 and Firebird 2.5 (x64). I set up a datasource and the testing is OK. I set up a dataset and the preview shows the correct list of colunms, only there is no data. Access via some other SQL viewer shows the data. The error message in the Catalina log is: org.firebirdsql.jdbc.FBSQLException: The result set is closed Does anybody have an idea what I did wrong? 回答1: After some testing the solution to your problem is to specify the connection

Drill Through not working in SpagoBI server in birt report

有些话、适合烂在心里 提交于 2019-12-07 09:28:46
问题 This is the setting of the hyperlink in birt report The script used to compute the param is as follows: if (params["idContratto"].match(row["contract_number"].toString()) == null){ if (params["idContratto"].value == "abc"){ row["contract_number"].toString(); } else{ params["idContratto"].value + "," + row["contract_number"].toString(); } } else{ if (params["idContratto"].length == row["contract_number"].length){ ""; } else{ temp = params["idContratto"]; temp = temp.replace(row["contract

Drill Through not working in SpagoBI server in birt report

好久不见. 提交于 2019-12-05 18:14:57
This is the setting of the hyperlink in birt report The script used to compute the param is as follows: if (params["idContratto"].match(row["contract_number"].toString()) == null){ if (params["idContratto"].value == "abc"){ row["contract_number"].toString(); } else{ params["idContratto"].value + "," + row["contract_number"].toString(); } } else{ if (params["idContratto"].length == row["contract_number"].length){ ""; } else{ temp = params["idContratto"]; temp = temp.replace(row["contract_number"].toString(), ""); if (params["idContratto"].indexOf(row["contract_number"].toString()) == 0){ temp =

SpagoBI + Firebird DataSource (The result set is closed)

匿名 (未验证) 提交于 2019-12-03 01:36:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am using Spagobi version 3.6.0, Jaybird-2.2.2JDK_1.7 and Firebird 2.5 (x64). I set up a datasource and the testing is OK. I set up a dataset and the preview shows the correct list of colunms, only there is no data. Access via some other SQL viewer shows the data. The error message in the Catalina log is: org.firebirdsql.jdbc.FBSQLException: The result set is closed Does anybody have an idea what I did wrong? 回答1: After some testing the solution to your problem is to specify the connection property defaultHoldable=true in the connection URL