Recordset  mysql with IN filter

I think this is a wishlist thing, but if it can be done, I'd
like to know how.
It would be very helpful if there was more robust support for
the "IN" filter on recordsets.
While it works 'ok" with numeric values i.e. WHERE whatsit IN
(1,2,3) DW seems intent on not allowing a way to construct a query
like
WHERE state in (stateslist) -- where stateslist is a column
variable ... e.g. .. $stateslist = "'MD','GA','PA'"
because it insists on quoting the bejeezes out of it.
Or... I could be missing something really obvious... Mostly
it is for dealing with arrays (checkboxes for instance) being
returned from a form and needing to process the info for each.

Have you tried just setting it with a variable and then
setting the variable
outside of your recordset? That's what I do (not with in, but
similar
situations).
HTH,
Jon
"Shoshanaz" <[email protected]> wrote in
message
news:e8j58m$ei0$[email protected]..
>I think this is a wishlist thing, but if it can be done,
I'd like to know
>how.
>
> It would be very helpful if there was more robust
support for the "IN"
> filter
> on recordsets.
>
> While it works 'ok" with numeric values i.e. WHERE
whatsit IN (1,2,3)
> DW
> seems intent on not allowing a way to construct a query
like
>
> WHERE state in (stateslist) -- where stateslist is a
column variable
> ...
> e.g. .. $stateslist = "'MD','GA','PA'"
> because it insists on quoting the bejeezes out of it.
>
> Or... I could be missing something really obvious...
Mostly it is for
> dealing with arrays (checkboxes for instance) being
returned from a form
> and
> needing to process the info for each.
>
>
>
>

