Query to filter out in XMLSEQUENCE

Hello all,
I am new to xml concepts.
The below query,
Gives me result count of 100 out of which i need to filter out particular record say 999999999 how to i do that?
SELECT extractvalue(VALUE(p),'/CUSTOMER_NO') a
FROM test_clob w,
TABLE(XMLSEQUENCE(EXTRACT(xmltype(xml_file), '/RECEIVABLES/CUSTOMER/CUSTOMER_NO'))) p
A
1954365
999999999
Thanks in advance
Vijay G
6721

Hi all,
And this is my exact requirement ...
I need to filter out the child tag data from a particular parent ..........
the xml structure goes like this........
Here i need to filter out the costcentre details of customer 1954365...
<RECEIVABLES>
<CUSTOMER>
<CUSTOMER_NO>1954365</CUSTOMER_NO>
<SUBSEGMENT>
<SUBSEG_KEY>600-12345-23456-1-1</SUBSEG_KEY>
               <COSTCENTRE>
               <CC_NAME>HT1</CC_NAME>
<LSE_GROSS_AMT>1000</LSE_GROSS_AMT>
<LSE_NET_AMT>234</LSE_NET_AMT>
<LSE_TAX_AMT>9000</LSE_TAX_AMT>
<SRV_GROSS_AMT>5000</SRV_GROSS_AMT>
<SRV_NET_AMT>3456</SRV_NET_AMT>
<SRV_TAX_AMT>3456</SRV_TAX_AMT>
<GA_AMT>7687</GA_AMT>
<IZ_AMT>6786</IZ_AMT>          
</COSTCENTRE>
     <COSTCENTRE>
<CC_NAME>HT2</CC_NAME>
<LSE_GROSS_AMT>5678</LSE_GROSS_AMT>
<LSE_NET_AMT>5678</LSE_NET_AMT>
<LSE_TAX_AMT>5678</LSE_TAX_AMT>
<SRV_GROSS_AMT>5684</SRV_GROSS_AMT>
<SRV_NET_AMT>2345</SRV_NET_AMT>
<SRV_TAX_AMT>23456</SRV_TAX_AMT>
<GA_AMT>3456</GA_AMT>
<IZ_AMT>3456</IZ_AMT>          
</COSTCENTRE>
</SUBSEGMENT>
<SUBSEGMENT>
          <SUBSEG_KEY>700-10000-00000-1-1</SUBSEG_KEY>
     <COSTCENTRE>
<CC_NAME>NEWYORK</CC_NAME>
<LSE_GROSS_AMT>11000</LSE_GROSS_AMT>
<LSE_NET_AMT>20000</LSE_NET_AMT>
<LSE_TAX_AMT>10000</LSE_TAX_AMT>
<SRV_GROSS_AMT>5000</SRV_GROSS_AMT>
<SRV_NET_AMT>20000</SRV_NET_AMT>
<SRV_TAX_AMT>20000</SRV_TAX_AMT>
<GA_AMT>20000</GA_AMT>
<IZ_AMT>20000</IZ_AMT>          
</COSTCENTRE>
     <COSTCENTRE>
<CC_NAME>antartic</CC_NAME>
<LSE_GROSS_AMT>20000</LSE_GROSS_AMT>
<LSE_NET_AMT>20000</LSE_NET_AMT>
<LSE_TAX_AMT>20000</LSE_TAX_AMT>
<SRV_GROSS_AMT>20000</SRV_GROSS_AMT>
<SRV_NET_AMT>20000</SRV_NET_AMT>
<SRV_TAX_AMT>20000</SRV_TAX_AMT>
<GA_AMT>20000</GA_AMT>
<IZ_AMT>20000</IZ_AMT>          
</COSTCENTRE>
</SUBSEGMENT>
<INV_DETAILS>
<CC_NAME>HT1</CC_NAME>
<INV_REC_NUM>3456</INV_REC_NUM>
<PYMT_MODE>MONTHLY</PYMT_MODE>
</INV_DETAILS>
<INV_DETAILS>
<CC_NAME>HT2</CC_NAME>
<INV_REC_NUM>33456</INV_REC_NUM>
<PYMT_MODE>YEARLY</PYMT_MODE>
</INV_DETAILS>
<INV_DETAILS>
<CC_NAME>NEWYORK</CC_NAME>
<INV_REC_NUM>3456</INV_REC_NUM>
<PYMT_MODE>QUARTERLY</PYMT_MODE>
</INV_DETAILS>
<INV_DETAILS>
<CC_NAME>antartic</CC_NAME>
<INV_REC_NUM>33456</INV_REC_NUM>
<PYMT_MODE>QUARTERLY</PYMT_MODE>
</INV_DETAILS>
</CUSTOMER>
</RECEIVABLES>
Thanks
Vijay G
6721

