How to use a dynamic variable in guest of dashboard

Hello

I'll have a filter in my dashboard that display values only 15 (from max max-15). I created two dynamic in RPD as variables below

Exec_Time1: SELECT max (CAST (START_TS AS TIMESTAMP)) FROM tablename
Exec_Time2: SELECT MAX (CAST (START_TS AS TIMESTAMP))-15 FROM tablename.

In the dashboard, I want to use the filter as timestamp between @Exec_Time1 and @Exec_Time2.


Could someone explain how to apply this filter.


Thank you
Pushpa

great (always nice marking ;-)))

KR,
A

Tags: Business Intelligence

Similar Questions

  • How to use the global variable in the table target?

    Hello

    I am trying to load several files into a single interface. the data is loaded successfully. 92. the files are there. for this I used variables and package.

    My requrement is 92 files of data loaded into the target table. I want to know what data from file.

    to this I added a column (filename) to the existing target table.

    If I used joints (not same condition), its totally wrong. all file names are coming.

    Please see the following screenshots.

    err27.jpg

    exit; target table.

    err26.jpg

    in fact in the target table. first 10 lines are coming from file.i.e first _ACCOUNT_LIMIT_511.TXT. but all the files names are coming.

    I'm confuse. After the first data file inserted then insert second data file. in that all file names are coming. Please help me.

    I thought that the global variable is preferable to identify the data came from which file.

    to do this, the global variable is used in the target table. I don't always have my exit.

    Please help me.

    Thanks in advance.

    err25.jpg

    Hello

    You can use the same way, how you use the project variable, just you have to do a thin is #GLOBAL.variable_name for example: #GLOBAL. SMART_AL_FILE_NAME_S

    Note: Make sure you that while you use one variable overall in interface, indicator should be staged as you chose above the screen

    hope this helps you

    Kind regards

    Phanikanth

  • How to use the environment variable in LAbVIEW

    Hello

    I'm trying to use an environmental variable in the diagram (use this as the path of a file). I can't know how get the value of the variable approx. can you please help this?

    Thank you for your attention.

    JACIE

    Try these.

  • How to use a substitution variable in a rule of load?

    I need to use a substitution variable in a rule of load in a column, I will receive a parameter to correct the month and year of the values in the loading data, could someone tell me if this is possible. I put an expression '& Yearproc' in the value column, but it does not work.

    If you are a member of the WORLD (or even if not, you can register for free associate membership) you can download the presentation from Glenn since 2009 Kaleidoscope "little used Essbase features (such as data mining and triggers) ' - there is a section to this presentation on the substitution variables - it does a great job showing how it works.

    Go to: www.odtug.com, and then Tech, then Essbase/Hyperion resources and search for Schwartzberg. It is currently the ninth presentation on the list - I think that this change based on the popularity of downloads.

    Kind regards

    Cameron Lackpour

  • How to have a dynamic variable name?

    I have a form that determines how many phone numbers, a customer must edit by running a query on the database. The client may have anywhere from 0 to 3 telephone numbers. I guess I can just wrap a CFOUTPUT QUERY tag around my input field so that it will make a loop if there is more than 1. What I don't know is how to dynamically name input field in the CFOUTPUT tag for the UPDATE query I run after the user submits the form.

    For example, if the query is that the user has 2 phone numbers for the table, how can I control their name?

    < name cfinput = ""? "" ... >

    < name cfinput = "?" 2 "... >

    How is it possible dynamically in the cfoutput which returns the result of the query?

    do not make your goal?

  • How to use the shared variables to address several Watlow controllers on the same COM port

    Hello

    I am using LabVIEW 2010 to control 4 Watlow temperature controllers on a port com 3 are model 96 and 1 is a zone EZ controller. The controller has a unique modbus address and I'm trying to read from and write in the individual records (for example, setpoint closed-loop) variable shared help. I would return the data during playback (even if the data is displayed as invalid), but I am unable to change the value in the registry in writing. How can I be sure that's the Modbus server send commands to the correct controller?

    Chuck

    Hi Chuck,

    Sorry for the delay in response, I was away last week. You can create as many servers for Modbus on one COM port that you would like, the only problem you'd see is if you tried to call the port from different locations at the same time. With respect to the documentation to cross, I'd start with the tutorial below for a comprehensive manual of Modbus. There are also quite a few listed under Datalogging and supervisory control Module help topics that may be useful if you want to solve specific issues.

    Introduction to MODBUS

    Kind regards

    Peter W.

  • How to use the dynamic Action?

    Dear all,

    I use Apex 4.1 worm.

    I need returns the value in the text box item when I select a value in the select list.

    I have a select list item: p1_template_id and a text box to point P1_template_description.
    Code of the selection list
    SELECT TEMPLATE_NAME D, TEMPLATE_ID R FROM TEMPLATE_MAS  ORDER BY TEMPLATE_NAME
    
    Table Name
    
    
    CREATE TABLE  "CRM_CAM_TEMPLATE_MAS" 
       (     "TEMPLATE_ID" VARCHAR2(50) NOT NULL ENABLE, 
         "TEMPLATE_NAME" VARCHAR2(500) NOT NULL ENABLE, 
         "DESCRIPTION" CLOB
          CONSTRAINT "CRM_CAM_TEMPLATE_MAS_PK" PRIMARY KEY ("TEMPLATE_ID") ENABLE
       )
    /
    I want to the DESCRIPTION of the column value for the text box item when I select the select list template ID.

    How can I do this with dynamic Action or in any other way?

    How can I do this?



    Thank you
    CORINE

    Hi Maxence,

    create a dynamic action of the advance,
    Follow the instructions below

    event = change
    selection type = item (s)
    product (s) = p1_template_id
    condition = no requirement

    Action: Execute the PL/SQL Code

    declare

    CLOB v_description;

    Start
    Select v_description from CRM_CAM_TEMPLATE_MAS where category = DESCRIPTION: p1_template_id;
    : P1_template_description: = v_description;
    end;

    Page to Submit elements - p1_template_id
    Page items to return - P1_template_description

    hope you help

    Kind regards
    Jitendra

  • How to use a user variable to control what to show in a slidelet?

    Hi all

    I use a slidet reversal (and a clickbox) to do the following:

    Every time when the reversal of the image user, it will play audio. When the user clicks on the image, it will open a pdf file; - has already been done;

    However, I also need to do this but couldn't:

    When the first time that the overthrow of the user (have not yet clicked) on the image, see the text caption 1 ("in order to read the other sections, you must read this section first ');

    After the first time that the user has clicked on the image, every time when the reversal of the EBU, the text caption 2 (click on "consult this section '').

    To achieve this, the slidelet, the clickbox and image are stacked one on the other by this order (Flip on the toppest) and the image on the background.

    I put an action advanced the clickbox assign the variable "ccstandardsclear" as 1 (its initial value is 0).

    For "rolling" action for the reversal slidet, I put the action advanced as a conditional action:

    If ccstandardclear = 0, then show textcaption_1;

    If not, see the textcaption_2.

    (here the notice that I placed first the textcaption_1 and the textcaption_2 inside the slidet rollover area and I could not find the names of these two items in the drop-down list of items in the action editor. Then I moved the two textcaption outside the rollover slidelet area so I am able to find them in the list of elements of the action editor)

    The textcaption_1 and textcaption_2 are defined as invisible in their property Panel.

    However, I was hoping the action to 'see textcaption_1/2' could make visible.

    Yet my path could not work.

    I would really appreciate if someone could help me with this.

    Thank you.

    Hi Rod, I made work using my old method. The reason why it failed was because I did not "hide" the two text captions when first entering the slide. So I just add an another advanced action script to the event "on entrance" of the slide. Then everything works fine.

    But I found that we have already purchased your widget manager even without knowing what he can do. I just tried and yes it is a very useful widget. Thanks for the instruction.

  • Using the dynamic variable interpolation

    So, I am a supporter trying to make my reusable code. I'm currently building a Tween with actionscript that I can use on a number of different object, depending on which variable I load into the function. However, I am having a hard time writing the code.

    So, I have a button that calls a function:

    {run}
    _root.fadeLogo (1, "out")
    }
    on (deployment, dragOut) {}
    _root.fadeLogo (1, "in")
    }

    Then I have a function at the origin of the film:

    function fadeLogo (logoNumber, fadeEffect) {}
    If (fadeEffect == 'out') {}
    fadeClientLogo = new Tween ("clientGridMC.logoHolder" + logoNumber, "_alpha", Normal.easeOut, "clientGridMC.logoHolder" + logoNumber + "._alpha", 0,.1, true)
    } else {}
    fadeClientLogo = new Tween (("clientGridMC.logoHolder" + logoNumber, "_alpha", Normal.easeOut, "clientGridMC.logoHolder" + logoNumber + "._alpha", 100,.1, true)
    }
    }
    }

    However, this does not do anything. I need for a project out Tuesday. Any help would be GREAT! I'd hate to have to simply duplicate this code to 16 times just to change a few numbers.

    Hmm, if you pass a 1 to the function or the target does not make a big difference. Try the attached code.

  • How to use a dynamic filter

    Hi all

    We have a difficult problem, I hope that you can help us solve.

    We need to build a simple enough interface that loads data from DB2/AS400 (source) into a DB Oracle (target) with the staging area on the target server.
    The difficulty is that the tables are about 100 million documents, but we only need a small subset of these. So to use a filter. Unfortunately, the filter condition may vary according to the time of execution of the interface, so our goal is to use a variable as a condition for the filter. The corresponding SQL code should look like this:
    SELECT * FROM source_table col WHERE = #VARIABLE

    The variable value is retrieved from a configuration table (which resides on the target server) using a simple SQL statement (SELECT value config_table status WHERE = 'A').
    Now, here's our setbacks: the config table can return multiple lines of result of the SQL statement in the filling of the variable value. In our understanding, a variable can contain a single value such as a date, text or number, but not a list that can then be used in a filter condition ("... ("WHERE the col IN #VARIABLE"). #VARIABLE should return something like "(1, 2, 3)". "

    Please note: in no case we cannot / should not manipulate the source server (we have only read access / rights).

    Any ideas? Any help is very appreciated!

    Thanks in advance,
    Jan

    Solution a little complex. But I guess it works

    Step 1: Declare a variable of type text/varchar data.
    Step2:refresh this variable. I want to use the select query in the variable refresh clause.
    The problem here is that we must build a SQL query that converts the lines into a single string.
    for e.g., in your case, let your retruning 3 question line1, line2 and rank 3 values.
    Now, use the oracle SYS_connect by clause to cover all lines out there in a single row.ie., row1, row2, row3

    Now, in your interface just add a filter condition and use this value there.
    Hope this might be of some use to you.

  • problem with INTERVAL using the dynamic variable

    Hi gurus

    SQL > SELECT INTERVAL '1' DAY OF DOUBLE;

    '1'-DAY INTERVAL

    ---------------------------------------------------------------------------

    + 01 00:00:00

    SQL > SELECT INTERVAL '1' HOUR OF the DOUBLE;

    '1' TIME INTERVAL

    ---------------------------------------------------------------------------

    + 00 01:00

    JavaScript:void (0);

    SQL > SELECT INTERVAL '1' MINUTE FROM DUAL;

    '1' MINUTE INTERVAL

    ---------------------------------------------------------------------------

    + 00 00:01:00

    I want to design an Interior that will contain three input parameters to make the above statement sql dynamic

    can you please help with error code below.

    QL > CREATE OR REPLACE PROCEDURE SP_INTERVAL (DAT TIMESTAMP, INTRVL VARCHAR2, VARCHAR2)

    2 AS

    3 TIMESTAMP V_OUT;

    4 BEGIN

    5

    6

    7 EXECUTE IMMEDIATELY "SELECT: 1 + INTERVAL"2"DOUBLE DAY ' IN V_OUT to the AID of DAT; "

    DBMS_OUTPUT. Put_line (' Hi ' |) (DAT);

    DBMS_OUTPUT. Put_line (' Hi ' |) (DAT);

    END;

    / 8 9 10 11 12 13

    Created procedure.

    SQL > EXECUTE SP_INTERVAL(SYSDATE,'1','DAY');

    Hi July 14, 14 01.15.21.000000 PM

    Hi July 16, 14 01.15.21.000000 PM

    PL/SQL procedure successfully completed.

    SQL > CREATE OR REPLACE PROCEDURE SP_INTERVAL (DAT TIMESTAMP, INTRVL VARCHAR2, VARCHAR2)

    AS

    V_OUT TIMESTAMP;

    BEGIN

    EXECUTE IMMEDIATELY "SELECT: 1 + INTERVAL": 2 "DOUBLE DAY ' IN V_OUT to the AID of DAT, INTRVL;"

    DBMS_OUTPUT. Put_line (' Hi ' |) (DAT);

    DBMS_OUTPUT. Put_line (' Hi ' |) V_OUT);

    END;

    / 2 3 4 5 6 7 8 9 10 11 12 13

    Created procedure.

    SQL > EXECUTE SP_INTERVAL(SYSDATE,'1','DAY');

    BEGIN SP_INTERVAL(SYSDATE,'1','DAY'); END;

    *

    ERROR on line 1:

    ORA-01867: the interval is invalid

    ORA-06512: at "SP_INTERVAL", line 7

    ORA-06512: at line 1

    SQL >

    Thank you

    Hello

    Maybe this can help you:

    CREATE OR REPLACE PROCEDURE SP_INTERVAL (TIMESTAMP, INTRVL VARCHAR2, TERM DAT VARCHAR2)

    AS

    V_OUT TIMESTAMP;

    BEGIN

    RUN IMMEDIATELY "SELECT: 1 + INTERVAL"'| " INTRVL | " ' || TERM | 'FROM DUAL' IN V_OUT WITH THE HELP OF DAT;

    DBMS_OUTPUT. Put_line ('Hi' |) (DAT);

    DBMS_OUTPUT. Put_line ('Hi' |) V_OUT);

    END;

    /

    concerning
    Kay

  • How to use the repository Variable title

    Hi all

    I'm new to Obiee. I have a requirement, I want to show variable repository in title.
    Please help me

    Thank you...

    Hello

    In the legend of view title write as follows

    @{biServer.variables ['NQ_SESSION.variablename']}

    For more details abt this link below, you will find the table of variables

    Concerning

    NGO

  • How to use procedures in a variable of ODI ODI

    Hello
    I have the condition

    Select c1 from the table where c1 > #ODIVAR1 and use of the output of this query in a variable to define the workflow package

    If output = 0 workflow package goes xxx
    on the other
    flow goes like YYY.

    Then please suggest how to use an ODI variable to capture the putput procedures and use it in the package for this stream.

    Thank you
    Naveen.

    Hello

    In the workflow of the package type of the variable as a Variable to be evaluated , if the step is ok go for a flow...
    otherwise, go to another stream in the Advanced tab.

    Thank you
    Ananth

  • Dynamic variable

    I want to add pages to an accordion component. The following code does not work:

    some_number_between_1_and_10 returned by the call to the database

    var numpages:uint = some_number_between_1_and_10;
    var cnum:String;

    for (var i: uint = 0; i < numpages; i ++) {}

    VALUE = "c" + i;
    This [value]: canvas = new Canvas();
    This [value] .label = "Page" + (i + 1);
    myAccordion.addChild (this [value]);

    }

    The first use of this [value] will return the error: label must be a simple identifier.

    So how to set and use a dynamic variable?

    Doug

    You can create 'dynamic' variables in the way that you are trying to do. Variables dynamic are also bad programming style that's why AS3 makes it more difficult to do. In your case, it is best to use a table:

    pages of the var: Array = new Array();

    for (var i: uint = 0; i
    {
    var page: canvas = new Canvas();
    page.label = "Page" + (i + 1);
    myAccordion.addChild (page);
    pages.push (page);
    }

    Then you can see each page as page [0], [1] pages, etc.

  • How to use a FOR LOOP to create multiple forms?

    I use Adobe animate CC (formerly Flash Professional CC) and I am trying to adjust the following snippet so that it creates several rectangles:

    var form = createjs new. Form (new createjs. Graphics ().beginFill("#FF0000").drawRect (5,5,100,100));

    this.addChild (shape);

    I then set it and put it in a loop I thought work in the reproduction of the form. The following code creates only a rectangle well?

    for (i = 0; i < 10; i ++) {}

    var i is new createjs. Form (new createjs. Graphics ().beginFill("#FF0000").drawRect (5,5,30,30));

    this.addChild (i);

    Move so that they do not lie on the other

    This.x += 50;

    }

    I think that the problem is how you use your iterator variable. In your loop, at the first start, i is equal to 0, then you immediately replace 0 with an instance of the Shape class, which means when he tries to loop again, I is not less than 10. They can't, because it is now a shape, not a whole number.

    Try this inside the loop:

    newshape var = new createjs. Form (new createjs. Graphics ().beginFill("#FF0000").drawRect (5,5,30,30));

    newshape.x += 50;

    this.addChild (newshape);

Maybe you are looking for

  • FF12 won't solve &amp; view all Yahoo mail features

    This is the third time in three months that FF12, FF11 and FF10 will download all the features of Yahoo! mail. Please, advise.TY, WRubin

  • Research of network drivers

    Hello I am trying to download the network drivers for a HP Probook 450 (only blutooth is recognized by Windows), but the site does not work for me. I found my cell phone and the version here: http://WWW8.HP.com/us/en/support-search.HTML?tab=1#/qryter

  • With 14 alienware command center

    last day, I instaled windows 10 on my alienware 14 and when I'm looking for drivers on the web I found the command center. can someone tell me were to find it please

  • Synchronization to Smartphones blackBerry w / Desktop Manager deleted all events iCal

    I just updated my Desktop Manager for Mac 1.0.3 (version 16) and on the first synchronization of my Curve 8900 (OS 4.6.1.231) he deleted all calendar events in my ical.  All events are on my BB, but none of them are on my iCal, and they used to synch

  • Rename the InDesign (CS6) library

    I created two libraries in InDesign, and I want to rename one. I can't find any option to do so. Also, I can't find any forum posts, tutorials, etc., explaining how do. Is it because this is not possible?See you soon