Filter using VALUEOF(ROLES)

Hi All
I want to filter an analysis on the session variable ROLES.
In my filter I select Session Variable then type in ROLES.
valueof(nq_Session.roles) evaluates to:
authenticated-role;BIConsumer;BIAdministrator;anonymous-role;AuthenticatedUser
However the analysis seems to treat this as one long string instead of 4 different roles.
Does anybody know how I can use this in a filter but treat each item in the result as a separate entity?
Thanks in advance

Hi,
Take Advanced SQL filter with the variable condition in the report as:
case when VALUEOF(varaible_name)='ROLE_NAME' then security.country_id
else fact.country_id end=fact.country_id
(You can write your own customized code)
The above will form a join with fact and the security table when variable name =' ROLENAME' else it will take a self join.
You can use this for a single report or else if you need that for the fact table, then in the rpd in the logical source in the content tab-'where clause' try the same condition (good to use in the logical source). Or if you want to use in the prompt then write in the SQL query result.
Regards,
MuRam

Similar Messages

  • Context based assignment - context filter to display roles

    Hi!!
    I would like to make a guided task with a context named SYSTEM that contains values such as SAP ECC / SAP BW... and once the user selects the system (s) he wants (step 1), the appropriate roles (corresponding to the value of the context SYSTEM) display in step 2.
    I assign the MX_CTX_TYPE to the roles. Roles having context type SYSTEM were well display. Then I add the MX_CTX_CONDITIONAL (by modifying the attr to allow assignment to MX_ROLE entrytype) to the same roles. But it seems that the filter is made at contexte type level and not value context level.
    1 : Do you think if it's possible to use context value as filter for displaying roles in step 2?
    2 : Do you know a way to filter on system for displaying roles in order to assign them to a user even if it's not a guided task? I tried to use the FIELD functionnality but it seems that it's not allow with the attribute type of MX_ASSIGNMENT.
    Thanks,
    Guillaume

    Also suggest that you have a look at the MX_ASSIGNMENT attribute on the user, for use in the WebUI. This attribute will allow you to see both role and privilege assignments in a WebUI task. This also has the "context" setting as you mentioned.
    Regards
    John Erik Setsaas
    Development Architect IdM

  • Query Result Filtered using User Roles SCSM 2012 R2 RU2

    Hi,
    I have a Query Result setup in a Request Offering that shows the list of Printers using the Printer CI. We have different sites with printers that start with the site location like MTL. There are no filters in the Query Result. What i did is create a Group
    for each site that has the rule "start with" MTL (other groups have other 3 letter prefix). Then i created a user role for each group and only selected the Printer group for the site and i associated the User Role with our AD Site group called MTL-User.
    i did this for each site. Now when i checked the Request Offering at first, with a user that is part of MTL-User group, it showed only the list of printers that started with MTL. Now today i came to check again and the same user is seeing all the printers
    and not just the ones that start with MTL.
    The User Role i made was based on the Read-Only Operator. I just dont know what the problem is

    Thanks for that link. I had thought of something like that but i found it came to the same thing as just using the filter field that is already available when using a Query Result. I retried using User Roles and figured out that the problem is that my test
    user is only part of the MTL-USER group so when i logged in with him into the portal (cireson Portal btw) i would see the proper result. If i logged in with a actual user that is also part of other groups besides MTL-Users, they see all the printers no matter
    which AD group i define in the User Role. 
    So what i figured was that my group is not getting applied as the filter to the query Result and that the Member section in the User role is only to say who can see the Query result list. But then i have my test user for which this setup works...so im confused
    on what exactly is overriding the results.

  • To run OHS at port 80 using solaris role based access control

    Hi.
    I already know & have done setuid root to ohs/bin/.apachectl to allow ohs to listen to port 80. Now on a new OFM 11.1.1.4 install, I want to use Solaris Role Based Access Control (RBAC) instead. Is it possible? RBAC does work as I can run a home built apache2 httpd at port 80 withOUT suid root.
    On Solaris 10, I enabled oracle uid to run process below port 1024 using RBAC
    /etc/user_attr:
    oracle::::type=normal;defaultpriv=basic,net_privaddr
    Change OHS httpd.conf Listen from port 8888 to port 80.
    However, opmnctl startproc process-type=OHS
    failed as below with nothing showing in the diag logs:
    opmnctl startproc: starting opmn managed processes...
    ================================================================================
    opmn id=truffle:6701
    0 of 1 processes started.
    ias-instance id=asinst_1
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    ohs1/OHS/OHS/
    Error
    --> Process (index=1,uid=187636255,pid=25563)
    failed to start a managed process after the maximum retry limit
    Thx,
    Ken

    Just to add my two cents here.
    The commando used on Solaris to assign the right privilege to bind TCP ports < 1024 is:
    # usermod -K defaultpriv=basic,*net_privaddr* <your_user_name>
    Restart the opmnctl daemond.
    After that OHS/Apache user can bind to lower TCP ports.
    Regards.
    Edited by: Tuelho on Oct 9, 2012 6:05 AM

  • How to use FILTER -- USING    in rpd???

    Can we use FILTER USING in rpd ?

    Yes in the 'use existing logical columns as the source' window of a measure.
    Its under Functions - Display Functions in the expression builder.

  • Interactive Report filter using "in"

    I am using an interactive report, and I want to filter using the "in" criteria. The data I want to filter is a person's name, and it is a concatenation of the entire name, last name first. I have no problem doing this filter on just the first or last name, but the concatenated field has a comma in it, and that seems to be throwing the filter off.
    What automatically populates when I click a name from the list is something like:
    Abraham, Adam
    I can see that it would probably be interpreting that as two different values. But even if I put single or double quotes around the name, it still does not work correctly.
    An example available at:
    http://apex.oracle.com/pls/otn/f?p=41923:1
    Try doing an "in" filter on the "name" column.
    Thanks,
    David

    David,
    The comma is the operational separator for the 'IN' clause, so you are right, the filter sees each part of the name as a parameter. Just use something else as the separator (like a space) and you will be good to go.
    Keep Smiling,
    Bob R

  • When to use "my role" and "partner role" in BPEL?

    I'm a bit confused when to set/use partner role and my role.
    Can anyone shed a little light,
    regards, Henrik

    Saurabh,
    > I humbly disagree with your explanation of inputs
    No need to be humble, you can boldy disagree. :)
    You're right that I did technically use the wrong term in that sentence of my explanation. I updated the post and corrected it. However the gist of what I was saying is still true.
    There are two invocation types. People use different terms but here I'll call them request-response and one-way. A request-response invocation type is used for what we typically think of as a "synchronous" process. That is, the service consumer is blocked until the service responds. It's like methodA() in Java calling methodB(). methodA() is blocked until methodB() completes. (In fact, this is exactly what it's like since all invocations on our BPEL engine ultimately go through our Java API.)
    In the case of one-way, the service consumer is not blocked. This is often referred to as fire-and-forget. It simply sends its request, then it is free to continue or do whatever it wants. Moreover, nothing is returned to the client (you fired-and-forgot, remember). Typical "asynchronous" BPEL processes uses this invocation type.
    So we have those two invocation types. Yet the problem before us how to have an asynchronous process return a result. You can't use request-response because the service consumer is blocked until the process finishes. You can't just use a one-way because nothing is returned to the caller. What to do?
    The way the BPEL standard solved the problem is to use two one-way invocation types. The first one is to invoke the process. The second one is a one-way from the BPEL process to the service consumer to return the result. There are some glaring implications of this:
    1. When the BPEL process returns it's result, things have now switched: The BPEL process becomes the service consumer, and the (original) service consumer becomes the service.
    2. The service consumer has to be able to listen for one-way invocation type requests.
    3. The BPEL process has to know how and where to call the service consumer back. This information is passed in the original request. As well as containing the data payload, it contains a callback address and unique identifier. This, in essence, is what the WS-Addressing standard is about.
    Now the definition of a one-way invocation type in a WSDL is:
        <portType name="aaa">
            <operation name="bbb">
                <input message="tns:ccc"/>
            </operation>
        </portType>Compare that to a request-response invocation type:
        <portType name="aaa">
            <operation name="bbb">
                <input message="tns:ccc"/>
                <output message="tns:ddd"/>
            </operation>
        </portType>Let's look again out our example WSDL:
        <portType name="SelectService">
            <operation name="processRequestQuote">
                <input message="tns:RequestQuote_processRequestQuote"/>
            </operation>
        </portType>
        <portType name="SelectServiceCallback">
            <operation name="processRequestQuoteResponse">
                <input message="tns:RequestQuote_processRequestQuoteResponse"/>
            </operation>
        </portType>Here comes the good bit... Both portTypes have an <input> operation. But that's because they are both one-way invocation types, and there is no choice but use the <input> element -- that's the standard. You can't imply put <output> because there's no such thing in the standard. However we know that one of those is to actually return the result. That is, it's the output, even though it's labelled <input>.
    Hopefully that's given you enough information now. Re-read my first post, above, and it should make more sense.
    Incidentally, this is why you rarely see try asynchronous web services, because the caller has to also be a listener. And if you want to call a service, who wants to also have to write code to listen, to handle responses coming out of order, etc. This is one of the advantages of using an orchestration engine like Oracle BPEL Process Manager. The framework takes care of the hard work, and you can simply call an aysnchronous service and not have to worry about how to get the response back -- the engine does it for you.
    Regards,
    Robin.

  • Using Dimension Role

    Hi Guys ,
    I've created one dimension that i want to use it multiple time in one cube , so i defined two role for it (delivery branch, order branch) .
    I used this dimension twice in sales cube with different role but when i want to deploy cube i got following error .
    XOQ-01486: Consistent solve has two aggregation steps over dimension "DIM_BRANCH".
    I Use Roalp with CubeMV storage option for my cube and dimension .
    I've read in owb help that when we use Dimension Role , Oralce make seperate Dimension for Role in Olap Catalog , but when i deploy my dimension with two role , i can see only one dimension in awm .
    I need your help.
    thanks
    Edited by: amir on Jul 14, 2012 12:01 AM

    We're going to need some more details about exactly what you did because it really sounds like you're making a mistake. This extra attribute should work.
    The only situation I can think of where it might not work as intended is if your new attribute is a property of the state attribute... when you slice by the state attribute, it will override the default member on the new attribute.
    What are your attribute relationships in that dimension? What do you get when you run the following MDX queries?
    with
    member test1 as [Geography].[State].DefaultMember.UniqueName
    member test2 as [Geography].[NewAttribute].DefaultMember.UniqueName
    select {test1,test2} on 0
    from YourCube
    select {} on 0,
    [Geography].[NewAttribute].[NewAttribute].Members
    *[Geography].[State].[State].Members on 1
    from YourCube
    As for the calculated member [Geography].[State].[All].[West], you can add to that to the MDX script (the Calculations tab in the cube designer) and it will be available to all sessions.http://artisconsulting.com/Blog/GregGalloway

  • Create a between filter using months names ...

    Hi, I need to create a dashboard filter using month names in a between statement for examples:
    From: January - To August
    the problem is when I do this the Obiee server made a filter by alphabetic order, so for the example the result will be nothing (because A is prior to J)...
    How can I solve this
    (My boss is in my neck and I have a family to feed...)
    Thanks in advance...

    Hi,
    mma as given you the solution which would be helpful.
    I can say workaround for this,what ever date parameter you want to convert to january....december
    you can make an alias of that column as said above and write the filter on that date with a sql statement example as follows
    select to_char(sysdate,'FMmonth') from dual
    same way you take your requirement as select to_char(*your_date_column*,'FMmonth') from your_table
    Hope it helps,
    Best Wishes,
    Kranthi.
    Edited by: Kranthi.K on Nov 9, 2009 10:56 PM

  • View link in front of Filter used is giving error

    Hello Experts,
    Please help me in this:
    I have a report made in OBIEE 10g in which ,below the report the filter used in report are shown.
    In front of these filter there is a link "View" which when I click it does not view the filter.
    As in my case its like below:
    Filter1
    and filter2 are prompted view
    and filter3 are prompted view
    and filter4
    so when i click the view link above it gives me an error as : 'sawCommandToURLlmpl' is undefined.

    Not familiar with the error message, but here are some general ideas you can check.
    I believe you are referring to "saved filters" that when displayed in Filter View, have that "View" link at the far right. The link is automatic and points to where the filter is saved. Barring any configuration problems, check to see if the saved filters were saved properly. By this I mean that they were saved in a location that can be viewed by the user who would click on the link. If the permission doesn't allow the connection back to the source, you will get an error. Hope this makes sense.
    Other questions to ask and answer:
    1) Do all saved filters behave this way (i.e., with an error message)?
    2) Do the reports and filter views work as expected when run as Administrator with full access?
    3) Does the problem exist in all browsers? Versions?
    Good luck.

  • Filter using 2 input images (Flash). How to implement?

    Hi. I know how to implement filters that process single image as it was described in Pixel Benders Developer's Guide, but how can I apply filter using 2 input images one of which is computed? I wrote a filter that coppies alpha channel of one picture and applies it to another, but flash implementation is quite a puzzle for me... Any help appreciated

    In our tutorial from last year's MAX, I showed how to use a two-input pixel bender kernel as a blend filter for two images on the stage. that is posted here:http://blogs.adobe.com/kevin.goldsmith/2008/12/materials_from_1.html
    In one of my recent blog postings, I showed how to use a ShaderJob with multiple inputs. I was doing it for audio processing, but it works almost identically for images: http://blogs.adobe.com/kevin.goldsmith/2009/08/pixel_bender_au.html
    Hopefully one of these should help, but if you have specific questions, don't hesitate to ask...

  • Filter using Function resulting incorrect where cause

    Hi,
    I have a requirement wherein i have to filter a column based on a combination of mutiple hierarchy dimensions for which i am using Filter Using Function
    ex.
    Filter Metric A Using Dimesion A - Range 50 -100
    Filter Metric A Using Dimension A - Range 25 - 50, Dimension B Range 0 -100
    When i have a report with these metrics alone then it works fine but when both metrics are exposed on a single report
    The where clause results in something like this
    (Dimension A > 50 OR Dimnesion B > 0) AND (Dimension A > 25 OR Dimension A < 100 OR Dimesnion B < 100) AND Dimesnion A < 50
    To sum it up its random and incorrect, any ideas as to why this could happen ??
    Any pointers etc would be highly appreciated.

    Hi,
    I have a requirement wherein i have to filter a column based on a combination of mutiple hierarchy dimensions for which i am using Filter Using Function
    ex.
    Filter Metric A Using Dimesion A - Range 50 -100
    Filter Metric A Using Dimension A - Range 25 - 50, Dimension B Range 0 -100
    When i have a report with these metrics alone then it works fine but when both metrics are exposed on a single report
    The where clause results in something like this
    (Dimension A > 50 OR Dimnesion B > 0) AND (Dimension A > 25 OR Dimension A < 100 OR Dimesnion B < 100) AND Dimesnion A < 50
    To sum it up its random and incorrect, any ideas as to why this could happen ??
    Any pointers etc would be highly appreciated.

  • Error original filter used for grahpics

    Hi,
    Since upgrading to FM10, we have been getting the following error message:
    At least one original filter used for graphics imported by reference is not available, or the imported file's format has changed. An alternative filter may be used if the file is recognized as a grahpic FrameMaker can import.
    None of the grahpics have changed and they all display. The only thing different is FM10 instead of FM9.
    Any ideas on how to fix this probelm? Thanks!

    That's more of an alert than an error.
    We see it routinely when opening FM/Unix documents on FM/Windows.
    It seems to have to do with the platform-specific <ImportHint ...> tags encoded after the <ImportObFile ...> (MIF examples).
    None of the grahpics have changed and they all display.
    Unless an imported object is rendered incorrectly, I wouldn't worry about it.
    This is the first case I've heard of involving Windows to Windows migration, however.

  • When we r using zslsoff_all role , we r getting error: No Authorization

    HI!
    We have 10 sales office . each sales office having each role. For Ex: Sales office Is X, Y, Z . Then Roles r Zslsoff_X, Zslsoff_y, etc. Apart from this we have role for all sales office like zslsoff_all. When we r using zslsoff_all role , we r getting following error: U don’t have a authorization to read Zslsoff.
    If we r using Zslsoff_X, Zslsoff_y, etc we r getting correct one.
    I check both roles (zslsoff_all and Zslsoff_X) in Pfcg . both r same.
    Plz help me. I will assign points

    Hi,
    post your query in security forum.
    use this link: Security
    any way run tcode SU53 after authorization error to identify missing authorization for object.
    regards,
    kaushal

  • Frequency response of real analog filter using mydaq

    Hello!
    I am trying to find the frequency response of a analog filter using the NI myDAQ.  There are several examples of this in Labview, but they are usually analyzing digital filters, not real world filters.  There is one example, see attached vi, that simulates measuring a realworld signal using a simulated frequency generator and a simulated multimeter.  I believe that this could be done for real using the mydaq.
    Can someone please help me convert this VI to run off of the mydaq?
    Thanks!
    Attachments:
    Frequency Response.vi ‏21 KB

    Thank you Kyle, this is exactly what I was looking for.  I searched the examples that came with labview 2010, the signal processing module, the 8.6 DSP module and the signal anaysis toolkit, but I had not yet installed the elvis cd so I didn't run across these VIs.  Thank you once again!

Maybe you are looking for

  • Advice on splitting an application amongst projects; please.

    Advice on splitting an application amongst projects; please. Hi jDev Team. Please advise on how you envisioned a developer (or developer team) to split up a large scale enterprise application amongst projects. For example, a typical accounting system

  • Is it possible to embed a window in another?

    I know I kind of asked this previously, but is it possible to instead of changing the window class, embed a window or object into a current window, using Cocoa-Applescript? In the example of my application below, I'd like to fill the big empty area i

  • Multiple versions of same InfoPath Template in Forms library

    Using SP 2010 and InfoPath 2010.  When I create an IP template today, say with 20 fields and publish to a Forms library then my Forms library will use this template as the default template, all good.  6 months later I need to add a field and re-publi

  • Help in copy command

    Hi Can i use parallel and append hint in while inserting data through copy command in sqlplus? My databse version is Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production PL/SQL Release 9.2.0.4.0 - Production CORE 9.2.0.3.0 Production TNS

  • Why can't some clips fast forward?

    I am on my first ever imovie project for school. I need to fast forward some of the clips so that my video can fit into the stipulated duration. Some clips can fast forward whitest others can't. Those that can't fast forward can however respond to sl