analysis of filter based on the current date to the exercise YYYYMM

In a filter for an analysis, I want to put in place so that the settings are based on the current date and format field I want to filter is based on a July - June fiscal fiscal month.  (IE. Today, 22/04/2014 should feed the month of exercise with 201410 field)

Is there a simple formula that can be set, based on the date of the day that will work like this?

Use this

Replace (Cast (Year (CURRENT_DATE) as char) |) (case when month (current_date))<10 then="" '0'||cast(month(current_date)="" as="" char)="" else="" cast(month(current_date)="" as="" char)="" end),'="">

Instead of these functions concat and casting If you use exercise and exercise name is good to go

Thank you

http://cool-bi.com

Tags: Business Intelligence

Similar Questions

  • How to identify all the analyses using a filter based on the findings of another analysis

    How can I identify all analyses in the catalogue that contains a filter based on the results of the analysis another? Due to limitations on TimesTen, we remove all instances of the filter based on another feature of analysis completely.

    Christian Berg says:

    do research on the physical files in the file system

    A quick test, I guess you want to get the assuming you are on Linux, grep would be:

    oracle@demo:SampleAppWebcat () $ grep --files-with-matches --recursive '
    

    From there, you can identify the relevant analyses.

  • Quarter filter based on the selected month

    Hi all

    I need to filter the report with quarter based on a period in the report guests.

    The user selects the name of month in prompt report, the report should show the information of quarter data falling from the chosen month. I used the subreport that provide a quarter of the month. This degrades performance report, so I need a solution to find a quarter of the month in the filter of the report itself. Can anyone provide an idea on that?

    Well, now that I know the syntax, it should work for you:

    Assumptions: "month" is in the format "LUN - AA' (DEC-11); quarter is in the format "YYYY Q M" (2012 Q 2);

    Here are the pieces of the CASE statement...

    LEFT (' @{pv_month}', 3)... allows at least 3 letters ("Jan", "Feb", etc.) of the selected month...

    .. Right('@{pv_month}',2) .save the month selected two-digit year...

    Cast (Right('@{pv_month}',2) AS INTEGER)... .converts as a whole two-digit year. It is how we use the year in a calculation to determine the correct exercise when the month is September, October, November or December. In this case, (11) two-digit year is less than the tax (2012) year.

    Here are the facts:

    Q-11 MAY 2011 3 MAR-11
    JUN-11 AUGUST - 11 2011 Q 4
    SEVEN.-11 TO 11 - NOV 2012 Q 1
    DEC-11 TO 12 FEBRUARY 2012 Q 2
    etc...

    The above represents an exercise. As you can see, for the months from March to August, the exercise is the same as the selected year (all that is needed is to convert the year to two digits of a four-digit year).
    When the month is seven, Oct or Nov, the year must be incremented by 1. Month Jan and Feb, exercise is identical to the year chosen, but Dec must be dealt with separately, because even if exercise is the same as Jan and Feb (2) year should be incremented.

    Gather all this logic, you get the following:

    BOX WHEN IN LEFT('@{pv_month}', 3) ('SEP', 'OCT', 'NOV') THEN '20'. Cast (Cast (Right('@{pv_month}',2) AS INTEGER) + 1 AS CHAR). "Q 1'
    OTHER CASES WHEN leash (' @{pv_month}', 3) = 'DEC' THEN '20'. Cast (Cast (Right('@{pv_month}',2) AS INTEGER) + 1 AS CHAR). "Q 2'
    On the OTHER BOX WHEN IN LEFT('@{pv_month}', 3) ("JAN", "FEB") THEN '20'. Right('@{pv_month}',2) | "Q 2'
    OTHER CASE WHEN LEFT('@{pv_month}', 3) IN ('MAR', 'April', 'MAY') THEN '20'. Right('@{pv_month}',2) | "Q 3'
    ANOTHER BOX WHEN IN LEFT('@{pv_month}', 3) ("JUN", "JUL", "Aug") THEN '20'. Right('@{pv_month}',2) | "Q 4'
    END END END END END

    This will give you a quarter based on the selected month. You can use in the filter (Advanced > convert this SQL filter) and apply it on your column 'quarter '.

    WARNING: I did at home in order to check the syntax...

  • lov filter based on the setting of the page

    Dear all,

    I'm having a selectOne on page and filter lov based on the parameter(as queryString) page so how I have applied?
    I created a Vo and also affected the bind variable. but it does not work... someone can help me on this...

    -Thank you

    Published by: Santosh Vaza January 7, 2011 19:55

    Here's an example of how you can set your VO to have only specific lines that you want before the loading of the page:
    http://blogs.Oracle.com/Shay/2010/10/passing_parameters_to_adf_appl.html

  • Ask in the dashboard as link can filter based on the prompt values?

    Hi all

    In a dashboard, in a section using the prompt of commands and other section with the image object or the link and the given path was for a query created in the responses. The dashboard looks like a prompt command and below the link to the application.

    If I enter the prompt value, click on the link-> the pop up window and view the report but does not filter the data according to the prompt value.
    So, it is possible to do like that? If it is please share how to do this?

    Thanks in advance!

    Do not use the link or Image. Use the Guid. NAV. oppose instead. Link or Image may open in a new window, but the guests are not passed. GUID. NAV. object passes guests, which is what you want, but can not open in a new window.

  • Is it possible to change a filter based on the base image? Or change the algorithms of a filter?

    For example, the filter of patchwork. I want to change so that the lines are not as important, but the color of the mosaic is always there. Is it possible to change the filter file or image to do?

    patchwork.jpg

    Thank you!

    Another option would be to use my script which samples an image and apply colors to a model with deco fill script. It's a little slow to use, as it has made a lot of samples, but you can do interesting things with it. Works on CS6 and higher:

    Script Fill UI - Photoshop CS6

    You need create a clear color model to do this. Here is a sample using a cross stitch pattern:

  • "How do you build a filter based on the conditions of the two columns?

    Hi all

    line desc period Amount1 Amount2

    Jan Feb 10 0
    Tue Jan 20 0
    Jan jan 30 0
    Jan - Apr 0 40


    I have such a report with four columns

    Line Descr is a table and other period table and amounts 1 and are 2 respective amounts.

    now I need to see the only column in the result i, e. jan jan 30 0


    I need to write a sql in the formula in the column so that I need to get this result


    Any suggestions as what sql what I write

    Thank you

    Xavier.

    Published by: Xavier on July 1st, 2011 12:03

    Published by: Xavier on July 1st, 2011 12:04

    Published by: Xavier on July 1st, 2011 12:05

    Published by: Xavier on July 1st, 2011 12:05

    Published by: Xavier on July 1st, 2011 12:06

    Published by: Xavier on July 1st, 2011 12:07

    Published by: Xavier on July 2, 2011 11:37

    OK, so try it this way.

    (1) take another column. Click on the fx, delete the content and enter this:

    CASE WHEN tablename. Line_Desc = tablename. Period THEN put END to 'Y' ELSE ' n

    (2) put a filter on this column = 'Y '.

    It should work.

  • Filter based on the number of characters in value

    Hi all

    I am trying to create a filter that will allow me to show only values that match a certain number of characters. In this example, my column contains all types of different account numbers, but I just want to see those who are 8 characters. How would this do in OBI?

    Thank you.

    -Jonathan Witek

    Create a second pass with fx like Length and apply filter in this column as being equal to 8. Hide/remove this collar and you're done.

  • How to filter records in a main query of RDF based on the values of the calculated fields

    Hello

    I'm working on a report of RDF, where I have my main request which has four fields.

    (1) the unique id for the field

    (2) numerical value 1

    (3) numeric value 2

    (4) numeric value 3

    I added a CF_Total of calculated field.

    The main query returns all the records, but I want to only show that these fields for which the CF_Total has a particular value.

    Can anyone help me about how to proceed.

    Concerning

    Hawker

    Hello Hawker,

    This is an example, how you can filter based on the formula column. I don't know exactly where you would use. And other related issues.

    Give the idea and example how you can start.

    Thank you

    Hamid

  • Any plugin filter can use the metadata fields ignored by LR?

    Hello

    Assuming I want to install a filter based on the fields LensID or LensIDNumber, LR cannot help. He simply ignores these fields (and others). Y at - it a plugin which is able to do? I tried AnyFilter but it does not work for these fields.

    Thanks in advance.

    Unfortunately, any filter does not have the ability to filter fields that are not already available (which includes LensID and LensIDNumber).

    However, you can use the Data Explorer plugin for group photos with any visible metadata field to the free utility of Exiftool.

  • Is there a way to child entities of control based on the values of list drop down Parent entity on the screen of the user interface

    Hi team,

    Need your inputs / help on the scenario below.

    I created the interested part called parent entity (created attributes stakeholder list dropdown attribute with values 'Individual' and 'Organization' and a few other attributes on this entity).

    Child entities created called 'the individual' and 'organization' and created interview screens as below.

    1 entity parent on a single screen (interested party)

    2. child entity on a single screen (the individual)

    3. the entity child another (the Organization) on another screen and created vibility rules like this and applied at the level of the screen.

    Individual information should be displayed, if

    for each all instances of the interested party , the interested party is individual

    Organization identity information should be displayed if

    for each all instances of the interested party , the Type of party's organization

    I created 2 instances. We're interested type as an "individual" and other is by "organization". But as soon as I click on the next button, it doesn't show any entity child screen because it is directly go to another screen.

    If I create instances with the same type, he has been creating the filter based on the type. Please let me know if there is any change to the rules of visibility.

    Thank you

    Viv

    I created as below and the problem is solved without the help of the functions of the entity.

    Individual information should be displayed, if

    the interested party Type = 'individual '.

    Organization identity information should be displayed if

    the party interested in Type = "organization".

    Thank you

    Vivek

  • PowerShell script to delete files based on the current Date

    I know using PowerShell Get-Date will look at the current date.  I would like to make a very basic PS Script that will remove a file over 8 days based on the current date.  According to me, with the help of a if/then the function will be necessary.  I am very new to scripting if Im not sure how the syntax is written.  Any help is appreciated.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • column headers dynamically change the date filter-based selection? in obiee 11g Analytics

    Hello

    I work an analytic of obiee 11g.

    I have my report coulmns five... who are the branch, district, DS, current year, the previous year.

    based on the article on the query filter, column headings change dynamically.

    column headings are current, previous year Yes r;

    current month, previous month;

    current week and the previous week.

    for example, if I select the year 2016.

    column headings are Branch, district, DS, 2016, 2015 will change dynamically in the analytical report...

    Please help me,

    I tried, but I do not have...

    Please help me,

    A.Kavya.

    I'm not really sure what you have, but assuming that you have a command prompt of dashboard with the year of the column, define a variable presentation for this column (pv_year) and then in the report, for the columns you want, set the column as header @{pv_year} and @{pv_year-1}.

    He must pick up the values from the command prompt and dynamically set in the column headers.

  • Select the query to select the month range based on the current date.

    It's the database 10 g oracel.

    I want to choose two months of data in the table. But these two months should be based on the current date.

    For example.

    If I run the select query on July 7, 2013, then the query must ignore the current month being July 2013 and last month, which is June 2013 and it shoud select only may 2013 and April 2013.

    Can someone help me how to make this request.

    SELECT *.

    FROM my_table

    WHERE my_date > = TRUNC (ADD_MONTHS (sysdate,-3), 'MY') - first day of the month 3 months ago

    AND my_date< trunc(add_months(sysdate,-1),'mon')="" --="" first="" day="" of="" last="">

  • quickly create with filter-date and initialize it with the current date

    Oracle BI 11 g

    Hello!

    I need to create guest of dashboard with filter-date and initialize it with the current date. How can I do?

    I tried to create the repository initialization block and add a variable. But I don't know what should I write to DataSource? I tried using the Current_Date, Now(), sysdate functions (for example, SELECT Now() FROM tbl_Calendar) but without results - when I pressed the button "Test"... "I have errors - something like 'Now() is unknown function' or 'incorrect syntax near keyword Current_Date.

    After that, I made to use presentation Variable in the command prompt, but also without success (())

    Please, help me.

    Use "Server Variable.

Maybe you are looking for

  • Skype messages are not in order

    Very well. Since last night, Skype messages are not in order.I say, it's not wise to mobile. It's on a laptop.I have Skype restared. Nothing.I have re-installed Skype. Nothing.I disabled the YSC. Nothing.Re - syc the times. Nothing.I erased from hist

  • When will I receive the recovery DVDs?

    I ordered a 'element TR-IM00103870 - image of hard drive for PSAJ4E-00S00RTE' via 'https://backupmedia.toshiba.eu/' and I received an email that said that I would be informed until the DVD is shipped.I've ordered from 26.09.2009 and its 01.10.2009 to

  • Keyboard backlit W540 always lit

    Is it possible to adjust the backlight on the keypad to always on when the screen is opened?

  • Maximum internal dimensions of dvd player for the 0p6280t Pavilion

    lasvegaswireman was great response to my question about the installation of an additional drive. However, in the search for readers, there differences in dimensions, although close.  Is there a place that provides the maximum dimensions when you add

  • Unable to activate windows xp sp1a

    I have an old copy of Windows XP SP1a. It came with the computer, I bought (it is either a legal copy). the computer has long since disappeared, but I would like to install this copy on my current computer. Unfortunately, I lost the product key code.