Reg: Colume filter

HI All,
please help me///
i have 5 measures in the report and in that measures i wrote different case statments to get that measures.
Now, i want to give individual filters based on dimension attributes for the 5 measure columns.
How can i get this...
thanks in advance

Use filter function as
FILTER(CASE WHEN 1 = 0 THEN 0 ELSE "Sales"."Amount" END USING ("DATE"."YEAR" = 2011))
Replace the case statement here with the case statement of your measures and replace the Year filter above with your dimension attributes filter.
Thanks

Similar Messages

  • Reg. Filter on Table view

    Hi,
    I am trying to analyze the filter functionality on Table view.  The event which is getting triggered when we click on filter  is - "Filter".
    However, in none of the standard components, I don't see this event has been implemented. 
    Now, I am confused, where exactly this logic has been  implemented, and how this is working.
    Could you please help me out for the same.
    Thanks,
    Sandeep

    Hi Sandeep,
    Answer to your questions are:
    The filter functionality on Table view are handled by framework. Where exactly this logic has been implemented - It has std bsp component behind, you have to find it.
    and how this is working - Table view has collection-> collection is converted into iterator-> iterator has methods like sort...etc...this way..
    Thats it
    Thanks,
    Bhushan

  • IR JS error on colum filter dropdown

    Hi There,
    I have an IR with few columns having HTML tags in it (mainly anchor tag). When I click on the column header, instead of the filter dropdown, I get a JS error.
    This happens in IE (both 7 and 8), in chrome it works fine.
    I have an example setup below. (use "Table Name" field to test)
    http://apex.oracle.com/pls/apex/f?p=44973:11
    Is there any workaround for this issue? I will need the hyperlink on those columns and ideally user should be able to filter on them as well. I have at the moment disabled filtering on these columns so that users won't get error.
    Thanks in advance
    Cheers, Ligon

    Hi,
    Please check your sample on apex.oracle.com.
    Does it work now as expected?
    PS: I do not know why I did not get any email from you.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME
    Edited by: jarola on Dec 1, 2011 12:54 PM
    Please edit your last post and remove my email and loging details to your workspace

  • Selecting a column in Answers report based on user prompt/ apply filter

    I need to do the following in OBIEE Answers report (version 10.1.3.4.1):
    1) Think of a simple table with dim TX_type and some measures like month_jan, month_feb, month_mar
    so the fact table looks like (column names) tx_type, month_jan, month_feb, month_mar
    2) I need to select the measure column based on a user dashboard prompt, prompt populates a presentation variable var_month = jan or feb or mar
    3) I need to select the correct measure (one of these month_jan, month_feb, month_mar) and then apply column filter based on the dim TX_type to split the values of these into multiple columns for report. So the report may look like (in Answers)
    Sales , Tax, overheads
    where Sales may be defined as sum(month_jan) where rows have TX_type = 'sales'
    where Tax may be defined as sum(month_feb) where rows have TX_type = 'tax'
    where overheads may be defined as sum(month_mar) where rows have TX_type = 'overheads'
    IF the user selects jan
    IF user selects Feb then the 3 report columns are based on month_feb and likewise for month_mar
    I cannot use column selector option as the report column further apply filter in column filter definitions in Answers...
    4) When I try to build the column filter using a presentation variable (var_month), the presentation variable is not getting populated in the column filter.
    For e.g. IF var_month = 'jan'
    THEN month_jan (let us assume the logical column name is month_jan too)
    ELSE month_feb and so on...
    However, the var_month always shows 0 in the IF clause. If we used a repository variable instead, it works fine. But since repostory variable cannot be changed on the fly (by user prompt) it is not usable.
    We cannot change fact table defintion....and we have 12 measures column and about 8-10 different colum filter based report columns using this measure.

    Hi shyamvaran,
    have you thought about a SQL statement in the prompt, something like:
    SELECT
    case when 1=0 then Table."Column" else 'Jan' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Feb' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Mar' end
    FROM "Subject Area"
    union
    SELECT
    case when 1=0 then Table."Column" else 'Apr' end
    FROM "Subject Area"
    etc...
    Use this to give you the 12 values for your months then give the prompt column a presentation variable name and set a default value in the 'Default To'. Also set the same default value for the filter.
    A couple of points:
    1. If you're transforming the presentation variable from 'Jan' to 'month_jan' you may need to edit the syntax for the filter column (not using the dialog box).
    2. If you're transforming the behaviour of a dimension / measure column in the report, have you specified the syntax correctly, e.g. sum('@{pres_var}')?
    Hope this helps,
    Justin

  • Setting value incase of SERVER Tableview filter

    Hello
    I am having a tableview where there are around 15 columns each with filtering capability. Almost all columns can use SERVER level filter except one or two. In that case can we modify the value of the server filter in onInputProcessing i.e. i will get the filter value and modify the same to give correct results.
    Thanks in advance.
    Regards
    Tatvagna

    Look at the below link to get & modify the filter value..
    Re: reg modifying filter settings
    Let us know if you have an issue...
    <i>* Reward each useful answer</i>
    Raja T

  • Restrict number of rows returned in a report

    Hi All
    Does anyone know how to restrict the number of rows returned in a report eg. I want to do a couple of reports based on opportunities/products and return only the top 5 or 10???
    Thanks
    Gail

    Sorry just answered my own question by using the 'is in top' colum filter!

  • Query as a web service question

    I have a QAAWS problem. BO XI 3.1, Xcelsius 2008 version 5.2.1.0
    I need to send 5 product names (user can select 1 to 5 products from a list) and display corresponding market share values I obtain from QAAWS.
    Created a query with Product names as prompt, returning market share. In prompt options, I selected
    "Prompt with list of values" and "Optional Prompt".
    in Xcelsius, when I created the connection, I select 5 columns as input from prompt (my product names). I selected the column from Input values, "Read From" and gave 5 columns in sequence.
    the problem:
    However, when I execute the query, I get only the market share of the first product returned.
    I know that QAAWS can take multiple prompt  from different columns. Is this because of Universe settings? or my option settings are in correct?
    Any help will be highly appreciated.
    Edited by: GopNair on Nov 11, 2009 8:26 PM

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • A Web Service Question

    Hi everyone. I'm creating a WS using ADF, but I'm wondering if, despite what the documentation says about parameters, if is possible create a custom method in the AppModule that expect as parameter a custom class and return also a custom class???. It's there any simple or not way for do that or just can't be done?
    Using POJO can be solved the issue, but wont have all the facilities that offer ADF to make a WS.
    for example:
    public MyCustomClass methodName(){
    // Code
    Or
    public void methodName(MyCustomClass){
    //Code
    Regards and please advice me
    Dariel

    Hi,
    I had the exact same issue.
    What you have to do is the following:
    In the Input Value section you have to select your Prompt from your query as a web service, then click the + sign - this will add multiple rows for your prompt - each of these row can then be pointed to each of your 5 colums/filter values individually. This will work.
    I asked almost the same question her:
    Query as a Web Service and In List
    Hth.,
    Jacob

  • Reg Filter View in Combined Request OBIEE11g

    Hi,
         We have a requirement where we need to show the filter view in a combined request. Currently we have achieved the same but putting another request but the issue when the download of the request happens the filter view is not downloaded and it has to be downloaded separately. We are using OBIEE11g(11.1.1.6.9).
         Please advise if there is any workaround to achieve this functionality so that download of results and filter view can be achieved in one shot. Thanks.

    Dev,
    Not possible to use the filter view in union request.Try creating the filters with filter view as a separate request and add them to the dashboard.
    Rgds,
    Dpka

  • Reg:filter operator in is not like

    hi,
    can anyone tell how does the filter operator "is not like pattern" function in obiee answers?in what scenarios this operator might be used/
    thanks

    Hi,
    Filter:
    Its used to filter data from report.We apply filter on report as prompted to make prompt effective.
    Example :
    ColumnA is prompt then we apply filter is not like ('India','Singapore') then the report will display expect india and singapore country in the output the report as ColumnA is prompted
    Filters can be apllied on report in many with diff operators like not equal In order to select values dynamicaly from report and filter data from report we use prompt.
    Prompt - Its used to select specific values to be filtered from the report
    Thanks
    Deva

  • BUPA_MAIN filter not working-Reg

    Hi ALL,
    In R3AC1, I want to put filter for BP with account group Y001 to Y005.
    I tried it in R3AC1 and its not working and still changes(DELTA) in BP belongs to this account groups are flowing to R/3.
    Currently we are 7.0
    In the below thread they are saying that we need to create ZFUNCTION MODULE...is it required? Pl suggest.
    How to restrict contact person from ECC to CRM
    Regards
    A.SURESHBABU.

    Hello,
    R3AC1 filters are only meant to limit the flow of data from R/3 to CRM. So if you want to filter BP data flowing from CRM to R/3 I think R3AC1 won't help.
    For this purpose you can filter the BP upload by using intelligent subscription (t-code SMOEAC). You need to replace the bulk subscription with intelligent subscription and define your own crieteria fields which controls the upload.
    Thanks,
    Rohit

  • Reg: Filter Function

    Hi Experts,
    can any one clarify me..pls
    i have 2 columns like Account, Amount where i have given filter for Account like 'XYZ'.
    so when i see the result i am getting certain Amount for Particular 'XYZ' account.its fine
    secondly, i have taken only Amount column in that i have wrote like (FILTER(Amount USING Account='XYZ').
    So,when i see the result the Amount which i am getting is not same as above scenario.
    in the two cases i am using Same filter condition but placing is different.
    how its differing can any one explain me..pls

    You want to know answer?
    Follow these; Make sure you have Loglevel=2 or more
    run the report with both scenarios and get the physical query, I hope that explains you the difference.
    Try to explore yourself rather seeking help from others and getting solutions with no updates (mark/correct or your solution)
    Just look back how many of your posts not answered!
    Total Questions:     89 (67 unresolved)
    It is for all users not only him.
    Mark posts and help yourself.
    Account like 'XYZ'When you are not using % do not use like operator ;)
    Thanks
    Edited by: Srini VEERAVALLI on Apr 26, 2013 8:42 AM

  • Reg: How to Filter from PL/SQL Collection

    like SQL queries ...any otherway is there to filter from the PL/SQL collection ( PL/SQL table )...
    Edited by: user12159093 on Nov 28, 2010 7:24 PM

    LOOP
       IF
       THEN
       END IF
    END LOOP
    when all else fails Read The Fine Manual
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm
    http://asktom.oracle.com contains many fine coding examples
    Edited by: sb92075 on Nov 28, 2010 7:26 PM

  • Reg. writing Connection Filter Rules

    I have a setup with Apache and WL (clustered) environment working through the Apache Plugin.
    My requirement is that the application url should point to the apache server and all other urls (managed servers) should be blocked.(I can currently hit the managed servers directly bypassing apache)
    Is this blocking possible by using the connection filter rules?

    solution for this.
    1. Open config.xml
    2. Search for <connection-filter> tag
    3. Verify if it has no value.
    4. Delete the tags (<connection-filter></connection-filter>)
    5. Start the server

  • Reg. ARTMAS segment filter

    Hi friends
    Any one tell me, i made some segments filter to ARTMAS in BD56. Is it effect to Other users who works on ARTMAS?. If yes what is the another way?
    Thanks & Regards
    Krishna
    Edited by: KRISHNA DH on Sep 5, 2008 10:43 AM

    Hi
    It will affect only the IDocs which go to the mentioned receiver in BD56.
    For other Receivers, Your Idoc will be the same as of standard.

Maybe you are looking for

  • How do I share content with InCopy and InDesign?

    Hi, I have InDesign CC2014 and a trial of InCopy on my machine. I have added an .indd file to the Creative Cloud Files folder and it now shows in the Assets > Files folder. I want to share the content with another user at a different location. In my

  • Updating a biar file - database connection

    Hi, I would like to know if there is a way of doing the following: I have a biar file that was exported from a universe that I don't have access anymore. This original biar file doesn't have database connections set. I am not able to connect directly

  • Do not store a metal stylus in the Z22 !!!!

    I found out the hard way ...  hold your z22 up to the light so that you can look into the hole where the stylus is stored.  You will see light reflecting off the edge of the printed circuit board. If you insert a metal stylus into the hole, it can ea

  • Mac Mini (mid 2010) - random sand balls

    Hi there I work as an technician at an AASP but I have a Mac which I can't get any grip on. The problem: - When working on the Mac Mini, it sand balls for about 15sec if you click on any item. Parts allready changed: - Logic board - RAM - HD - HD sat

  • Extracting current stock from LiveCache using ABAP

    Hi, We are trying to develop a number of reports for displaying calculated key figures from SNP. One of the macros that is used in calculations uses function INITIAL_STOCK(), which apparently reads the current stock level directly from LiveCache. I'v