Similar Messages

  • Issue with parameter/filter - trying to display null rows

    This is how my data looks in the database
    Order_ID -----   Vendor
    ID123             NULL
    ID234             ABC
    ID456             NULL
    ID001             CDE
    I want to create an SSRS report with a filter for vendors
     *All Vendors should be checked off by default
     *Users should be able to select multiple vendors
    So I started by creating the VendorDataSet, the query looks like
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    *This query will return all active vendors stored in my vendor table
      Then, I created my parameter @prmVendor and it looks like:
     -Data Type: Text
    -Allow blank value("")
    -Allow multiples values
    Available Values:
    -Dataset: Vendor
    -Value field: vendor_name
    -Label field: vendor_name
    The main query of the report looks like
    Select Order_ID, Vendor
    FROM Order
    LEFT JOIN Vendors
    ON Order.VendorID = Vendor.ID
    WHERE Vendor IN (@prmVendor)
    So at this point it does what is supposed to do except - that when I run the query with all the vendors selected,
    the query will only return the ones with vendors populated.
    Order_ID -----   Vendor
    ID234             ABC
    ID001             CDE
    I've tried adding the following to my VendorDataSet:
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT '' -- I've also tried SELECT NULL
     But when I run the report and look at the list of vendor displayed - it won't show the empty row in the vendor drop down filter
    thus, my main query will ignore the orders with no vendors.
     Any ideas on how to fix this issue?
    -Alan

    So I changed my VendorDataSet to look like this:
    ;WITH cteVendors AS (
    SELECT VendorName
    FROM Vendor
    WHERE Active = 1
    UNION ALL
    SELECT ''
    SELECT (CASE WHEN Vendor IS NULL THEN '' ELSE Vendor END) AS VendorName
    FROM cteVendors
    This allowed me to show an empty box in my drop down filter see link for
    image
    Is there a way to make some changes to my main query so this works? so if the user was to select the blank box the query will return something like :
    Order_ID -----   Vendor
      ID123             NULL
       ID456             NULL
    -Alan

  • I can isolate a bookmark with the filter, but how can I "find" a bookmark in the hierarchy of the ShowAllBookmarks window?

    I want to find a bookmark in its location in the hierarchy of bookmarks, but all I can do with the filter is isolate a bookmark[s]; either using the filter of the bookmarks sidebar, or in the ShowAllBookmarks window. For instance, I know I have a certain bookmark, but I want to move it into a new "folder" and rename it, perhaps; for this I need to be able to *see* it in the hierarchy, as in the Finder of a Mac, when the filter turns up a file, then "Show Original" of "Open Enclosing Folder."

    I'm just trying to understand how to use these add-ons, having just added them on, to borrow a phrase, but have now found a comment re Go Parent Folder, "This extension does not seem to work in MacOS X. " <http://forums.mozillazine.org/viewtopic.php?t=659690>. Sadly [altho I really like Snow Leopard] I'm running OS X.6.7. Nonetheless a contextual menu mousing down on a "found" bookmark indeed does give the working option of "Go to Parent Folder" from the found list of the ShowAllBookmarks window, *or* the that of the sidebar window. Bravo!!
    Just a question again, how would I have learned this had I not bothered the entire forum, and taken cor-el's time/effort?

  • Error while using a VIEW with a FILTER - 0x80131904

    Dear Colleagues,
    I've a list and I want to use a view with a filter on a specific field.
    [Attribution] is egal to [Me]
    My Sharepoint 2013 keeps providing this error when I open the view filtered :
    Exception from HRESULT: 0x80131904
    Correlation ID:fc8650d8-5f52-4ceb-b819-0f784ec0318f
    ULS shows the following :
    01/07/2014 17:44:58.41 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.42 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PostResolveRequestCacheHandler). Temps d’exécution=13,5726747393873 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High ...lock) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General xxpm High Unable to execute query: Error 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation General 8e2s Medium Unknown SPRequest error occurred. More information: 0x80131904 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (EnsureListItemsData). Temps d’exécution=12,6535635115636 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High Error while executing web part: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x80131904 ---> System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListNa... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...me, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCal... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a1 High ...lback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High InnerException 1: System.Runtime.InteropServices.COMException (0x80131904): Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeAr... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.48* w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Web Parts 89a2 High ...rayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    01/07/2014 17:44:58.50 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:http://vspar-spfw-01:80/Lists/Conduite%20Changement/Requtes%20Attribues%20%20Moi.aspx)). Temps d’exécution=95,5520883240747 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    The filtered field is a list of choices with no multiples values.
    I'm pretty sure the issue is located here :
    01/07/2014 17:44:58.48 w3wp.exe (0x21C0) 0x2AF4 SharePoint Foundation Database d0d6 High System.Data.SqlClient.SqlException: Conversion failed when converting the nvarchar value 'Benjamin RIOU' to data type int. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.HasMoreRows() at System.Data.SqlClient.SqlDataReader.ReadInternal(Boolean setTimeout) at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock) at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordead... 3d46579c-63c3-4dc9-bb9a-e7155e8da45a
    What can I do ?
    Thanks
    Best regards  / Ben

    Hi Ben,
    How did you design the filter on the view?
     This error usually occurred when people use SQL T-SQL. Here are two similar posts , please check whether they are useful for you:
    http://social.technet.microsoft.com/Forums/en-US/e1ba76f9-855f-4087-91a7-c3e492e59be4/conversion-failed-when-converting-the-nvarchar-value-xxxxxx-to-data-type-int?forum=transactsql
    http://social.technet.microsoft.com/Forums/en-US/1d0ab5f9-2ea6-4399-abbf-0c23b456e0f4/conversion-failed-when-converting-the-nvarchar-value-bottle-to-data-type-int?forum=transactsql
    Please create a new list, and create a new view, then add a filter on the view, compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to fetch data from Mysql with SSL.

    I am using jdk1.5 and mysql 5.0.
    How to fetch data from Mysql with SSL
    I am using url = jdbc:mysql://localhost/database?useSSL=true&requireSSL=true.
    It shows error. how to fetch

    I have created certificate in mysql and checked in mysql.
    mysql>\s
    SSL: Cipher in use is DHE-RSA-AES256-SHA
    but through ssl how to fetch data in java.

  • None of fact sources are compatible with detail filter

    Hello
    We have 2 facts and 7 dimensions defined in physical layer and below are the relationships between them
    D1, D2, D3, D4, D5 are conformed dimensions and all joined to F1 and F2
    D6 is joined to F1
    D7 is joined to F2.
    In BMM layer, I combined two facts(F1 and F2 ) into one fact with two logical sources. And even set the aggregation content level for LTS of F1 to "total level of D7" and
    LTS of F2 to "total level of D6".
    Whenever I create a report with D6 attributes and D7 attributes without any filter D6 or D7 attribute filters., the report is generating fine. But if the report is using any of the D6 or D7 attributes in filter, I am getting the error *"None of fact sources are compatible with detail filter... "*
    Am I missing something. Can someone please help how to resolve this.
    BTW..We are on version 11.1.1.5
    Thanks,

    I am confused here..could you please explain why do you have to set the "Total" Level to Dimension D7 for F1 and "Total" Level for Dimension D6 on F2?
    Lets talk about F1 first:
    In your case F1 is joined to D1 through D6. Then in the logical layer, on the fact, have you set the levels for the dimensions D1 through D6 to all Detail or lowest level (ROW_WID/KEY)? (Assuming no hierarchies and all are at detail level)
    Similarly check the levels on the fact F2. My guess is that it is something to do with your logical level settings. Make sure the logical level are set correctly on the correct dimensions.
    Hope this helps.

  • Issue with a filter

    I am having a really hard time applying the filter "Brush Strokes -> Angled Strokes" to a colored box, whether it's just a selection or a rectangular box.
    I did this once and it worked (i.e. The box kept the same color and the correct filter was applied to it), but now I am trying to do it with a different box, whenever I access the Filter Gallery with the box selected, the color remains flat, even with the filter in question highlighted. I've tried everything I can think of, but it just seems like a weird glitch.. First time it worked, now it doesn't. Any idea what could be causing this?
    Thanks a lot in advance.

    New shapes on new layers don't have any layer styles for me.  I don't recall running across an option for applying layer styles to new shapes. 
    Is it possible you're drawing pixels on the same layer?  Layer styles are applied equally to whatever's on the entire layer.
    As far as I know, new layer styles use whatever defaults you explicitly set for them.  There are buttons such as the one shown below for setting your own default.
    The [ ] Use Global Light feature is a bit special in that it uses one global angle for all layer styles (change any one and they all change) - the idea being that things look better when the shadows and highlights all imply the light is coming from the same direction.
    Can you describe a specific case where the default you set isn't being used?  I'll be happy to try to reproduce it.
    -Noel

  • All items are not visible even with no filter

    I have a custom list and am not able to run a search the list, through the "all items" view, even with no filter set.  The list is also set to only view 50 items at a time, but I am not able to view the next batch of items.  The search
    will give no results even when the list contains the item with that specific information.

    Hi,
    1) I understand you are not able to view the 'All Items' in the list.
    Can you check the total number of items that list contains.
    Go to Site Actions-->View All site content see the number of items beside the list name( right side)
    I suspect the list might be reached the threshold value.
    2) If the number of Items are less than the threshold value then I would suggest you do a  test by creating another view by providing only the view name (Don't use any sort, Filter, Groupby ...etc) and just keep the default settings and let me
    know if you are able to see the items using the newly created view.
    ****************************************************************************************** Please remember to mark your question as answered &Vote helpful, if this solves/helps your problem.
    s p kumar

  • How to know if implementation with a filter value exist for a BAdI in code?

    Hi all,
    Scenario:
    I created a BAdI. There will be a button on the UI to call its implementation(s); while if there is no implementation with specified filter value, this button needs to be hidden. Thus I need to know if the implementation exist before calling it.
    Question:
    In the ABAP code, how to get whether implementation with specified filter value exists for a BAdI?
    If it's possible, please help provide code.
    Thanks and regards,
    Said

    Problem solved:
    data: r_badi type ref to YOUR_BADI,
              badi_impl_num type i.
      get badi r_badi
        filters
          flt_name = fit_val.
      badi_impl_num = cl_badi_query=>number_of_implementations( badi = r_badi ).
      if badi_impl_num > 0.
        "there are badi implementation(s)
      endif.

  • Can you take a photo on an iPad 2 with a filter or do you have to add one after?

    Can you take a photo with a filter or can you only add it after?

    I guess you could tape a filter over the camera lens.
     Cheers, Tom

  • Content iView With out filter not displaying folder content

    Hi!
    I´m creating a ContentiView with out filter and pointing it to a document Folder, when the user access the iView this message appears:
    http://oneworld.neoris.net:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fDemaBanorte!2fDemoBanorteRol!2fHome!2fBanortePage!2fContentiViewWOFilter/documents/BanorteDocuments
    The folder you are looking for has no displayable content.
    You can try one of the following:
    Access the folder using the Navigation user interface.
    Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    And when I click on "Access the folder using the Navigation user interface." then I can see the folder structure and its contents really nice.
    is there a way to configure the iView that allways display the content this way with out the user clicking on the "Access the folder using the Navigation user interface." option. ?
    Thanx in advanced!
    Gerardo J

    Hi,
    I resolved the problem using a KM Navigation iView, this iView has the functionality I was looking for and this displays the folders and then the content of the folders if we click on the folder. with the edit etc etc functionality.
    kind Regards,
    Gerardo J

  • Problem with Extract Filter

    I have Problem with Extract Filter which was working OK until recently.
    Now, when I choose the filter the screen does not come up as the extract screen as it should and no other action can be taken except to press escape which returns me to normal. working.    Looks as if the extraction function has been sleected but does not show?
    I am trying to use the  extract on a layer.  Have tried to use it on a selection also.
    Anyone suggest a solution please?
    Bill

    Without a way to reset the tool, the only possibility seems to be to reset your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    (A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.)

  • 2 same surrogate keys with different filter conditions in one report

    how do we put 2 same sr keys with different filter conditions in one single report??
    for example, we have to get the 'count' for tm_sr_key:
    1. count(tm_sr_key) where past_due_flag = Y
    2. count(tm_sr_key) where past_due_flag = Y and N
    to be displayed in one single report.
    it happens that both sr_keys will display the same measure (which is the 1st filter conditions)
    and the filter under criteria tab in anwer will show as :
    tm_sr_key where {filter condition 1}
    AND
    tm_sr_key where {filter condition 2}
    instead of :
    tm_sr_key where {filter condition 1} for 1st measure
    tm_sr_key where {filter condition 2} for 2nd measure
    d only option i could think right now is to duplicate the tm_sr_key data in the same table but with different name say, tm_sr_key_2..
    kindly pls help.
    thanx

    i'm sorry, not really understand.
    could you pls explain a bit more about the filter column? how do we do it? coz i'm really new in this tool.
    r u talking about editing the filter located under the column on the right side of the OBIEE answers?
    or is it by editing the 'edit column formula' for required column; that is by replacing the 'column formula' expression with this:
    FILTER(EXPS_FACT.FAC_SR_KEY USING EXPS_FACT.PAST_DUE_FLAG = 'Y') <----if it is like this, i tried it already & its giving me an error message..
    thanx.
    Edited by: rezza.nasha on May 28, 2009 1:26 AM

  • Problem with ALV filter functionality when filtered for multiple values

    Hi,
    I am facing a problem with ALV filter functionality.
    I have displayed an ALV with some columns col_A, col_B and col_C
    col_A---- col_B -
    col_C
    1----
    a -
    abc
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    5----
    f -
    stu
    From the settings link I am applying filter on column col_C and selected multiple values say 'pqr', 'xyz' and 'lmn'.
    Now the ALV is showing rows only for last selection i.e . results are fetched only for value 'lmn'.
    i.e. after applying the filter the ALV table looks as below:
    col_A---- col_B -
    col_C
    3----
    c -
    lmn
    But ideally it should be:
    col_A---- col_B -
    col_C
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    I could not find any OSS note related to this issue.
    Please help me resolve this issue.
    Thanks,
    Feroz

    Hi,
    I am facing a problem with ALV filter functionality.
    I have displayed an ALV with some columns col_A, col_B and col_C
    col_A---- col_B -
    col_C
    1----
    a -
    abc
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    5----
    f -
    stu
    From the settings link I am applying filter on column col_C and selected multiple values say 'pqr', 'xyz' and 'lmn'.
    Now the ALV is showing rows only for last selection i.e . results are fetched only for value 'lmn'.
    i.e. after applying the filter the ALV table looks as below:
    col_A---- col_B -
    col_C
    3----
    c -
    lmn
    But ideally it should be:
    col_A---- col_B -
    col_C
    2----
    b -
    pqr
    3----
    c -
    lmn
    4----
    d -
    xyz
    I could not find any OSS note related to this issue.
    Please help me resolve this issue.
    Thanks,
    Feroz

  • Two tables with different filter values base on a analysis

    Hi guys,
    let assume that I have a analysis with columns : group_id and sales.
    Based on it I would like to create two tables : table1 where group_id =1 and table2 where group_id = 2.
    Is OBIEE capable of doing it?
    Regards,
    Slavi

    Hi Slavi,
    You can do that in single analysis, but you need to have the group_id column two times.
    That is, bring group_id_1, group_id_2 (same column), sales
    Now in table 1,
    bring group_id_1, sales
    Then in selection steps for group_id_1 -> Select Members -> Action choose keep only -> choose the filter value 1
    This will filter the table 1 with group_id 1
    In table2 bring group_id_2, sales
    Then do the same step for group_id_2 with value 2.
    now in same report you have two reports with different filter.
    If you want you can keep the same column name for both group_id columns, I just kept group_id_1, group_id_2 for easy reference.

Maybe you are looking for