Date presentation Variables

Hello

This thread continiues to Re: Create Variable presentation

I created a variable presentation called @lastname and it works very well in the dashboard report. I would add two variables of presentation date more:

@startdate (equal/East)
@enddate (equal/East)


I created in addition to the lastname variable and changed the fx on the column to reference these variables in presentation new date and also set up a filter "is invited" on two columns.

Fx formula is:

-case when 'any employee Absences. "" Name "= ' @{name}" and "All employee absences" "." " Start date"between" @{startdate}' and ' @{enddate}' then count ("all employee absences". " The person ID") * County ("all employee absences". "The person Id") * sum ("all employee absences". " Days of absence") end else 0

The added text is * and "all employee absences. "" Start date "between" @{startdate}' and ' @{enddate}' * "

When I run the report that returns no test but when I test this on the database, I get the correct result set:

No results
All data is not cause to the specified criteria. This is often caused by the application of filters that are too restrictive or contain incorrect values. Please check your filters to ask and try again. The currently applied filters are listed below.

The name is equal to Sharma
Start date is equal to 01/01/2010
and end Date is equal to 30/12/2010


Can anyone help?

Thank you

("Employee absences all the '.) "' Start date ' > = Evaluate ('to_date (%1,%2)','@{startdate}','YYYY/MM/DD')))
AND ("Employee Absences all the '.) "" End date ".<= evaluate('to_date(%1,%2)','31/12/2010','yyyy/mm/dd')="">

In this code for ' @{startdate} "value is not met, check the presentation variable name in the quick creation.

for the end date ("all employee absences". "" End date ".<= evaluate('to_date(%1,%2)','31/12/2010','yyyy/mm/dd')="" )="" change="" the="" format="" to="">

Thank you
Vino

Tags: Business Intelligence

Similar Questions

  • Date show invites by using the calendar and presentation Variables

    Hi all

    That's what it takes...

    I need to create a two prompts (from_date and to_date) on a date column so that I can filter the data by using a condition. This is how I do

    I created two guests (edited the formula) and passing values to two variables var_from and var_to presentation. In the report, I limit the query on assistance between motor coaches for both the presentation variable. Everything works fine but the problem is I need display var_from and var_to in my report also.

    I'm referencing variables like ' @{var_from}' and ' @{var_to}' but I get two columns as white. I don't really know why I get empty values for these two columns only when I am able to filter my report with success on the basis of the date values in the guests...

    Just to metion... in my database, I have values in m/d/yyyy format only. So I am able to use the calendar successfully

    Any help on this would be much appreciated...


    Thank you
    -Ronny

    Ronny,
    Drafts of answers do you see? ID wait, but on the dashboard when you set filters, you should see values that crosses?
    You can extend the syntax of the variable closely and provide a default value, so when you work in the answers you can see what it looks like,

    something like @{var_from} {January 1, 2010 ""}

    Also you can reference variables in the title, the subtitle or the narrative views if you want.

  • In the presentation variable date format

    Dear Guru,

    My guest has a calendar month edit box that is in the format "YYYY / MM". I put this as a variable presentation p_month.

    Now, I need to add 1 month to this presentation variable in the filter, I tried to write the sql code but it's complicated, and it does not work. Could someone help?

    Thank you very much
    Joe

    An approach more:

    using filter based on another request...

    create a query containing the following columns... (Assuming that YYYY / MM column is: A).

    Min (A)

    "and keep the filter on A > ' @{p_month}"
    Save this report with a name: RapportB

    Your main report on A filter should be like this:

    filter on a column > advanced > filter based on another request, now browse the RapportB and then to specify the unique column present in this report to be filtered...

    hope you understand this approach...

  • OBIEE presentation Variable

    Hello

    I have a variable called P_DATE presentation that reads data from a Calendar Table

    In my query BI answers, I would get the data of the previous day, P_DATE.

    How can I ask my P_DATE variable an expression to get the yesterday's date

    i.e. SELECT DATEADD (day,-1, P_DATE)

    Note: The Data Source is a SQL Server database, which is why I use the SQL Server-based functions

    Thank you

    Ignore my last post, I'm assuming that the variables to repository... more on
    In the given first query, one is in datetype and other is in tank.

    You can use the current_date-1 in the filter no need to go for a variable presentation.
    something like
    SELECT Time.Date saw_0 FROM 'HIS' WHERE Time.Date = current_date-1 ORDER BY saw_0

    Use the criteria-> column-> filter icon tab-> Add--> "SQL Expression" value current_date-1

    When you use variable PS as above, you suppose to cast by converting as Expression SQL
    ex: Time.date = date ' @{PS Variable}' or with default variable date ' @{PS Variable} {2010-01-21}'

    Published by: SVeeravalli on November 19, 2012 23:10

  • Fun with presentation Variables

    Hi all-

    Recently, I built an analysis Sales Promotion Contribution of gross margin using reports built Answes, dashboards and dashboard invites you. The math for this analysis becomes complex because it applies for a period limited in time, aims to increase sales by a specific percentage increase and has to account for the incentives of the sales force and discounts to customers among other items deemed "Promo related Articles". I used guests from dashboard to create presentation variables which are then used in all of the elements of the promotion of calculated measures.

    My frustration with this approach, it's that I have to include a "column to filter in a dashboard command prompt. I can just create a command prompt to set a variable. I'm interested to hear from people who have encountered this situation and how they "worked around her. Here is my point of view:

    1. the guest on columns that are not in any of the reports. It is the simplest approach. As long as the column is not used by an another command prompt and is not in a report, you can "filter" it without having any impact on the results displayed in the dashboard. If the same column is used in two different guests, I found that setting a prompt automatically updates the values of all the other guests using the same column. If you invite him on a column used in a report it will apply a filter on this report (there are ways around that, but I simply avoid that situation using columns that are not included in reports for initialization variables of presentation).

    2. I intend to create a new query Table based in my area which is a "select... from dual ', have a list of columns that is simply the place with data holders different types that I can use for the creation of dashboard of guests that initialize variables of the presentation. The plan is that my query is always returns consecutive signle there touch now and external joined table of facts in the area in question so that I can include in my dashboard of guests without impact on the results of the query.

    Does anyone else have any other ideas?
    Oracle's plan to allow us to simply create guests from diashboard to initialize variables of presentation without impact on filter expressions?
    And what about the variables with filters in the range? I really want to create variables for 'Promo start week' and "Promo week end" but so far I've been prevented because they apply to the same column, and if I put one, the other will automatically change the same value.

    Instead of regurgitating what has already been explained, read this blog entry from Vincent. He explains what you are experiencing and what to do to achieve your results. Hope this helps you...

    http://oraclebizint.WordPress.com/2008/02/26/Oracle-BI-EE-101332-between-prompts-for-date-columns-using-presentation-variables/

    Edited by: David_T on May 19, 2010 10:00

    Edited by: David_T on May 19, 2010 10:00

  • Can I use the session with the presentation variable variable

    Hello

    I'm using a method join the variable session or repository with the presentation variable.

    I created a variable called 'VarPres' in obiee presentation I created a session with a new block of initialization variable and I made this request

    "{Select fullName from employees where idEmp=@{VarPres}.

    but when I called the session variable in obiee I got this error

    The session variable, NQ_SESSION. S_OBJ, has no definition of value

    Hello

    Does not allow a presentation in an init block variable, simply because there is no variable presentation.

    In general what you try to do probably will never work because of "timing" and is as a session variable.

    A session variable is set once per session, for once he put no exchange of value as the init block is not executed again. So, because of this you already can imagine that there is a problem in your logic, if you want to use a value set by the user in the front end to set the value of a session variable.

  • Create printed documents data presented on a form.

    Long story short:

    I'm looking to put in place a system that automatically creates a document of data presented on a form. So imagine as I type "Jason" in the name field, "Orangutan" in the favorite animal area and when I click on print I am presented with an A4/Letter paper that says: 'my name is Jason and I love the orangutans', and the bottom is covered with cute orange monkeys. Where should I start?

    Long story long:

    I work in a store of the computer and because of my experience with Adobe products * I was responsible for creating all the signs in the store. I did all the signs for a year now and we now have a bunch of different signs requiring daily printing. Those more thorough and tedious for me is signs for the recovery computers. Unlike the new computers, the requirements are always different based on the particular model we redemption of the customer. There are all sorts of fields that are different in each case.

    As it is, I have a file illustrator with all the information in the right place, and when a computer is take all the technical characteristics, fill in the boxes on the right and show the layer from the image in order to get a picture of the corresponding model on my document. It takes considerable time and means the process is specific to me, IE if I'm not in the store, the computers on sale, because we cannot add a sheet of specifications and price.

    What I want to do is automate the process so that everyone in the store can make these signs. Just what they need to do is fill out a form (online or local) who asked the model, year, RAM, HARD drive, etc. * So when he clicks on submit that it returns completed sign they will print and put up next to the computer.

    I'm not entirely sure how to achieve this. I looked at FormCreater online free * Adobe, and I like the simple data output that it creates. However, I am uncertain about my next steps. I guess I'll need to send the results to a computer with blank templates for the recovery computers. It will then have to fill in the applicable fields and to automate all the work that I usually do.

    Where should I start? I'm willing to learn whatever it is to get this working.

    Thank you

    Jason

    * Illustrator, Photoshop, Flash, inDesign

    * Total of ~ 18 text and image 4 fields must be changed by sign.

    *** http://www.Adobe.com/CA/products/Acrobat/form-creator.html

    I'm willing to learn whatever it is to get this working.

    Excellent! Good attitude.

    Where should I start?

    With my favorite 'graphic program': FileMaker Pro. (Yes. My favorite graphics-project tool is a relational database program).

    You see, you have discovered something that people discover more frequently all the time the graphics: your project is not a problem of graphics. It's a data problem.

    Note how little your problem has to do with graphics. Emphasis added:

    • .. We have a bunch of different signs requiring an impression every day.
    • the specs are still different based on the particular model
    • automate the process so that everyone in the store can do these signs
    • All what they have to do is fill out a form (online or on-site)
    • an image of the corresponding model

    See if this scenario seems attractive:

    On your computer, you have a single file, named TradeIns. You or any of your authorized users to doubleClick it. It opens to a well-organized form that is completely explicit; requires absolutely no training to use.

    It is completely fool proof. The user does not know anything about any graphic program. It does not break anything.

    The consistency is maintained because everything that can be automated is. Dependence on intelligence is integrated. Context menus limited data entries to legitimate choices (ex: models). Choice of subsequent data entry are automatically filtered from the data already entered (ex: RAM configurations limited to those available for the model). Guests user and advice (highlighted, event messages, ToolTips, data validation, etc.) to ensure that all requirements of information are entered.

    When the entry is complete, the user clicks a button called Print Preview: displays A3. The display switches automatically to a preset A3 formatted layout with all style graphically data (title, descriptive text of presentation, list of features ball, price, etc. etc), logo news and business contact in place and a chart of appropriate model appears in the background. The user clicks on a button entitled Print Poster. Next to him, by the way, is a button labeled Email displays to...

    If you wish, you can activate up to five people at the same time to access and interact with the solution in a web browser from anywhere. If the data entry can be performed by members of the staff who connect (according to access privileges you set and control the level of the individual field if needed) in the office, at home, or even on their iPhone. Several users can enter/change data at the same time.

    It's 02:00 Tuesday when the customer leaves with his new machine. Clean you its recovery; Place it on the shelf of presentation. Pull out your iPhone and take a picture of him. Tap the specs in. At the same time, the data, including the photo, are entered in the database. You lock the door and go home at 5:00, confident that a flier sale formatting of the exchanges 'Just arrived' will automatically be sent to your mail list until you get home.

    You have administrator privileges, can add to, alter, develop the functionality (ex; add an automatic price calculator) you need, without interruption on the system.

    How difficult, a lot of time is it?

    Once prescription details are nailed down, and the raw data of beginning to fill out lists of values are provided, an intermediate FileMaker developer could build the solution described above and drag it upward and running, ready for input of data in less than a day, easy.

    The cost? $500 for a copy of FileMaker Pro Advanced. That's all. (And... * Achin *... it is not rented;) "It's a normal perpetual license.) And with it, you can create one unlimited number of other solutions for your business data-driven. You can even link them as fully functional standalone applications that you can distribute royalty-free.

    Based on what you've described so far, starting the solution data schema is very simple:

    Create a new database with three related tables:

    Models

    Trade ins

    Plug

    The fields in each table would be something like this:

    Models

    Model ID (primary key, unique text;)

    Name of the model (text)

    Brand (text)

    Image (container)

    Trade ins

    Trade in ID (primary key; text and serial number of the computer)

    ID of model (text, list of values, foreign key)

    Plug

    Spec ID (serial number auto-entrez)

    Model ID (foreign key)

    Trade in ID (foreign key)

    Specification of name (list of values)

    Description (text)

    You would have two layouts (screens): data entry and displays A3. You may create as many additional provisions to show some combinations of data that you want to the purposes as long as you can meet. Export to PDF or Excel spreadsheet file anywhere, anytime. Build automatic reports with live graphics, use the conditional formatting, automate with scripts, etc., etc.

    Wonderful program. Each company should have.

    JET

  • Default presentation variable used in the SQL filter expression

    Hello
    I am trying to use a default value for a variable used in a sql expression in a filter presentation and could use assistance on why obiee stifles the syntax.

    I have a report prompted with a prompt on the name of the month (variable presentation framework - pres_month_name). The value read is used in a filter as an sql expression. The sql expression is a DEAL on the variable of presentation and its conversion to a number based on business rules.

    In the sql expression, I give you the presentation variable a default value for a variable of repository - rep_default_month_name. Repository variable is correct and no, based on business rules, returns an appropriate default month name.

    Now, if I hard code the value by default, there is no problem. Here is a sample of the filter:
    The month number less than or equal to * DEAL "{pres_month_name} {OCT}" WHEN "NOV" THEN 10 WHEN... END *.

    Notice that the variable of presentation is between single quotes, because this is an area of character. Once more, it works fine, but I don't want to hardcode the default, I want it based on the variable repository, therefore:

    The month number less than or equal to * DEAL '{pres_month_name} {ValueOf (rep_default_month_name)}' WHEN 'NOV' THEN 10 WHEN... END *.

    By having this syntax for default of the variable of the presentation, I receive a message from the incorrect values in a filter.

    This report is not only used on a dashboard, but used in a briefing book as well. Whenever a briefing book is updated, by default the presentation variable is used, because obviously, the presentation is not available in a briefing, and I don't want to use a hard-coded value.

    I could duplicate the report and adjust the sql to not use the presentation variable, but always use the repository variable that returns a month by default, but I would be duplication of effort and I have to do this on several requests.

    Thanks for the help!

    Try this syntax described in the blog of Shiva that follows...

    http://shivabizint.WordPress.com/2008/10/02/Oracle-BI-EE-variables-overview/

  • Manipulation of presentation variables

    Is it possible to manipulate the presentation variable. I don't need the exact value selected by the user to be set as the value of the variable presentation, instead of this I need a small modified value. Is this possible.

    Hello
    In the quick Fx you can do this and set the variable presentation, else create a dummy column in the logical layer and use the same

    Thank you
    Saichand.v

  • Column unresolved when using presentation variable in the filter responses

    Hi all

    I am using a dashboard command prompt that sets a variable presentation - pres_year. I use the presentation variable in the filter of the application.
    In the 'Criteria' tab, in the filter for a request, I put a year column (YEAR) the presentation via the Expr Variable variable and enter the variable name of presentation only. End up with:
    YEAR is equal to / is in @{pres_year}

    When you use the dashboard, the prompt and ask all work fine. The problem is when I'm in demand for answers and I click on the "View results" button I get the following error:
    "NQSError: 27005 unresolved column pres_year'.

    Any suggestions?

    Thank you.

    Set a default value after the presentation variable in your filter. If you put no default value, and then in the responses, the application not of value to the variable of presentation. Click on the filter and add default value. Then it won't work.

    Edited by: David_T on October 14, 2010 08:13

  • MX:box as ItemRenderer and data of variable height

    Hello

    I have a component mx:List that displays a value object instances and uses an element converter to display the data in the list. The rendering engine is derived from a mx:Box.

    The problem occurs when the data to display a variable height (data may have 0 to many pieces of additional data that are associated and are displayed using a mx:Repeater in the renderer). I can't get the mx:Box to have a dependent variable height of the size of the data that it contained. I tried "height ="100% "', that makes no difference and also 'verticalScrollPolicy ="off"', which truncates just the data in the list regardless of the height."

    Is it possible to display data of variable height via an ItemRenderer?

    Thanks for any help.

    Make sure you set variableRowHeight = true on the list.

    The rendering engine is given an explicitWidth and requested to report a height based on this width.  Often, which may require to make a custom Measure [] override, but you can sometimes get away with binding to explicitWidth.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Format analysis of the measurement data of variable length for Newport THP/N

    I try to analyse the response of a sensor of zED-THP/N of Newport. The answer is back with ID SEQ TYPE TEMP C HUMD %.

    ID = 1, SEQ is constantly changing, TYPE = 15, temperature = nnn.n

    I am trying to capture the Temp, and this presented a challenge. (The humidity is easy, I'm reading after the C - 5 has 'C')

    The SEQ number starts as n and evolves to nnnn... so using 7x4a does not work due to the changing length of the SS.

    When I use '15' 4, because the Type is still 15, and SEQ contains a 15 in the number, which also becomes a problem.

    Everything that I have which is constant is that there are spaces between each value and the value of temperature I'm looking begins after the 3rd space.

    Any help would be great

    David Sandelman

    Great... progress is good.

    If you use the single command, tol ERDG00A return all my sensors in a given request:

    The request channel data that must be completed is channel 0. All other channels should be empty. Not \r, just empty. I should have mentioned that in the original post. Then configure the channels as before, ensure that each channel of moisture is a\r\n. The next channel group must be a\x20.

    To explain, just one tells DASYLab to find the number of variable length, and he still needs a delimiter to put end. many devices use a comma, but they use a space. The hexadecimal ASCII for space is 20, so say us DASYLab to find numbers in a string of ASCII and stop when he finds a space, using the notation of DASYLab to hexagonal \x20.  notation for the carriage return character (\r isor hex 15), and \n is the notation for the line break ( or hex 12).

    15 84 0 18.5 C 64.5%
    1 50 15 C 18.4, 64.2%
    2 214 15 18.5 C 64.7%
    3 237 15 18.3 C 64.3%

    I like the idea of a single data request command for all four channels - less necessary communication protocol. In interpreting the device number, you will be able to ensure that the analysis works correctly.

    CH 0: a\x20

    CH 1: a\x20

    CH 2: a\x20

    CH 3: a\x20

    CH 4: a\r\n

    CH 5: a\x20

    CH 6: a\x20

    CH 7: a\x20

    CH 8: a\x20

    CH 9: a\r\n

    CH 10: a\x20

    CH 11: a\x20

    CH 12: a\x20

    CH 13: a\x20

    CH 14: a\r\n

  • Invites presentation Variable causing problem.

    Hi friends,

    IM replacing it with the formula in the SQL filter as below

    "Time". "' Exercise date ' > = TIMESTAMPADD (SQL_TSI_MONTH, - TIMESTAMPDIFF (SQL_TSI_MONTH, TIMESTAMP'2006-01-01 00:00:00 ', CURRENT_DATE), TIMESTAMPADD (SQL_TSI_DAY,-DAYOFMONTH (CURRENT_DATE) + 1, CURRENT_DATE)) AND"Time ". "" Exercise date "< = CURRENT_DATE


    And so im get the values from my default year Feb-2006 up to current_date (say as im getting the values of jan 2006 Jun-2015)


    That's why I want to replace the presentation instead of the keyword CURRENT_DATE variable in the formula so that the report is expected to behave according to the prompt value that I select and I gave the formula as below


    "Time". "" Tax Date ' > = TIMESTAMPADD (SQL_TSI_MONTH, - TIMESTAMPDIFF (SQL_TSI_MONTH, TIMESTAMP'2006-01-01 00:00:00 ', @{T_DATE} {CURRENT_DATE}), TIMESTAMPADD(SQL_TSI_DAY, - DAYOFMONTH (@{T_DATE} {CURRENT_DATE}) + 1, @{T_DATE} {CURRENT_DATE})) AND "Time". "" Exercise date "< = @{T_DATE} {CURRENT_DATE}

    But when I checked the dashboard report after you apply the filter above to my report, it does not work and it translates to no value.

    I understand that this problem is with the data format of the variable of my presentation. So for this format should I I need to replace my variable of presentation as well as the above formula will work.


    Thank you

    Kind regards

    Saro

    Now add a command prompt and select the dates that... create variable presentation in that? What is 113?... I didtn you get...

  • By the way the presentation Variable in the Case of the ReportColumn statement

    Hi all
    I have I need to pass the presentation column that contains the date value in the column of the report which is to be set to zero in this requirement.

    That is to say the case statement is like that

    where column1 is null then 'variable presentation"is the value of the column.

    someone you will suggest how to pass the variable to the presentation to the column of the report.

    Thank you
    Yogi.

    Check the data type of the column 'time '. ' ' count of the parent.
    the properties of column ROM-> data format
    I guess his type of tank, if yes, then
    cases where "Time". "" parent effective ' is null then ' @{parent_effective_from}' another 'Time '. "" end of parent from to.

    If the date is set then the default
    cases where "Time". "" parent effective ' is null then @{parent_effective_from} {default} else 'Time '. "" end of parent from to.

    or else try as below
    Date ' @{parent_effective_from} {2010-01-21}'

    Published by: Srini VIEREN on 12 April 2013 13:24

    Try other options as stated above

    Published by: Srini VIEREN on 12 April 2013 13:27

    Published by: Srini VIEREN on 12 April 2013 13:33

  • Question in presentation Variable

    Hello world

    I created a variable for the week and the year and I'm trying to merge them to apply as a filter.

    To do this, I have converted the week num in char type. The week so not 1, 2, 3.12, 13 will be displayed as 01,02, 03... 12, 13.
    so I can add concatenate them with year and together there filter for a report.

    Reason for all this is. I need to display the results to a report based on the selection of values prompt like

    of the year of the week for the week year
    2010 50 2011 05

    Fact table and calendar are joined by the date fields.

    When the prompt values are selected and applied to the variable of presentation rather than spend '05' it's just by the way of "5". How to get this done. Are also tell me the work around to filter with cookers.

    I hope that I am clear,

    Thanks in advance

    Concerning
    Sandeep

    Hello

    I tried in my environment and syntax '2011' | right ("0" |) Cast (50 as CHARACTER (2)), 2) works very well.

    You can try with the integer data type:

    Cast ((2011*100+PRESENTATION_VARIABLE) as char (6)).

    Kind regards
    Gianluca

Maybe you are looking for

  • Any possibility using only the built-in GPU?

    Mac OS X 10.11.6 MacBook Pro(Retina,15 ",2015 mid) With graphics cards AMD one dedicated I wonder if it is possible to use only the GPU integrated while playing games. Cause I discovered that some games are no need to use the AMD GPU, but it is autom

  • TouchSmart 520 TV tuner stopped working

    I have a 1190EA Touchsmart 520. I have recently upgraded to Windows 8 to 8.1 Windows and now the TV tuner stopped working. I've already used Windows Media Center to watch TV. I ran install MCE and windows MCE is unable to find all channels. My TV car

  • Person to contact Toshiba regarding the design and engineering of ideas

    Hello I want to contact toshiba to open a company speak with new ideas about the design and operation of laptops.I have pictures and images of these ideas. Can someone direct me to the right direction?Thank you. If you prefer please email me directly

  • envydv6: my pc is not responding

    my pc is not responding and became dead slow. It takes 10 minutes just to start and after that, a blue circle is on the screen. I have a backup of my data to my external hard drive. I want to know is the formatting and if I format it, can I get my dr

  • PIXMA MX922 went offline and it seems impossible to set

    1 may - it's working now, and I have no idea why. Every day, my PC auto re-boots at 02:00. I guess I should have restarted yesterday, maybe I would have spent less time to play with it. But I wanted to send a real letter to my son stationed in German