Possible to use dashboard prompt to capture variable & apply custom filter?

Hello,
I have an LOV based on column account_descirption with accounts: rent, tax, utilities, etc. Inside that LOV i want to add one custom value "COO." When user selects "COO" i want to capture in a variable and use it to sum multiple account_description values. Is this possible in the report or should i do the sumation in the source table?

If I understood your requirement completely, on your prompt you would have to assign a presentation variable. On your filter you would have to do a case:
CASE when @variable_prompt IS 'COO' THEN ....
Hope this helps.
EF

Similar Messages

  • IS IT POSSIBLE TO USE DASHBOARD PROMPT VALUE  TO FILTER THE RPT LVL PROMPTS

    Hi All,
    In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
    Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
    So well am approaching this issue with presentation variables.still am not able to get desired result.
    Please share your ideas and thoughts if you face this issue some time earlier.
    Thanks in Advanvce,
    Regards,
    Govardhana

    Hi All,
    In one of my dashboard i had one dashboard level prompt say "Year".Below one report is embeded and it has one report level prompt say 'Plan Component".
    Issue here is report is filtering with proper Year value but In report level prompts it includes all other year values say like 2008,2009,2010.Even though i select 2010 in the dashboard promt.
    So well am approaching this issue with presentation variables.still am not able to get desired result.
    Please share your ideas and thoughts if you face this issue some time earlier.
    Thanks in Advanvce,
    Regards,
    Govardhana

  • Can we change filter column values in a union query using Dashboard prompt

    Hi,
    I have a requirement in which have to draw a chart report for last six months?.
    When i query against database, my query got different where clause for open month and close month.
    Say for july month bar, it got close month as july and open month as july, june, may. Like this, for june month bar, it has to have close month as june and open month as june, may, april. like this, i created six union queries using repository variable.
    Want to give control using dashboard prompt for close month and open month?
    my query look like this.
    select close month1, fact1 from table1
    where close month = july and open month in (july, june, may)
    UNION
    select close month2, fact2 from table1
    where close month = june and open month in (june, may, april)
    UNION
    select close month3, fact3 from table1
    where close month = may and open month in (may, april, march)
    UNION
    select close month4, fact4 from table1
    where close month = april and open month in (april, march, february)
    UNION
    select close month5, fact5 from table1
    where close month = march and open month in (march, february, january)
    UNION
    select close month6, fact6 from table1
    where close month = february and open month in (february, january, december)
    Welcome your suggestions on this?.
    Thanks

    Hi Karol,
    Yes the prompt is working fine when i put this following method under the "Button" Component.
    APPLICATION.openPromptDialog(800, 600);
    Somehow the when i use the "Input Field" and use the "Button" Component and write this following logic inside it i don't see the prompt is not taking the values what i am entering in input field i assume that its issue with data-source not getting refreshed.
    Variable=INPUTFIELD_1.getValue();
    APPLICATION.setVariableValue("PercentageIncrease",Variable);
    Thanks,
    Kumar

  • Value Based user guided Navigation Using Dashboard Prompt

    Hi all Experts,
    I have a different dashboard pages and dashboards for each year sales and so on, like 2001,2002etc in OBIEE 11.1.1.5 answers and dashboard.
    My requirement is using dashboard prompt for year need to navigate to that particular dashboard.
    for example if I select 2001 should navigate to 2001 Dashboard
    if I select 2002 should navigate to 2001 Dashboard.
    and for another report for Top 10 Products if I select a product name should navigate to detail product report.
    I am not getting idea using guided navigation link,
    Please suggest me how we can implement this task into our report.
    Thanks in advance

    Hi,
    my suggestion, don't that way..do the below things..
    1) for year wise sales report.
    keep artificial Time Dimension and try map Date column into all othe fact table and try to use time.date column in the dashboard prompt that prompt will list out all the year like (2001,2002..2020..etc) make this propmpt column should be is prompted in that Answres report --> date column
    2) let Product wise report,
    report 1 :Product Summary ( call u child report in the column properties -->Interaction--> value Primary interaction--> action link--> select bi content --select it u r report and save it run it.
    report 2 :Product Detailed (this report navigation column make sure should be is prompted )
    Thanks
    Deva

  • Using dashboard prompts to initialize session variables

    hi everyone,
    I want to know if it's possible to have a dashboard prompt that is only used to change session variables. This prompt would stay in a tab without any report.
    Can this be done?

    when the user changes the variables in the promptI guess its value not the variables ....am i right?
    the variables seem to work just in the tab where the prompt is, although the prompt is set to be valid in the dashboard.1 ) Request/Presentation variable scope is in Dashboard or page
    2) As i shown in screen shot in a Dashboard Demo have two pages req variable and multi select when i change the value in prompt it was changing the value in qty variable means initializing the session variable value
    The screen shot dat i gave is what are you looking or some thing else??
    thanks,
    saichand.v

  • Can I pass parameters from a dashboard via a dashboard prompt and presentation variable to publisher report based on a data model with select statements in OBIEE 11g ?

    I have a publisher 11g (v 11.1.1.7)  report with a single parameter. The report is based on a data model not a subject area.  I created a dashboard put a dashboard prompt and link to the report in separate section on the same page.  The dashboard prompt sets a presentation variable named the same as the parameter in the report. 
    The problem was when I created the dashboard prompt, it forced me to select a subject area which I did (though did not want to) and then I created both a column and variable prompts. But clicking on the
    report link completely ignored the value that I thought would be passed in the presentation variable to the report.
    Side note :  My report uses a pdf template for its layout where I have mapped the columns names from my data model to the form fields on the pdf form.  I noticed that if I create a publisher report based on a subject area, then I do not have the choice to choose a PDF as a template type for my layout.  (I only see BI Publisher Template as a choice). 
    I see some documentation online that suggest it could be done in 10g.
    Thanks
    M. Jamal

    Ok,
    I just tried that and it still doesn't pass anything to the prompt.
    I changed the prompt to an edit field and I made the following weblink but when i click the link from an account it doesn't put anything in the prompt and all data for all accounts is shown.
    This is the URL maybe I messed something up...
    https://secure-ausomx###.crmondemand.com/OnDemand/user/Dashboard?OMTHD=ShowDashboard&OMTGT=ReportIFrame&SelDashboardFrm.Dashboard Type=%2fshared%2fCompany_########_Shared_Folder%2f_portal%2f360+Report&Option=rfd&Action=Navigate&P0=1&P1=eq&P2=Account."Account Name"&P3=%%%Name%%%
    thanks

  • How to set Default to in Dashboard Prompt from presentation variable value

    Hi all BI Gurus,
    I am trying to come out from my problem from last two days and I am not able to find the solution.
    Here is my problem.
    I am having two dashboard pages in one dashboard. Both pages contains dashboard prompt. Now from the first page’s prompt I had set a presentation variable and I want to use that presentation variable’s value in to prompt’ s default value which is used in my second dashboard page.
    I am hoping I can do that with Server variable or variable expression, but don’t know the proper way. I tried a lot with both but not able to find the solution.
    Could any help me please?
    Regards,

    Hi David,
    Thanks for replying. I really appreciate it.
    Yes I am using the same column.
    Let me provide you more details regarding my problem,
    I am having one dashboard prompt for gender and it's default value is 'Female' so I am assigning that value in to presentation variable PV_GENDER with set variable option in prompt.
    Now in my second prompt which I am using on second page of same dashboard, I am trying to assign that value 'Female' ( or the one that user had selected ) with the help or that presentation variable PV_GENDER in Default to. I tried all options (e.g. Variable Expression, Server Variable, SQL Result ) but I am not able to get that value.
    If you need more detail just let me know.
    Once again thanks for replying.

  • Selecting Multiple dimensions without using Dashboard Prompt

    Hi All,
    We have and requirement where we need to given an option to users where they should be able to select dimensions values to check set of reports in dashboard based on these selected values.
    As we know one way is to have dashboard prompt and all the reports which we need to analyze under this, but in dashboard prompt if we more values selected values will take more time.
    Instead we want in one page all the dimension values will be there and we need some thing like check box option in front of dimension values and based on the dimension values selection, we need to analyze reports available in another dashboard page.
    Thanks in advance.
    Regards,
    Som

    Thanks John for your reply.
    I'm not sure this is going to help me, may be my question is little bit confusing. Let me explain with some example.
    Lets us consider a dashboard page where we have All US States as global filter. Suppose by default global filter will have All values but now every time we want to analyze by selected states now to perform this we need to edit global filter and add States by which we want to analyze.
    By this option we are able to get the result what we want, but problem is that suppose every time we want to analyze by these states only the every time when we login we need to edit global filter again and again. which we don't want to do again and again.
    Now my questions are:-
    1. Is there a way to save values selected into global filter for future use by which we cab avoid selecting values again and again (one way is that we can add defaults in global filter edit mode but can we do this outside.)
    2. Or can we provide in one page just to select the values of analysis like dimensions and next to dimension like check box just to select values and in other pages based of the values selected.
    Regards,
    Somu

  • Is it possible to use a prompt value in rpd?

    Hi, experts!
    I have to solve the following task. A user choose a date (from calendar prompt) and according to the date (say - "+fix date+") see a report. In the report one dimension (say - "city") and quantity of registered requests in it. Each row in source table has registration date, close date and planed deadline and the filtration should use all this date like:
    registration date < fix date
    close date >= fix date
    planed deadline >= fix date
    Now, what I want to do. I'd like to create logical column in repository (say - "Vested remainder") where put that clauses. Is it possible in any way?
    As I read - no (according to pic. [http://shivabizint.files.wordpress.com/2008/10/obiee-variables-overview.jpg]). So, the only way is to use presentation variable in answers and filter values in formula mode. Right? No other way?
    =======
    Daniel

    Christi@n, it almost works! )) (really happy)
    But it shows me an error when I set a date (when the field of the prompt is empty - it works):
    If I set today date (in calendar prompt):
    A general error has occurred. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
    SQL: SET VARIABLE testDate='21.4.2009';SELECT Dimtab_name_.NAME saw_0, Facttab_name_."Vested remainder" saw_1 FROM subjectarea_ ORDER BY saw_0
    .. and if I set another date (yesterday):
    A general error has occurred. [nQSError: 46046] Datetime value 20.4.2009 does not match the specified format. (HY000)
    SQL: SET VARIABLE testDate='20.4.2009';SELECT Dimtab_name_.NAME saw_0, Facttab_name_."Vested remainder" saw_1 FROM subjectarea_ ORDER BY saw_0
    what I did step by step :
    1) create a Session Variable in rpd testDate+ and default initializer CURRENT_DATE
    2) create logical column +"Vested remainder"+ based on existing column as
    *FILTER(_subject_area_._Fact_tab_name_.ROW_ID USING subjectarea_._Fact_tab_name_.RECORD_DATE <= CAST ( VALUEOF(NQ_SESSION."testDate") AS DATE ))*
    == I just filtered by one date (not three), to test the approach... and agregation rule for ROW_ID is set as CountDistinct, so here we have quantity by the hierarchies.
    == I set CAST AS DATE because without it result was error... but with this CAST I have the same =___=
    3) create a prompt taking a date column record_date and set Control as Calendar and Set Variable -> Request Variable -> testDate+
    4) make a report with Dimtab_name_.NAME+ and Facttab_name_."Vested remainder"+, then set the prompt and the report on a dashboard. And.. It seems to be workable:
    !http://lh3.ggpht.com/_7E85bAvCFxg/Se3V73xOEYI/AAAAAAAAAGE/u0Cfaa2GsI0/2009-04-21_181323.png!
    But... alas!
    !http://lh6.ggpht.com/_7E85bAvCFxg/Se3V7znxTfI/AAAAAAAAAGM/ti96_vswIA8/2009-04-21_181846.png!
    Hem!.. Is it a problem with date format? Well, if it so, than should be a way to set format for Request Variable... Unfortunately, the attempt to write +testDate[yyyy mm dd]+ was unsuccessful.
    P.S. Christi@n, as the way (according to the topic) was correct I marked the thread as "answered"
    ========
    Daniel

  • Create a Link using Dynamic Text and Capture Variable

    I am building a dynamic website using Dreamweaver CS5 with Coldfusion 9
    Currently I have created a dynamic text table. The table is created by querying the Invoice table and displays the all the customers Invoices. The columns Include Invoice #, Date, Amount Paid, BalanceRemaining, Due Date. So basically lists all the invoices I have applied to the unique customer. It is pulled up using a session variable I created from the login page.
    My question is this I want to make the "Invoice #" linked so when you click on it it goes to a new page and performs a new query which retrieves infro related to that specific invoice such as Services Rendered, Service Description, Date, Price, Total. I was able to create a link to the Invoice # but I am stuck trying to figure out how to capture the Unique Invoice # and apply it to the new query. Is this possible if so how?
    Thanks for your help!

    Now keep in mind I am speaking strictly from a web and SQL standpoint as I have no experience with coldfusion.
    If you are able to create the link to the Invoice, I am perceiving this as the following:
    Invoice
    Links to
    #123
    page.php?invoice=123
    #345
    page.php?invoice=345
    If your page is setup like that then you already have the data stored in the browser request with the GET method.  In PHP the equivalent is the $_GET array.  I am assuming ColdFusion has a similar array to work with forms.  Then on your following page you obviously need to check that the visitor came from the prior page with the proper permissions to ensure that someone doesn't get the address page.php?invoice=### and just guesses through and views all invoices if they are not supposed to.  Then your query would look something like the following:
    SELECT * FROM invoice_table WHERE invoice_number = $_GET['invoice']
    Remember this in written in PHP so yours should be a similar equivalent.
    Hopefully this helps a little to get you going in the right direction.

  • Prevent dashboard prompt from filtering a particular report on page?

    I have a dashboard page with 1 prompt and 5 reports. The first object on the dashboard page is a dashboard prompt with a date range for created date.
    The request is to filter the first 4 reports based on the dashboard prompt, and then the last report NOT be filtered based on the prompt.
    Right now - the date range entered in the dashboard prompt is filtering all 5 reports.
    Is there any way to prevent the prompt from filtering a particular report on the dashboard page?
    Thanks!

    Just wanted to provide an update as to what I learned from the SR I opened.
    Dashboard prompts apply to all reports on the page which either:
    * Have the "is prompted" filter selected
    - OR -
    * Are filtered in any other way
    In my case, my last report was filtered on the created date to exclude any data prior to July 1, 2010. Because this hardcoded filter was applied, then the report automatically was picking up the date range filter from the dashboard prompt and applying that date range to the report instead.
    The workaround was to create a new column on the report formatting the date as YYYYMM and applying a filter to the report as >= 201007. With this, the dashboard prompt is now not applied to filter this report.

  • Using variables in the SQL Results in Dashboard Prompt

    I use the ff query to limit my results on my dashboard prompt. The variable value is given by a dashboard prompt within the same page.
    SELECT Owner.Name saw_0 FROM "iSupport Service Request" WHERE "- Service Request Attributes".Platform =
    '@{promptedPlatform}' ORDER BY saw_0
    It works fine with this query, only when selecting a particular selection in the prompt that feeds the variable data. Is there anyway to have this particular prompt by default(when the page first loads, load all the values possible prior to filtering by the variable?

    Hi Harley ,
    The frame labels are 1,2,3 etc
    sym.setVariable("subselect" , 0); // in the stage composition ready
    Then in the menu you can set the "subselect" variable to 1,2,3 and then call sym.play(sym.getVariable("subselect"));
    Thanks and Regards,
    Sudeshna Sarkar

  • Using presentation variable in a dashboard prompt

    Hi All,
    Can we use a presentation variable set in 1 dashboard prompt in another dashboard prompt to filter the values shown in the prompt based on the value selected in the first prompt?
    I am using SQL results in the second prompt.So, Iam not able to constrain the results. Any ideas?
    Thanks.

    Steps:
    1. 1st Dashboard prompt set Presentation Variable name say pdashboardprompt1
    2. In 2nd Dashboard prompt set Presentation Variable name say pdashboardprompt2
    In SHOW SQL results for 2nd Dashboard prompt. Select constraint
    SELECT Table1.Column1 FROM "SA" WHERE Table1.Column2 = '@{pdashboardprompt1}'

  • How to Pass dashboard prompt value to RPD variable??

    Hi Experts,
    I am creating RPD variable with below query in initialization block
    SELECT extract(month from Max(report_date))  from xyz_date_dim where report_id=14 and year=:YEAR
    I am having YEAR prompt in dashboard..from this RPD variable i want to get MAX(month) from selected year in dashboard.Here my problem is unable to pass selected YEAR to RPD Initialization block.
    I read some threads we can pass user selected values to session variables. If possible can any one help me how to pass variable to achieve my requirement.
    can any one help me in this....
    Thanks,
    KSS.

    So you want to pick a month in a dashboard prompt and have the answers report filter for that month, and return results for that month, month -1, month -2 etc etc.
    If so try the following, lets assume your measure is simply called 'count'
    in the BMM you have measure 'count' with aggregation set.
    Create a new measure in the BMM called 'count MAGO' or whatever you want (this will be month -1)
    in the logical forumula for that column, use the AGO function, syntax would be AGO(count measure,<time dimension.Month>, -1) - this function is found under the 'Time Series Functions' category.
    repeat steps to create 'count 2MAGO' and use -2 in the AGO function to take off 2 months.
    Repeat for however many Mth Ago's you want.
    Then in answers, simply use is prompted on your month fied to filter the report for the relative month, select your 'count', 'count MAGO', 'Count 2MAGO' etc, the measure will be calculated for prior months relative to your filtered month.
    Sorted?

  • Can you control format when setting variable from dashboard prompt?

    I'm setting a session variable from a calendar date prompt in a dashboard prompt, and the variable is referenced in a calculation in the business model. I'm initializing the date prompt from another variable which returns format TIMESTAMP 'YYYY-MM-DD 00:00:00', and the initial load of the dashboard is successful. After changing the value of the date prompt, the query fails because the prompt sets the variable to 'mm/dd/yyyy'.
    My question is: Is there any way to control the formatting when setting a variable from a dashboard prompt? I would like to get the timestamp format.
    Thanks,
    Greg

    If You wants time than in dashboard prompt's coloumn formula use cast function as "cast(date as time)" if date than "cast(date_col_name as date)". But I also have that one problem.Firstly tell me, Is it possible that using two dates in using betwwen operator in dashboard. We access server variable. If not working one thing more that u should have filter on date coloumn in report layout.And in action coloumn u select prompted. Than It will must work.
    Thanks
    Haroon

Maybe you are looking for

  • Error when starting managed server Message Too Long

              Hi,           I'm trying to setup clustering with WLS6.1sp2.           I use the jdk include with wls           2 servers in the cluster OS=AIX           1 Adminserver running on Solaris 8           When I start a managed server on one of t

  • Error in Illustrator CS4 on Vista 64:  "Can't finish previewing.  There isn't enough memory. ID = - 108

    Please help:  I have searched for this error and would appreciate any help or feedback.  I am not the Illustrator expert.  I build fast PC's, not design on them.  I would especially like to know where a complete error code list resides. Freshly assem

  • Start HCP cockpit ask to create a new account

    Hi All, I created my HCP Account some weeks ago. Today I try to enter the HCP Cockpit,  and it asks me to create my developer account: "You can now go ahead and create a personal SAP HANA Cloud Platform developer account." like my first login to HCP.

  • Smart form requirement

    Hi I have a web service BAPI whose table's content I want to display either in smart form,sap script or any other tool from Portal end.I am using webdynpro for java. Please let me know how it can be performed? Looking forward for the reply. Regards,

  • Question reinstalling CS3 upgrade.

    We are having problems reinstalling CS3 upgrade from CS2.The software has been installed before but these are new pc's as the old ones needed to be replaced. Thanks Marilyn Smith