Using variables of presentation... as well as instructions case...

Hi all.

I have a problem using the variable of presentation as well as instructions BOX. My approach is

(1) I have a prompt of dashboard, which is defined as variable presentation.

Depending on the value selected in the command prompt, for ex prompt values may be "ABC" and "DEF".

I have a calculated column, the calculation goes this way...

The forumal is

CASE WHEN @{name of presentation Variable} = 'ABC' THEN ELSE IF xxxxxxxxxx @{name of presentation Variable} = 'DEF' END. It gives the error "no table referenced..."

This is the right approach?

Can I get the values of the variable in a formula in the column, so that a column can have the values selected in the command prompt?

Can anyone pls help me out here...

Thanks in advance...

Hey,.

use like this...

CASE ' @{presentation Variable name}'
WHEN 'ABC '.
THEN col_formula_1
WHEN 'DEF '.
THEN col_formula_2
WHEN...
..
..
ON THE OTHER
col_formula_n

END

Kind regards
Rambeau

Tags: Business Intelligence

Similar Questions

  • I use the random function and he know instructions 'case' must end with a ':' but it is!

    I use the random function and he know instructions 'case' must end with a ':' but it is! I put

    case 10000 timer += 2; popupName._visible = true; :

    then I put

    case of 10000 {timer += 2; popupName._visible = true ;}:}

    but he still know it.

    What I am doing wrong?

    First of all, whenever you have more than three similar lines, you should probably refactor something.  Especially when you have 10,000 lines. This should have sounded the alarm, but I guess you are new to this.

    Second, when you have such a long code, paste everything here. Please, I beg you. It's a pain to navigate the thread.

    And here's what I * think * you really want:

    If (random (10001) == 10000) {}

    timer += 2;

    popupName._visible = true;

    }

    It simply means: "take a random number between 0 and 10001 (exclusive). If this number is 10,000, do something. If not, ignore this code block. »

  • Request Direct DB can use Variables?

    Hello

    You can use presentation or the request variables in a direct request of the DB in OBIEE?

    I'll have a lot of problems with the conversion of a select statement with a subquery using the guests and all that, so I was wondering if I could just handle it with the direct request of db.

    Thanks in advance.

    Hello
    Yes, we can use variables for presentation

    Syntax:

    ' @{p_v}', date ' @{date_v}

    Thank you
    saichand.v

  • How can I use variable presentation logic SQL

    Hi Experts,

    How can I use variable SQL logical presentation. I need the exact syntax. Kindly help me to achieve this goal.

    "Time". "" Date "between the Date of 2014 '-1-17 'and Date' ' 2014-2-16

    Thanks in advance

    Asim

    It's done... We can use it in the logical query with the same syntax where we use in converting this filter as SQL...

  • Capture selected vales of Date dates invite you using the variable of presentation

    We have an obligation to display the date on the text of the report / whatever the user selects the date from the command prompt.
    We have a date called created and used operator is between.
    Can someone help me in this area, the use of variable presentation to capture the values of a single Date column of creation?

    In the criteria to add more than 2 columns for Date of creation
    and use these expressions foreach and hide them
    MAX (RMAX (creation Date))
    MIN (RMIN (creation Date))

    In your story view we will call @1 and @2. assuming that these 2 columns are first from left to right.

    No need to use variables of the presentation.

    Mark as correct

    Thank you

    Published by: Srini VIEREN on April 22, 2013 16:47

  • Presentation using variable multiselect control

    Hi all

    I have a requirement.
    I show a dashboard page that contains a direct SQL query and a command prompt. Guest must make a multiple selection control.

    The SQL query is the following:
    Select user_name, user_id table_name from where user_id = @{presentation_variable}.

    The presentation variable will be declared in the guests, can I use it in the sql query.
    But when we choose multiselect control, it does not show the area where we can declare a variable of presentation.

    It allows us to declare the variable of presentation when we choose drop dwon control, in which a single value is selected.

    Can someone guide me how I can use multiselect with direct SQL query, then several values can be passed to filter results.

    Thank you.

    Hi rgksugan,

    Variable presentation can't hold any more value, so we cannot define variable presentation (set variable) multi Select

    How can I use multiple selection with direct SQL query,

    You can't do that with multi select

    Thank you
    saichand.v

  • You should have seen the date using the variable of presentation

    Hi all

    I am facing a problem in the display of the selected date of the guest in the report using the variable of presentation. I have a guest of data (calendar prompt), where the user selects the value. I take this value in the variable RBAP of presentation and report when I try to display this value using the same presentation variable, I get my date in the following format

    "TIMESTAMP 2010-10-22 00:00:00 '.

    I'm just using ' @{RBAP}' in the formula in the column.

    I want to show my date in the format DD/MM/YYYY. How to do this?

    I have used CAST (' @{RBAP} {' as DATE} and tried to change the data to dd/mm/yyyy format, but it does not work.)

    Please suggest

    Thank you
    Ronny

    in the default section to write the SQL...

    Select the OPTION case SENSITIVE WHEN 1 = 0 THEN AnyExistedDateColumn CURRENT_DATE of OTHER END OF SubjectArea

  • Error using variable presentation of Expression SQL

    Hi all

    I get an error - '... Error to break information... "due to a variable used in a SQL Expression. It probably has something to do with a problem of data type. I have reduced the use of the presentation of the error variable.

    I'll put a variable pres_mth_nme_to, presentation, from a prompt of dashboard. The line contains a month name.
    I use the variable of presentation as part of a SQL Expression in a filter. Most of the SQL Expression is to use the
    presentation in ONE variable and assign a value accordingly. For example:

    Column: kind of month value
    Operator: between
    Value: * 10 *.
    SQL expression: * case @{pres_mth_nme_to} {a few default} WHEN "NOV" THEN '10' WHEN 'DEC' THEN '11' WHEN 'JAN' THEN '12' WHEN 'FEB' THEN '13' WHEN... END *.

    The name of the month is in character. If I was in this hard-coding, I don't get the error. For example:
    CASE 'SEP' WHEN 'NOV' THEN '10' WHEN 'DEC '... END

    It is something to do with the data type of the command prompt and to be used in the comparison. If I use a CAST, the problem persists.

    CASE DROPS (@{pres_mth_nme_to} as char (3)) WHEN 'NOV' THEN... END

    If I'm in the responses, the problem does not exist, I guess because of default values. If I'm on the dashboard, there is not, I guess because of the reception of the prompt value.

    I don't know what I'm missing. Any suggestions?

    Thank you.

    DJ,

    If the formula presented by you is exactly true, I mean that it was not made to present as an example in the forum, you must include the variable presentation between apostrophes.
    either your formula should look something like
    Case ' @{pres_mth_nme_to} {a few default}' WHEN 'NOV' THEN '10' WHEN 'DEC' THEN '11' WHEN 'JAN' THEN '12' WHEN 'FEB' THEN '13' WHEN... END

    Let me know if it solved the problem...

    -bifacts
    http://www.obinotes.com

    Published by: bifacts on October 25, 2010 13:50

  • .chm TOC using variables - print SSL does not recognize anything after the variable

    Here's something interesting that I came across today.  I think that maybe it's a bug in RH 10.

    I create .chm TOCs using variables.  For entries of table of contents of page, a content before the variable in the table of contents entry converts to the table of contents printed without problem.  But any content after the variable is ignored.  It's only a problem with the pages in the table of contents.  Books are very good.

    For example:

    Book TOC:

    "Clinic - {variable} {variable}.

    This translates very well to the table of contents printed in printed documentation SSL.

    Table of Contents Page:

    "Clinic - {variable} {variable}.

    Aside from the link in the table of contents page, the code for the TOC book and page table of contents is the same.  But, for some reason, anything after the * first * variable in the page table of contents is ignored in the table of contents printed for printed documentation SSL.  It doesn't matter if it's another right or variable text.

    printtoc_variablesbug.jpg

    In the image above, both the "clinic - display the list of participants in the" book of the TOC and TOC page on the left contains two variables:

    "Clinic - {variable} {variable}.

    On the right page "Clinic - Participant list", the variable "screen" is ignored and deleted page table of contents only when the layout of the chapter is created for printing SSL.  HR will remove anything after the first variable in the table of contents page, whether it's a text variable or right.  HR does not remove the antything of a book TOC when the presentation of the chapter is created for printing (visible in the picture above).

    Post edited by: eeddings - added image to visually show the bug.

    When you generate print books will go in the printed document.

    Pages in the table of contents of the document are not based on what is in the table of contents above, but on the topic title.

    Add the variable there and it works.

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Since the upgrade to Yosemite to El Capitan, my life is a misery! I use the software Adobe CC - well, I DID it! Nothing works anymore. I have to Forcequit all apps and nothing loads... anyone?

    Since the upgrade to Yosemite to El Capitan, my life is a misery! I use the software Adobe CC - well, I DID it! Nothing works anymore. I have to Forcequit all apps and nothing loads... anyone?

    I have all the latest upgrades.

    My operating system is El Capitan 10.11.3

    I have Adobe CC 2015 Illustrator, InDesign and Photoshop. None of them will launch, open or close.

    My mac is so slooooowwww. I'm sitting for 3 days I look at a spinning wheel. Can anyone help? My roof looks inviting at the moment!

    running CC2015 10.11 and it is compatible with El Capitan, so the question is what else is on your system that may be the cause of the problem:

    Please run a report of etrececk and post the results here

    http://etrecheck.com/#about

    This will give us one overview of what else is running on your system

    If you are currently using any anti-virus Mac you must uninstall it immediately from your system. See web developers page for instructions

    If you currently use one "own my ' or 'custodian' of products you must remove them from your system immediately.

    Restart and reset the PRAM

    How to reset the NVRAM on your Mac - Apple Support

    and in the meantime if you need to use CC I suggest you try the following

    start in safe mode and run CC

    Try safe mode if your Mac does not end commissioning - Apple Support

    or Create a NEW account administration and the boot into that and run CC

    and see if either of these procedures to help.

    and if you must go on your roof with a lounge chair, some Bob Marley albums, not a note.

  • Hello, I need help, I can't play the video using Facebook. Works very well in Youtube. I use Safari. Tried different solutions such as changing preferences, reinstalling Flash.

    Hello, I need help, I can't play the video using Facebook. Works very well in Youtube. I use Safari. Tried different solutions such as changing preferences, reinstalling Flash.

    Hello

    Please try following the steps and see if it helps

    1. Please work through this guide.

    https://helpx.Adobe.com/Flash-Player/KB/video-playback-issues.html

    Follow the instructions in the guide on the provision of the dxdiag report and additional information on what you tested and observed.

    2 turn off hardware acceleration in the settings. Steps are mentioned in the link below

    How to disable or enable hardware acceleration?

    Thank you

  • Using variables to get the answers to the questions of fill-in-the-White

    Hello

    Fill-in-the-blank questions, to provide answers. I want to provide these in the form of variables (user-created), rather than in the form of fixed strings (so, as $$ var1$ $ and not as 'Rabbit'). I could not get this to work. The variable input function is available (in the properties panel), but it does not in fact (i.e. even if you select a variable to be entered, it is not actually automatically registered).

    Is there a way around the problem?

    1. NB containing the same question for text entry boxes (rather than fill-in-the-blank questions). If I could get this works for text entry boxes, I'd use questions these rather than fill-in-the-white.

    2. a peut use variables for the answers to the multiple-choice questions. So I hope I can make it work for fill-in-the-blank questions as well.

    Thank you in advance. Marvin DuBois

    That would be my suggestion. I don't have a blog, but using BER of for this kind of questions me as well. And unlike the widget/interaction, that I've mentioned before, BER is an interactive object, which means it can be validated and that there may be a score attached to it. But, it will not help you, since you have to add the correct answers in the same way as for a drop-down list in the issue of the FIB (they are the sorts of TEB). And it is this list that does not enter a variable rather than a fixed sequence of characters.

    This means that you are into stocks advanced, identical to that of my blog posts with the widget/interaction.

    Have a work around (after all I'm the work around Queen) having intercourse, if you don't check that BER, described here:

    http://blog.lilybiri.com/report-custom-questions-part-2

    The idea is to use another interactive object that can have a score. Actually, I use two instances of the same object: a score of 0 and one with score of X and show the right according to the conditional action.

    However if you want to have multiple TEB on the same blade, which must be verified with the same tip action, you will need either the mastery of InfoSemantics (only for output SWF) widget or Javascript.

    Lilybiri

  • documents on the variable of presentation need...

    Hello world

    I'm hurt on the concepts of variable presentation, so I really need some basic documents or links to the site on variables of presentation to learn with examples will be truly grateful.

    Concerning
    s

    Hello

    You should not initialize by using an inot block, when you apply a prompt value by clicking the Go/apply button, variable presentation will get initialized using the prompt value.

    Kind regards
    DpKa

  • Using variables in the command 'get-stat"powercli

    Hello

    I try to collect data via powershell and vsphere powercli I would like to pass several stat ID, both using variable that contains my ID stat list.

    (1) when I do this...

    Get-stat - entity (get-vmhost $host_id) - mem.active.average, sys.resourcecpuusage.average real-time stat - maxsamples 1

    ... It works very well

    (2) when I do this...

    $list = "mem.active.average".

    Get-stat - entity (get-vmhost $host_id) - stat $list - realtime - maxsamples 1

    ... It works fine, I can pass variables and so ID stat, one at a time.

    (3) when I do this...

    $list = 'mem.active.average, sys.resourcecpuusage.average '.

    Get-stat - entity (get-vmhost $host_id) - stat $list - realtime - maxsamples 1

    ... It does not work. PowerCLI returns... There is no entity the metric counter 'mem.active.average, sys.resourcecpuusage.average'...

    I do not understand where the problem is during the passage of variables, an idea?

    This should be

    $list = "mem.active.average","sys.resourcecpuusage.average"
    get-stat -entity(get-vmhost $host_id) -stat $list -realtime -maxsamples 1
    

    Must be an array of strings.

  • Using variables & shares advanced Captivate 6

    Hello

    I'm working on a project with only 2 slides.  The second slide has a folder with 8 tabs.  When the user clicks on the tab for information tab appears and a check mark appears on the tab to let them know the tab has been seen.

    Capture1.PNG

    I used variables and standard actions to make the correct text and completion work coches (nothing wrong with that)

    Capture2.PNGCapture3.PNG

    After that the user has seen all the tabs I didn't it must seem strange that nothing else happens or confuse the rest of the course (British Colombia, there is no quiz or interaction - I just need them to read the info).  I created a conditional action to 'Thank you for taking this course' appears and a play button for learners to understand the course is completed.

    Capture4.PNG

    The conditional action indicates whether each variable is equal to 1 (because variables start at 0 and change in 1 click on) it shows the message of thanks and the BACK button (I disabled the buttons of visibility on them) and condtional action added to the slide itself.

    Capture5.PNG

    I don't know why it does not work!  I even displays the variables on the screen to ensure that they evolve all at 1 when you click on and they are, but the text button and replay thanks are not displayed.  What I am doing wrong?  I'm captivate in version 6.0.1.240.

    Thank you

    That was my thought as well.  Because you appear not to leave the slide until all tabs have clicked, it would only seem to be click events available to trigger you actions.

    If I had to create this interaction, I would have used Actions conditional Advanced executed by clicking on each tab and not just the Standard Actions.  The first part of the CAA would be to show the relevant tab and hide all others, and then the next part of the CAA would be to check if all variables have been set to 1.

Maybe you are looking for