![]() ![]() |
Sentinel Dashboard variables, How to use variables in a Dashboard |
Jun 24 2009, 09:31 PM
Post
#1
|
|
|
Visitor ![]() Group: Members Posts: 2 Joined: 18-November 08 From: Walnut Creek, CA Member No.: 190 |
I have created a few simple dashboards, but it appears that they only look at today's data. I need to use a date variable so that I can look at previous dates data.
I know that when I create the dashboard, I need to select the "CONTEXTUAL" option. In Composer, I have created the Assisted Request with a "Date" variable, and when I run it standalone in Sentinel, I get prompted for a date. This allows me to look at previous days data. The Assisted Request SQL looks like this, with Date being the variable: WHERE EventDate='TrkParameter(Date ?,XFBTRANSFER,EventDate)' When I run this Assisted Request in a Dashboard, there is no prompt for a Date. My Dashboard has a variable tab, where I create the Date variable, and give it a name. I gave it the same name as the one used in the Assisted Request. My DataSource Request has a parameter tab, and I also define the variable here. TrkParameter(Date ?,XFBTRANSFER,EventDate)' My Indicator Request also has this in the SQL WHERE EventDate='TrkParameter(Date ?,XFBTRANSFER,EventDate)' What am I missing? Why does my Dashboard not prompt for the variable? |
|
|
|
Jun 30 2009, 03:29 PM
Post
#2
|
|
|
Group: Members Posts: 44 Joined: 6-November 08 From: Washington, D.C. Member No.: 50 |
Gary, I got the following information a while back and hadn't gotten too much time to play with it. I was trying to do the same thing, in that we wanted to be able to view data for a specific date. It seems like it shouldn't be too complicated, but this solution is a bit tough and would probably require involvement from DBA/Security because of the permissions needed to set up some of the database stuff. Let me know if you have any luck, I'll be digging into this specific functionality next week hardcore!
I attached a sample dashboard (XML file you can import), and here are the instructions I received- Here is the simple example to use Dashboard variable, all you need to import the dashboard (xml file) and create a table in your sentinel database (Sentinel database user) Description of table SQL> desc tony Name Null? Type ----------------------------------------- -------- ---------------------------- NAME VARCHAR2(10) NUM NUMBER insert values to the above table SQL> select * from tony; NAME NUM ---------- ---------- test1 1 test2 2 test3 3 test4 4 test5 5 test6 6 test7 7 Now send the dashboard to production + in the dashboard viewer you can change the value in dashboard variable à you see the desired output
Attached File(s)
-------------------- [i][size=2]--
Tony Lloyd Sr. Axway Consultant Washington DC Area Mobile: 703-261-4449 |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
Lo-Fi Version | Time is now: 30th July 2010 - 01:11 PM |
Skin designed by IPB Forum Skins
Expand / Collapse Navigation



Jun 24 2009, 09:31 PM