Similar Messages

  • Using the inner query to filter outer query

    hi
    i've tried finding an old post on this, but there's nothing quite what im looking for. I have an inner query which gets sales totals, and an outer query with an outer join to return all the weeks (even when there are no sales):-
    select wk.week_id,sum(sales_total)
    from (select week, sum(sales) sales_total from tbl_sales_A
    where week between 0801 and 0807
    group by week
    UNION ALL
    select week, sum(sales) sales_total from tbl_sales_B
    where week between 0801 and 0807
    group by week)
    , tbl_weeks wk
    WHERE
    wk.week_id=week(+)
    AND wk.week_id BETWEEN 0801 AND 0807
    GROUP BY wk.week_id
    this gives me the following results:-
    week_id sales
    0801 0
    0802 0
    0803 55
    0804 66
    0805 96
    0806 0
    0807 97
    I would like my query to only return results from the first week sales are made i.e. 0803. The results would like this:-
    0803 55
    0804 66
    0805 96
    0806 0
    0807 97
    How do i write my query so that it does this???
    Many thanks for your time.
    Message was edited by:
    user645692

    On a test data:
    SQL> with test_data as (
      2    select 0801 as week_id, 0 as sales_total from dual union all
      3    select 0802, 0  from dual union all
      4    select 0803, 55  from dual union all
      5    select 0804, 60 from dual union all
      6    select 0804, 6  from dual union all
      7    select 0805, 90  from dual union all
      8    select 0805, 6  from dual union all
      9    select 0806, 0 from dual union all
    10    select 0807, 97 from dual
    11  )
    12  select week_id, sales_week_total
    13  from (
    14    select wk.week_id,sum(sales_total) as sales_week_total,
    15      sum(sum(sales_total)) over (order by wk.week_id rows between unbounded preceding and current row) as sales_so_far
    16    from test_data wk
    17    GROUP BY wk.week_id
    18  )
    19  where sales_so_far <> 0
    20  ;
       WEEK_ID SALES_WEEK_TOTAL
           803               55
           804               66
           805               96
           806                0
           807               97Regards,
    Dima
    Message was edited by:
    DimaCit

  • How can I use today's date as default value in query string filter web part in SharePoint

    I have a query string filter on my web part page. I am trying to figure out how I can set it's default value to Today? I can't find anything online...

    Hi,
    Per my understanding, you might want to set a default value to the Query String Filter Web Part.
    It would not be able to set default value to the Query String Filter Web Part with the OOTB features available.
    By default, with a Query String Filter Web Part in the current page, we can filter other web part in the same page by adding parameters and values in the address bar
    of browser.
    If setting the “Query String Parameter Name” of a Query String Filter Web Part as “t”, then we can filter the corresponding connected web part by inputting such an
    URL into the address bar:
    http://sharepoint/SitePages/Page1.aspx?t=value1
    Suppose you want to filter the list view with a value dynamically when user opens this page, as a workaround, we can generate an URL with the parameters needed when
    page loaded, then redirect user to this URL afterwards. This can be achieved using JavaScript.
    About how to redirect user to other page with an URL:
    http://www.tizag.com/javascriptT/javascriptredirect.php
    How to get today’s date using JavaScript:
    http://www.w3schools.com/js/js_dates.asp
    Best regards      
    Patrick Liang
    TechNet Community Support

  • How to use OData Date filter query to filter data from OData NetWeaver Gateway Service?

    Hello,
    I am trying to use the OData Filter query. to filter data records from the OData Service, using Date range for filters.
    Please check the below URL for the SAP's sample OData Service, with filter option.
    Service Query URL :
    https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/SalesOrderCollection?$filter=CreatedAt eq DateTime
    It gives out following error :->
    <message xml:lang="en">'$filter ' is not a valid system query option</message>
    Please let me know, if there is any mistake in the Query or is there anything that needs to be done on the
    Backend  Service.
    Thanks & Regards,
    Suraj Kumar

    Hi Jitendra,
    Once again, thank you for your help.
    I am able to filter the records using a date range.
    I am sharing the information, just in case anyone out there might need it.
    The OData Filter Query for Date Range (i.e. with Two date values) will return the results only if the OData Back-end Service is modified to accommodate such filter requests.
    This has to be done in ABAP.
    Please refer the following links which talks more about the Back-end ABAP Service being modified to ensure that the service returns records of data, as per the date range filter query
    http://scn.sap.com/thread/3170195
    http://scn.sap.com/blogs/lindsay.stanger/2012/12/29/gateway-odata-calls-convert-ivfilterstring-to-itfilterselectoptions
    http://scn.sap.com/thread/3173146
    Hope these links are helpful for those looking for OData Date Range filter query.
    Do let me know.
    Regards,
    Suraj Kumar.

  • Query on filter on fact column

    Query on filter on fact column
    IN OBIA AR Transactions subject Area
    the fact is filtered on (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN') in the Informatica ETL
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN')
    I need to bring in the Tax information  within the subject area from the table above and extend the Filter to include 'Tax'
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='REV' OR RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='UNEARN')
    and
    (RA_CUST_TRX_LINE_GL_DIST_ALL.ACCOUNT_CLASS='TAX')- which comes from Account_class
    will this amendment affect the existing subject area and  in turn produce higher report numbers
    secondly
    if i would  like to understand how i would try and work out the report
    AR amount split by tax
    Invoice Number Account class AR Amount
    001  REV  100
    001  Tax  20
    to produce the above report i have to remove the filter on the ETL
    but make sure that when  the user DOES NOT hits the Column Account class in analysis then by default put a filter on the fact column source which keeps only 'REV' or 'UNEARN'
    thanks

    The answer lies in GL revenue analysis subject area 

  • How to hide or filter out the row at break subtotal level

    Hi All,
    Need to know how to hide or filter out a row at break subtotal level.
    My Requirement is to sum up the first 20 business days total as Month total.
    This is a cross tab report, with Dates going from top to bottom, Securities going from left to right and Amount as the intersection of this two dimensions.
    So I have created a variables like this below
    RunningCount of Mtr Dt=ToNumber(RunningCount([Query 1].[Intrader Acct Mtrty Dt]))
    and
    MonthBreak=If [RunningCount of Mtr Dt] Between (1;20) Then 1 else 2
    Inserted this "MonthBreak" variable into the crosstab so it will give me each rowcount, then applied the break on this variable, so it split the first 20 rows and the rest of the remaining rows.
    Then applied Sum on the Amount column so it will add up the first 20 rows and then the remaining rows. Now I want to display only the subtotal row of the first 20rows and hide/filter the row subtotal line for remaining row numbers greater than 21.
    Did tried to do some thing using the alterers but no luck.
    Please help me fix this

    Hi Mathangi,
    When I apply
    =If ([MonthBreak] = 1) then Sum(Amount) else 0
    in the subtotal row, then nothing is changed.
    And one other thing I noticed is when we apply break on a column it footer should be same as the break value right. But here in my report the break footer is displaying 1 for both the cases for first 20 rows break and the rest from 21st rows.
    That is when I place  MonthBreak variable in the table.. which has values 1(for row 1 through 20) and 2 (for rows 21 to end of the report) then apply break on this MonthBreak column, its footer value are same for both the cases which is displaying as 1
    Do you know why this happens and to your information this is a cross tab report I am working on....

  • Filter out old component

    I've extracted a set of BOM from Table: STPO
    Kindly refer to image link
    [http://i.imgur.com/R6MxS.png]
    Is there a way to filter out those old component?
    In PP, is there a table where it stores the status like Deletion Indicator?
    Btw, i'm using query and not ABAP. Not able to code in ABAP as still not familar with it...
    Edited by: Chin Joo Neo on Feb 1, 2012 9:37 AM

    Dear Hrishi,
    Table: STPO already filtered out those data at table STAS
    Example if STAS has 10 line items with 3 deletion indicator line item, table STPO will have the remaining 7
    How about is there a way to get the valid to date of BOM?

  • Query hangs with outer query

    Hi,
    OS: SPARC 64 bit
    Oracle Version: 10.2.0.3.0 64 bit
    My query hangs when I include the outer query. When I execute without outer query It comes out in a fraction of second but when I includes outer query it starts hang
    Below is my original query which hangs
    select * from (select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000) WHERE raw_rnum_ > 0;
    when I execute this it will come out immediately
    select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000
    select * from (select raw_sql_.**, rownum raw_rnum_ from (SELECT /*+ FIRST_ROWS */ NETWORK_ID||'","'||CALLER_NUMBER||'","'||CALLED_NUMBER FROM CDR FROM CDR WHERE 1 = 1
    AND day_of_year = 99 AND INTERFACE = 'TRAFIC' AND TIME_STAMP BETWEEN to_date('2009/04/08 00:00:00','yyyy/mm/dd hh24:mi:ss') AND to_date
    ('2009/04/09 00:00:00','yyyy/mm/dd hh24:mi:ss') AND NETWORK_ID IN (1025,1026) order by id desc) raw_sql_ WHERE rownum <= 10000) WHERE raw_rnum_ > 0;
    but when I includes outer query I hangs it is really very weird for me?
    Here is the explain plan for that query
    Execution Plan
    Plan hash value: 3493649369
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time | Pstart| Pstop |
    | 0 | SELECT STATEMENT | | 1 | 2015 | 1 (0)| 00:00:01 | | |
    |* 1 | VIEW | | 1 | 2015 | 1 (0)| 00:00:01 | | |
    |* 2 | COUNT STOPKEY | | | | | | | |
    | 3 | PARTITION RANGE SINGLE | | 1 | 5894 | 1 (0)| 00:00:01 | 99 | 99 |
    | 4 | PARTITION LIST ALL | | 1 | 5894 | 1 (0)| 00:00:01 | 1 | 48 |
    |* 5 | TABLE ACCESS BY LOCAL INDEX ROWID| CDR | 1 | 5894 | 1 (0)| 00:00:01 | 4705 | 4752 |
    | 6 | BITMAP CONVERSION TO ROWIDS | | | | | | | |
    |* 7 | BITMAP INDEX SINGLE VALUE | IX_CDR_INTERFACE | | | | | 4705 | 4752 |
    Predicate Information (identified by operation id):
    1 - filter("RAW_RNUM_">0)
    2 - filter(ROWNUM<=10000)
    5 - filter("DAY_OF_YEAR"=99 AND "TIME_STAMP">=TO_DATE('2009-04-08 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND
    "TIME_STAMP"<=TO_DATE('2009-04-09 00:00:00', 'yyyy-mm-dd hh24:mi:ss') AND ("NETWORK_ID"=1025 OR
    "NETWORK_ID"=1026))
    7 - access("INTERFACE"='TRAFIC')
    can one explain why it happen? what could be the reason? Is it a bug or something? what should I do now? Issue is critical in the production enviromentent
    Waiting for your Valuable Reply
    Thanks In Advance
    With Regards
    Boo

    user454189 wrote:
    I suspect the issue with the where clause (raw_rnum_ > 0)
    Actually I using bitmap index on ' INTERFACE' column. Does it causing a prob or raw_rnum_ causing a problem?Boo,
    a couple of comments:
    1. Why do you use the deprecated FIRST_ROWS hint? From 9i on the FIRST_ROWS_n mode should be used instead, and since you're using a top-N query format the hint should be superfluous anyway since the optimizer should switch to FIRST_ROWS_n mode automatically.
    2. Why do you use a BITMAP index and not a conventional b*tree index? Let me hazard a guess: Because the INTERFACE column has a small number of distinct values? That would be in most cases a bad idea.
    3. What seems to be odd that you're accessing the data via the BITMAP index on INTERFACE, but request an ORDER BY ID DESC. But there is no order by in the execution plan posted. I wonder where the order should come from? Can you show us the DDL of the bitmap index?
    4. What does the plan look like if you run only the inner query without the outer query?
    You can always gain more information by tracing the statement execution or using the GATHER_PLAN_STATISTICS hint together with the DBMS_XPLAN.DISPLAY_CURSOR function.
    Please read this HOW TO: Post a SQL statement tuning request - template posting that explains what you should provide if you have SQL statement tuning question and how to format it here so that the posted information is readable by others.
    This accompanying blog post shows step-by-step instructions how to obtain that information.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • How to call a query from filter.

    can anyone please guide me how i will call a query of query resource in filter. Or i need to access a query resource query in filter java code. I know how to right a query in java code and execute it, but i have some query in query.htm and need to call it in filter, please help me out.

    <tr>
      <td>name</td><td>queryStr</td><td>parameters</td>
    </tr>
    <tr>
      <td>sampleQuery</td>
      <td>Select * from revisions where dDocName = ? and dInDate =?</td>
      <td>dDocName varchar
             dInDate date</td>
    </tr>
    DataBinder params = new DataBinder();
    params.putLocal("dDocName", "123456789");
    params.putLocal("dInDate", "9/5/13 12:58 PM");
    m_workspace.createResultSet("sampleQuery", params); 
    You may need to play with what date format you send into the query.
    Jonathan
    http://jonathanhult.com

  • Query to pull out Vendor details with AP invoice

    Hi all
    I have made the following query to pull out the following data
    House Bank Account, Customer/Vendor Name,Payment Method code,Default Account,Default Branch,Default bank Internal id,
    Document NUmber,Customer/Vendor Ref No,Row Total,Item/Service description,Branch,Street
    SELECT T0.[HousBnkAct], T1.[CardName], T0.[PymCode], T0.[DflAccount],T0.[DflBranch],  T0.[BankCtlKey], T1.[DocNum],T1.[NumAtCard],  T2.[LineTotal], T2.[Dscription], T3.[Branch], T3.[Street] FROM OCRD T0  INNER JOIN OPCH T1 ON T0.CardCode = T1.CardCode INNER JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry INNER JOIN DSC1 T3 ON T0.HousActKey = T3.AbsEntry WHERE T1.[DocDate] >=[%0] AND  T1.[DocDate] <=[%1] AND  T1.[DocStatus] = 'o' AND  T0.[PymCode] = 'EFT'
    But i have observed that i am not getting all the customers in this query where the invoice is open, it displays only few records.
    Regards
    Farheen

    Hi Farheen......
    Please try this........
    SELECT T0.HousBnkAct, T1.CardName, T0.PymCode, T0.DflAccount,
    T0.DflBranch, T0.BankCtlKey, T1.DocNum,T1.NumAtCard, T2.LineTotal, T2.Dscription,
    T3.Branch, T3.Street FROM OCRD T0 LEFT JOIN OPCH T1 ON T0.CardCode = T1.CardCode
    LEFT JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN DSC1 T3 ON
    T0.HousActKey = T3.AbsEntry WHERE T1.DocDate >='[%0]' AND T1.DocDate <='[%1]' AND T1.DocStatus = 'o' AND T0.PymCode = 'EFT'
    Regards,
    Rahul

  • Query to find out the time used by an user for an application

    Hello All,
    I want to know the query to find out the whole time used by the user for an application. Please view the below data
    Employee:
    SNO EMP_ID EMP_NAME EMP_DATE LOGIN_TIME LOGOUT_TIME
    1 10 Visu 21-Nov-2010 06:30:00 07:30:00
    2 10 Visu 21-Nov-2010 06:40:00 07:20:00
    3 10 Visu 21-Nov-2010 06:50:00 07:50:00
    4 10 Visu 21-Nov-2010 07:30:00 08:30:00
    5 10 Visu 21-Nov-2010 09:30:00 10:30:00
    By checking the above data we can say that the total time Visu used the application is
    8.30 - 6.30 (From 1,2,3,4 records) = 2hrs
    10.30 - 9.30 (Based on 5th rec) = 1hr
    So the total time Visu used the application would be 3 hrs = 180 mins.
    Could you please help me in getting the result from that data using a query?

    odie_63 wrote:
    I think it may be solved with analytics too.
    with t1 as (
                select 1 sno,10 emp_id,'Visu' emp_name,'21-Nov-2010' emp_date,'06:30:00' login_time,'07:30:00' logout_time from dual union all
                select 2,10,'Visu','21-Nov-2010','06:40:00','07:20:00' from dual union all
                select 3,10,'Visu','21-Nov-2010','06:50:00','07:50:00' from dual union all
                select 4,10,'Visu','21-Nov-2010','07:30:00','08:30:00' from dual union all
                select 5,10,'Visu','21-Nov-2010','09:30:00','10:30:00' from dual
         t2 as (
                select  emp_id,
                        emp_name,
                        emp_date,
                        to_date(emp_date || login_time,'DD-MON-YYYYHH24:MI:SS') login_time,
                        to_date(emp_date || logout_time,'DD-MON-YYYYHH24:MI:SS') logout_time
                  from  t1
         t3 as (
                select  t2.*,
                        case
                          when login_time < max(logout_time) over(
                                                                  partition by emp_id,emp_date
                                                                  order by login_time
                                                                  rows between unbounded preceding
                                                                           and 1 preceding
                            then 0
                          else 1
                        end start_of_group
                  from  t2
         t4 as (
                select  t3.*,
                        sum(start_of_group) over(partition by emp_id,emp_date order by login_time) grp
                  from  t3
         t5 as (
                select  emp_id,
                        emp_date,
                        min(login_time) login_time,
                        max(logout_time) logout_time
                  from  t4
                  group by emp_id,
                           emp_date,
                           grp
    select  emp_id,
            numtodsinterval(sum(logout_time - login_time),'day') time_spent
      from  t5
      group by emp_id
      order by emp_id
        EMP_ID TIME_SPENT
            10 +000000000 03:00:00.000000000
    SQL> SY.

  • SharePoint 2013 List View with query string filter stops working after editing view from browser

    I have created one list definition in which I have added one list view which will filter data from query string paramater
    So when I am creating list from my list definition, view with query string filter is working fine.
    But when I am modifying view from UI(I am not changing any thing , just opening "Modify View" page and then click on "Save" button), view gets stop working means it's not filtering data based on query string
    Any suggestion what I am missing?
    Below is my list view schema
    <View BaseViewID="11" Type="HTML" TabularView="FALSE" WebPartZoneID="Main" DisplayName="$Resources:OIPLBScoreCard,viewFilterTasksByTarget;" MobileView="True" MobileDefaultView="False" Url="FilteredTasks.aspx" SetupPath="pages\viewpage.aspx" DefaultView="FALSE" ImageUrl="/_layouts/15/images/issuelst.png?rev=23">
    <Toolbar Type="Standard" />
    <ParameterBindings>
    <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
    <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
    <ParameterBinding Name="TargetId" Location="QueryString(TargetId)" />
    </ParameterBindings>
    <JSLink>hierarchytaskslist.js</JSLink>
    <XslLink Default="TRUE">main.xsl</XslLink>
    <JSLink>clienttemplates.js</JSLink>
    <RowLimit Paged="TRUE">100</RowLimit>
    <ViewFields>
    <FieldRef Name="Body"></FieldRef>
    <FieldRef Name="Title"></FieldRef>
    <FieldRef Name="StartDate"></FieldRef>
    <FieldRef Name="DueDate"></FieldRef>
    </ViewFields>
    <ViewData>
    <FieldRef Name="PercentComplete" Type="StrikeThroughPercentComplete"></FieldRef>
    <FieldRef Name="DueDate" Type="TimelineDueDate"></FieldRef>
    </ViewData>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name="oipscTargetLookup" LookupId="TRUE"/>
    <Value Type="Lookup">{TargetId}</Value>
    </Eq>
    </Where>
    </Query>
    </View>
    I have one lookup field from "Target List" in my source list and I want to filter data based on that lookup field.

    Hi JayJT,
    The Miscellaneous is located in the contact list that you used for the connection.
    So , you need to edit the page, then edit the contact list that you used, in the web part properties of the contact list, you will find Miscellaneous, then expand it and select ‘Server Render’ .
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • HELP!  I can't  filter out jsf-impl.jar

    Every jar file can be filtered out of a deployment file EXCEPT jsf-impl.jar, Why?
    JDeveloper (older) version of jsf-impl.jar is causing problem with a newer version in JBossAS 4.2.0.CR1 and consequently, throwing java.lang.ClassCastException error. I can filter out every other jar file but not jsf-impl.jar.
    If I manually remove the jsf-impl.jar from my project /WEB-INF, JDeveloper complains about the missing jsf-impl.jar when I restart it. The other alternative is to manually delete the jsf-impl.jar from my *.war file every time I re-deploy it to JBossAS. This option is very tedious in production with frequent re-deployment.
    Could someone suggest a more civilised approach to excluding jsf-impl.jar from my deployment file? I will also like to know why it is not possible to filter out jsf-impl.jar like other jars. Could this be a bug?
    Thanks for your help

    I have found the problem: For those who might be interested and in addition to the normal way filtering deployment files, you also need to uncheck the jsf-impl.jar as follows;
    1 This is in the War Deployment Profile Property
    2 Right click web project name
    3 Click the ‘War Deployment Profile Property’ option
    4 The ‘War Deployment Profile Property’ dialog open
    5 Select File Group
    6 Select Web Filter
    7 Select Contribution
    8 Select Filter
    9 Select WEB-INF
    10 Select lib
    11 Uncheck jsf-imp.jar

  • Any way to set color for value in chart and still filter out values (but retain colors)?

    Is there any way that I can hard code a color into a chart and still filter out values?
    I have 5 divisions, each with a specific color.  I have put them into a stacked column chart and it looks fine.  My issue arises when I try to filter out some of the divisions.  The colors do not stay with the specified divisions.
    Ex.)
      Div 1 = Red
      Div 2 = Green
      Div 3 = Black
    When I filter out Div 1, this is what I see:
    Div 2 = Red
    Div 3 = Green
    I have tried standard delivered filter panel, and check-boxes using CHART_1.setDataSelection( )
    It seems like the color hard coding in the "additional" properties of the chart are not tied to the value, but are determined by sort order.  Any help is greatly appreciated

    Hi,
    There is one Possibility bu not By chart .
    It will look like chart but will use Text box .
    Lets say you have 5 Divisions & 3 Key figures .
    Then You need 5 * 3 = 15 Text box .
    Arrange them in 5 columns and 3 rows type of view .
    now .
    set fix width for all .
    set the height & position by coding
    You need to set this type of code for filter selection also .

  • Query level filter not working in Webi report

    Hi All,
    I am using BOXI R3.1 (SP3), m facing one problem when refreshing Webi report on daily basis. I am using three query level filter as a prompt, but i checked one filter is not working then i need to reapply this filter and rest 2 filter is working fine.
    Can anyone suggest me why problem is coming?
    Regards,

    Hi,
    Prompts are interactive, and come from the query panel. Filters are not interactive, and are set on the report or block. There are also input controls, which are interactive filters
    1. Select the universe in the list of universes to open the Query Panel.
    2. Drag the Year object to the Result Objects pane.
    3. Drag the Number of Guests object to the Query Filters pane and create a report filter that restricts Number of Guests to greater than n.
    4. Click Combined Query.
    The Combined Query pane appears in the bottom left of the Query panel with the two queries joined by UNION.
    5. Click on the second query and remove the Year and Number of Guests objects.
    6. Drag the Reservation Year object to the Result Objects pane.
    7. Drag the Future Guests object to the Query Filters pane and create a report filter that restricts the future guests to greater than n.
    8. Click Run Query.
    Best Regards
    Naveen

Maybe you are looking for