Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Apps
-
HD-Enabler:SpagoBI
Description
Created question in FIWARE Q/A platform on 28-08-2015 at 16:08
Please, ANSWER this question AT http://stackoverflow.com/questions/32273762/spagobi-a-script-data-set-using-a-query-data-set-result
Question:
SpagoBI: a script data set using a query data set result
Description:
In spagoBI there are many ways to create a data set: script (using Groovy or Javascript), data base query
but I want to create a script data set based on the data base query result
For example if my data base query result returns: "ON"
My script returns a value incremented by one comparing to the last value returned
if the DB query returns OFF, the script value will be decremented by 1
Any ideas how to get data base query results in a Groovy or Javascript script to create a SpagoBI data set?
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
2h 59m | 1 | Backlog Manager | 24/Oct/15 3:04 AM | |||||
|
3h | 1 | Backlog Manager | 24/Oct/15 6:04 AM | |||||
|
4d 6h 34m | 1 | Manuel Escriche | 28/Oct/15 11:39 AM |
Fix Version/s | 2021 [ 12600 ] |
HD-Enabler | SpagoBI [ 10856 ] | |
HD-Chapter | Apps [ 10836 ] |
Summary | FIWARE.Question.Lab.Apps.DataViz-SpagoBI.: Is is possible to define a script dataset using a query dataset result? | FIWARE.Question.Tech.Apps.DataViz-SpagoBI.: Is is possible to define a script dataset using a query dataset result? |
Summary | [fiware-stackoverflow] SpagoBI: a script data set using a query data set result | FIWARE.Question.Lab.Apps.DataViz-SpagoBI.: Is is possible to define a script dataset using a query dataset result? |
Assignee | Davide Zerbetto [ davide.zerbetto ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
2015-10-24 06:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True