Filters in queries

when a query is executed, into the data table and navigational block in the filters availables the match
of  any characteristic show to select all the values present in the data master of the characteristic "Not
only the values availables in the set of information filtered by the main filter of the query",  if the
requirement is to show "only the information present in the query". Is there any way to get that? or there
is a tool or a configuration available to do that?

Hi,
I am unable to understand your problem can you please check you question once again.
Thanks
Ranga.

Similar Messages

  • Use of Planning Filters in Queries in NW2004s

    I was wondering if any Integrated Planning experts could help me with a problem I have.
    In the 'old world' BPS a planning layout was attached to a planning level and by using filters (planning packages) many different 'views' or slices of information could be made available to the user. For example I could create a planning layout for my balance sheet and create a number of filters for the different parts of my business.
    In NW2004s planning is now done in the query and the planning filter can be placed in the filter of the query. However this enforces a one to one relationship between the filter and the query which would mean I would need multiple queries for each of the parts of my business instead of the one layout under BPS3.x. Being able to create a variable on the filter would be one way around this but this is not possible.
    Can anyone advise on how this now works in NW2004s as at present this looks like a significant retrograde step in functionality.
    Cheers,
    R

    I have somehow managed to workaround the issue.
    I use one aggregation level without Stage field to allow users to modify the data and then I use another aggregation level with Stage field to process the Stages using planning functions and filters. This works.
    I am still curious on the user exit proposed by Andrey.
    Andrey can you please provide step by step on how we achieve this?
    Thanks,
    DV

  • Table for filters in queries

    Is anyone aware of any tables which show the filters that are used in a query i.e. the infoobject that is used in the filter? Thanks

    Hi Niten,
    This might help you:
    Intercepting fixed values launching query

  • Issue with Multiple LTS for a fact table and filters

    Hello,
    I am facing an issue with obiee 10g.
    In my model, I have a huge FACT table F1 (partitioned and indexed). The average response time for the queries, which targeted it, was ~30-60 seconds, which was not really convincing our end user.
    So, we decided to create a materialized view, which removes some dimensions that are not used by default, but might be used if the end user adds some filters. I added the Materialized view in the Physical Layer and in the corresponding Logical Table Source.
    I then tried to see if it works, but I was a bit surprised by the result. Indeed,
    -> If the report does not reference a truncated dimension, it targets the materialized view. -> Perfect
    -> If the report does reference a truncated dimension in the columns, it targets the Fact Table. -> Perfect
    -> If the report does reference a truncated dimension in the Filters, it targets the materialized view. For this reason, the filter is never resolved and no join on the dimension table is applied, whereas it exists in logical SQL generated. -> Ko.
    A suggestion could be to add the filters into the columns, but I am not satisfied by this response because it will never use the materialized view in that case.
    An other suggestion could be to use query rewrite, but I 'd like to have the full control on the generation of the queries.
    Does someone know if the filters are not evaluated to determine which LTS to use? How can I force this evaluation?
    Regards,

    Hi,
    If I understand your description correctly, then your materialized view skips some dimensions (infrequent ones). However, when you reference these skipped dimensions in filters, the queries are hitting the materialized view and failing as these values do not exist. In this case, you could resolve it as follows
    1. Create dimensional hierarchies for all dimensions.
    2. In the fact table's logical sources set the content tabs properly. (Yes, I think this is it).
    When you skipped some dimensions, the grain of the new fact source (the materialized view in this case) is changed. For example:
    Say a fact is available with the keys for Product, Customer, Promotion dimensions. The grain for this is Product * Customer * Promotion
    Say another fact is available with the keys for Product, Customer. The grain for this is Product * Customer (In fact, I would say it is Product * Customer * Promotion Total).
    So in the second case, the grain of the table is changed. So setting appropriate content levels for these sources would automatically switch the sources.
    So, I request you to try these settings and let me know if it works.
    Thank you,
    Dhar

  • No data in SMOREPMA table even when the BW workbooks are visible

    Hi,
    We’ve connected the CRM system and the BW system successfully. In BW System, the workbooks, queries and the users with respective roles have been assigned. Now using the transaction SMOBILEBW in CRM, we are able to view the workbooks and the queries.
    The replication object REP_BOREPMA_WRTE, has been updated with relevant filters for queries and the workbooks. Before we moved to the mobile clients for the synchronization, I checked the table SMOREPMA table, and couldn’t find any information about these BW workbooks and queries. I understand that there should be 2 entries each, one for workbook and one for query, then it works successfully.
    When will the data be updated to the table SMOREPMA? And how is it done? Automatically??
    Are we missing anything here? Please help us.
    Regards,
    PG
    Message was edited by:
            PG

    Hi,
    We've followed the instructions given at help.sap.com documentation.
    http://help.sap.com/saphelp_crm50/helpdata/en/fc/c5154de9d611d3b2b50050da403d6a/frameset.htm
    Finally, we're able to view the workbooks,queries and the roles assigned. And there are no entries for the Workbooks sent to CRM, in the CDB table SMOREPMA.
    Also, it is no where mentioned in the documentation that the entries for workbooks and the queries, will be updated in the CDB table (SMOREPMA). When will this be updated? and how?
    Please help us.
    Regards,
    PG
    *********Helpful answers will be awarded points*********

  • "Select" Physical table as LTS for a Fact table

    Hi,
    I am very new to OBIEE, still in the learning phase.
    Scenario 1:
    I have a "Select" Physical table which is joined (inner join) to a Fact table in the Physical layer. I have other dimensions joined to this fact table.
    In BMM, I created a logical table for the fact table with 2 Logical Table Sources (the fact table & the select physical table). No errors in the consistency check.
    When I create an analysis with columns from the fact table and the select table, I don't see any data for the select table column.
    Scenario 2:
    In this scenario, I created an inner join between "Select" physical table and a Dimension table instead of the Fact table.
    In BMM, I created a logical table for the dimension table with 2 Logical Table Sources (the dimension table & the select physical table). No errors in the consistency check.
    When I create an analysis with columns from the dimension table and the select table, I see data for all the columns.
    What am I missing here? Why is it not working in first scenario?
    Any help is greatly appreciated.
    Thanks,
    SP

    Hi,
    If I understand your description correctly, then your materialized view skips some dimensions (infrequent ones). However, when you reference these skipped dimensions in filters, the queries are hitting the materialized view and failing as these values do not exist. In this case, you could resolve it as follows
    1. Create dimensional hierarchies for all dimensions.
    2. In the fact table's logical sources set the content tabs properly. (Yes, I think this is it).
    When you skipped some dimensions, the grain of the new fact source (the materialized view in this case) is changed. For example:
    Say a fact is available with the keys for Product, Customer, Promotion dimensions. The grain for this is Product * Customer * Promotion
    Say another fact is available with the keys for Product, Customer. The grain for this is Product * Customer (In fact, I would say it is Product * Customer * Promotion Total).
    So in the second case, the grain of the table is changed. So setting appropriate content levels for these sources would automatically switch the sources.
    So, I request you to try these settings and let me know if it works.
    Thank you,
    Dhar

  • VC Chart legend Display

    Hello Everybody,
    Here we are facing a problem in our Visual composer Dashboard.
    We have upgraded the patch level of EP server from SP10 to SP17 and BW patch level is SP19.
    We are using VC 7.0 with compiler Flex2.
    In our Dashboard we are displaying some Queries's results via "Line" chart type.
    In Category Axis field we have 'fiscal_year_period'. In Data Series field we have one key figure per Business area (There are 25 Data Series key figures).
    eg.  Generation per Business Area.
         Generation for 1033
         Generation for 1004
         Generation for 1007
         Generation for 1015
    Now we are filtering the Queries's output according to Buisness Area. But after the filteration of values in Chart the legends (Legend Placement = below ) are not changing dynamicaly as per the input Buisness Area.
    eg . If we have filtered for two Business Areas the Chart is also coming for two Business Areas but the legends (Legend Placement = below ) are coming for all Business Areas.
    Kindly Help us as we are not able to find any solution.
    Thanks & Regards
    Nivedita

    Hi Nivedita,
    Of course you have this problem becouse the Data Series declaration is static.
    You can hide the legent and the end user can use tooltip in order to understand line's Business Area.
    If this solution is not enough, give some table generated from the same query with same filtering and for each row attach color used in chart (the appearance of chart colors is permanent). It's something very tricky and may bring down the performance.
    Another way is to use Business Graphics of WebDynpro in order to create your dashboard and forget about problems like this
    Good luck,
    Ola

  • What is data selection? how does it work in sap bi?

    details about data selection process

    Hi Nihar,
    1. Data in SAP comes from different sources .
    2. Sometime we have generalize data from which we need specific data based on our reporting requirement .
    ex: If data is coming from standard extractor etc then it is generalized for various reports .If you have specific requirement then you don't need all the data to be loaded in DSO and Cubes .
    3.Sometime there is huge amount of data so we select data as per our requirement ex :yearly ,Quarterly ,Fiscal period wise ,Company code wise etc .
    4.We can filter out useful data at different level like :
    At info package level ,at DTP level ,By routines in transformation ,By using filters at queries etc .
    The whole purpose of selection is to load only useful data for reporting .It is part of process of cleansing of data before loading in a Warehouse .
    Regards,
    Jaya Tiwari

  • Generic navigation block,Hierarchy filter selection and Filter

    Hi all,
    Could any one explains what is the difference between a filter and Generic navitgation block & a filter and Hierarchy filters.
             How the filters in web reports differs the filters in queries.
    Regards,
    Preetham

    Hi,
    Filters:
    In your Web application, you can select filter values for characteristics and structures. The Web application is then filtered according to these selected values.
    Generic Navigation Block:
    The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can transfer characteristics and structures to an axis (rows or columns) or from an axis. You can filter according to single values and remove the filter again.
    Hierarchy Filter:
    You can search through leaves and nodes in the hierarchies of your Web application.
    Seen this?:
    http://help.sap.com/saphelp_nw04/helpdata/en/70/4c7ead79eaf0498afa31528072900d/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/35/a5507170d8c548a25e4e532f3917a3/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/35/a5507170d8c548a25e4e532f3917a3/frameset.htm
    assign points if useful ***
    Thanks,
    Raj

  • BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted

    Hi Team,
    We are geting following error message while running WAD reports on BI QA and Test system portal.
    Our issue is similar to the issue mentioned in SDN thread BICS_PROV_GET_INITIAL_STATE Exception
    - We are facing issue in refreshed systems.
    - Variable Entry Screen is displaying correctly.
    - After entering values once you click on "OK"  we are getting UNCAUGHT_EXCEPTION.
    - Support Desk tool is displaying green.
    - Same report is executing fine in Dev and Prod system.
    - BI Queries are running fine on Portal
    - Only WAD reports are giving exceptions
    - Support desk tool is showing green for everything.
    Error Message:
    Exception in BI runtime
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    System error in program BICS_PROV_GET_INITIAL_STATE and form Variables are not submitted (see long text)
    Log ID: 0018FE2D262B00A000000D68000032CA00047CFC82B5D87E
    Initial cause
    Message:
    Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION
    Stack trace:
    com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION  MSGV1: SAPMSSY1  MSGV3: UNCAUGHT_EXCEPTION     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:130)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessage(MessageManager.java:123)     at com.sap.ip.bi.base.application.service.RfcService.fillMessages(RfcService.java:221)     at com.sap.ip.bi.base.application.service.RfcService.doPostProcessing(RfcService.java:171)
    Please help me on this
    Thanks,
    Preethish

    Hi,
    Try filtering the queries with the values of variables entries included in the filters.
    Then include them in WAD report. If that works fine then it can be a memory issue.

  • Date Range at Reports Section

    Hi,
    I am doing some Reports and my requirement is to put a Date Range with default operator as Is Between.  This functionality works in Query Groups in dynamic filters where it shows From Date to End Date. I just wanted to know if this funcationlity works in Reports Section if so How ? For me it is not working.

    Hello,
    Unfortunately, this will not work in the Reports section.
    I was struggling with this and then I found out that the documentation states:
    "Range and List are only supported in the UI for filters in queries which are used in list page query groups and on the report scheduled task page."
    Regards,
    Bogdan

  • Preventing select-string from adding additional undesired strings in the output file

    Hi friends
    in PS 4.0 i am trying to write a function which
    step1: export the list of all eventlogs ----> wevtutil el > "$home\documents\\loglist1.txt"
    step2: deleted the following two lines from loglist1.txt
    DebugChannel
    Microsoft-RMS-MSIPC
    ( the reeson of deleting these two lines is wevtutil cl command, can't clear these two evenlogs among approximately 1000 logs)
    in fact via select-string with -pattern -notmatch parameters, we select anything except these two line
    step3:  pastes the select-string contents into the same file ("$home\documents\loglist1.txt") or into new text file (for example
    "$home\documents\loglist2.txt")
    here is my code:
    function MycleareventsAll {
    cls
    Wevtutil el > "$home\documents\loglist1.txt"
    $mycontents = select-string "$home\documents\loglist1.txt" -pattern DebugChannel, Microsoft-RMS-MSIPC -NotMatch
    cd "$home\documents\"
    $mycontents | out-file loglist2.txt"
    # also i tried ---> $mycontents | set-content "loglist2.txt"# also i tried ---> $mycontents | set-content "loglist1.txt"
    but the problem is, in addition of deletion, unfortunatelly additional strings (filepath, filename, line number) are added into the final text file so wevtutil will fail clearing logs listed in text file.
    here is contents of the final text file
    C:\Users\Administrator\documents\loglist.txt:1:Analytic
    C:\Users\Administrator\documents\loglist.txt:2:Application
    C:\Users\Administrator\documents\loglist.txt:4:DirectShowFilterGraph
    but i need the contents be the same as original file without that two specific line:
    Analytic
    Application
    DirectShowFilterGraph
    i searched but i didn't find a way to prevent select-string cmdlet from adding these edditional strings
    (filepath, filename, line number) into output file while keeping the original contents.
    note: -quiet parameter is not what i want. it removes all contents & simply inserts a true or false.
    any help? 

    don't forget that Guys here know the basics of security such as clearing event logs & ...
    how odd if you don't know this.
    clearing all events is useful in test environment for example when i ma teaching my students & need to see all newly created events & work on them
    Then you are teching your students how not to use an event log.  We use filters and queries to access event logs.  We also use event log CmdLets in PowerShell.  WEVTUTIL is ok but it does not marry wellwith PowerShell as you have seen.
    I have found very few people who are not certified in WIndows administration that know much about eventlogs when it should be a ver important part of administration.  PowerShell has mmade EL management much easier but few take the time to learn how
    to use the EL support in PowerShell.
    I see no point inclearing event logs.  It accomplishes nothing.
    ¯\_(ツ)_/¯
    oh your are introducing me filters & queries in event viewer !! please stop Laughing me this way.
    your problem is you judge about people's knowledge & you persist on your absurd judgments.
    look at your sentence:
    "Then you are teaching your students how not to use an event log" 
    where from you tell this? have you been present in my classes to see what i teach to my students?
    have you seen that i told to my students not to use event viewer?
    my goal of clearing events is related to myself. it's non of your businesses.
    people are not interested to here concurrent irrelevant advises from you like a grandmother. they are searching for a solution. their intent of doing tasks is not up to you.

  • Multiple Variable selection filtering for BEx queries

    I created a web template which accesses three BEx queries. I have the same variable in all three queries so when I run the report, it pulls the data from all three queries correctly. BUT, when I change the filtering criteria within the report, only one of the query results changes, but not the other two. My question is: Is there a way to link all three queries so I can change the filtering criteria only once and have it affect all three?

    Reading one Query variable(values) reflects in other query
    are come under personalization.
    this link give some idea...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/help/sdn_nw04/saphelp_nw04/helpdata/en/01/42c73c13b0ce5be10000000a114084/content.htm
    Regards,
    Vijay

  • Showing different filters requiring different sql queries

    Hello all,
    Is the following SSRS report possible?
    Choose a list of fields to output from a specified list
    Select different filters each requiring different querying on different tables. Same base table tho.
    Enable sorting on each column outputted.
    I would appreciate your feedback...Thanks

    Hi ,
    You can create multiple parameters which will get data from datasets(SQL query to get data from DB).
    In report tablix control, you can set the Interactive sorting  on columns as shown in below screen:-
    After Setting each column like that , when you run the report, report will have sort icons to do sorting as shown in below screen:-
    Thanks
    Prasad
    Mark this as Answer if it helps you to proceed on further.

  • Filters with variables user-exits on queries

    Is it possible to define complex selection criteria by using the EXIT_SAPLRRSO_001?. Something similar to what we may do a select for Sap:
    Select * from table where ((field1 = value1 and field2 = value2) or (field1 = value3 and field2 = Value4)).
    I guess not, it seems that only allows a range for output as a single variable ...
    If this is not possible, is there any way to filter the data before the show?. I do not care who is among the infoprovider and Bex, who between Bex and Excel ...
    Filters with variables user-exits on queries

    The variable can take any combination that can be specified in a select-option. The criteria used to select these values to be populated for the variable can be as complex as any ABAP program. So all combinations in a select statement are allowed.

Maybe you are looking for

  • CS4: Super Slow Redraw on Windows 7

    Hello all, Photoshop is running very slowly, even with tiny files (50k). I haven't had the need to run large CMYK files as yet, but I am guessing those will drastically slow the already molasses-like redraw. When I say redraw, it's actually the ruler

  • Iphone 5 Battery Drain ****FIX****!!!!!

    Got my iphone on launch day with ATT , been battling this battery drain for awhile! my phone from a full charge wouldnt last till 4pm with basic email reading, some facebook only. as i was reading through the other thread with 190 replies!! i tried a

  • Applet in JSP Unable to run.. help!

    Hello all... am running Lomboz Eclipse on WinXP .. all current versions and runtimes of relative java and tomcat updated and my web apps are all working as expected with no real problems... EXCEPT that I am unable to get a simple applet to display in

  • Display of calculated field value in same field using form personalization.

    Hi All, What could be the solution, if i want to have the formula on same display field. say..your entering value in grams and convert into ml in the same field of (:Q_RES.DISPLAY5) Conversion formula: (TO_CHAR(TO_NUMBER(:Q_RES_DISPLAY5)-(0.35))/((1.

  • YouTube Videos Now Higher Resolution?

    Hi. Watching the YouTube videos on my Apple TV last night, I noticed that some of them seem to be much higher resolution than the same videos viewed in a web browser. Have Apple/Google changed the specs for YouTube videos? I know they're H.264 now, c