Creating a view and use the view in a model

Hi All,
I am new to OBIEE and i have a requirement that i have two fields to be added to a subject area. Since we can't add queries directly to a model, i have to create a view and then put the query in it and then use the view in that model.
I couldn't understand this much, if anybody could help me explaining in detail about the views and adding a query in it?
Thanks
Gohan

Hi,
Please refer the screen short below link
http://imgur.com/b9sXS
Right click any of one physial table(RPD physical layer) -> Select Properties -> from the properties windows choose 'Select' as Table type ->
Please enable feature 'CREATE_VIEW_SUPPORTED' view just go to 'Features' tab and from the available option select 'CREATE_VIEW_SUPPORTED' is checked or not. If it is not checked then check the option.
can you explain your current model and scenario?
for example to you can use to fetch two fields from Subqueries,all trypes of joins(inner,left outer,right outer etc..,) its upto you case
e.x:fetching two tables columns mapping subquery:
SELECT column1, column2 FROM table1 WHERE column1 IN (SELECT column1 FROM table1
INTERSECT SELECT column1 FROM table2 )
SELECT column1, column2 FROM table1,table2 WHERE table1.column1 = table2.column1
Alternative there is feature call "mulitple subject area" method will work (Union,Union all etc..,)
Thanks
Deva
Edited by: Devarasu on Jun 6, 2012 4:40 PM

Similar Messages

  • Create a user and use  the objects of another Shema

    Hi all oracle`s gurus
    i need a little help .....
    i, create a shema named "a" that the owner is user_dba and here there are all objects of the aplication but i want all other users of the app can use those objects; the users are created in the database ,
    Thanks

    I would be very leary about granting privileges to PUBLIC, particularly privileges other than SELECT, because most systems end up getting a few special-purpose accounts that shouldn't see everything.
    The standard approach is
    - Create a role
    CREATE ROLE my_application_role;- Grant appropriate privileges to that role. This generally takes the form of a PL/SQL block initially
    BEGIN
      FOR x IN (SELECT * FROM dba_tables WHERE owner = <<schema owner>>)
      LOOP
        EXECUTE IMMEDIATE
          'GRANT select, insert, update, delete ' ||
          '    ON <<schema owner>>.' || x.table_name ||
          '    TO my_application_role';
      END LOOP;
    END'- Grant that role to the user(s) that will be connecting to the database,
    GRANT my_application_role TO some_user- Create appropriate public synonyms for the various objects. Again, this can be a PL/SQL block and can be combined with the block that grants privileges
    BEGIN
      FOR x IN (SELECT * FROM dba_tables WHERE owner = <<schema owner>>)
      LOOP
        EXECUTE IMMEDIATE
          'CREATE PUBLIC SYNONYM ' || x.table_name ||
          '    FOR <<schema owner>>.' || x.table_name;
      END LOOP;
    END'As an alternative to public synonyms, you can set the CURRENT_SCHEMA attribute (potentially in a login trigger) to SCHEMA_OWNER when the users you want to access these objects log in.
    Justin

  • Creation of view and use it as internal table

    dear community,
                   My questions is taht i am write a select quary in that data is very huge so that it cant inserted in to internal table(memory size of internal table) so i thing that i create aview same as data base table and when write the select quary use packsize and transfer recoerd ds in that view and use this view in my program
    is above logic can work or not
    also is size of view is greater than internal table memory size.

    Writing the large volume to another table(which a view is just a view of a table or group of tables) is not going to solve the problem.  You still have to select the data from the view(or table).  Like I said in your other threads, you need to read by package size, and do something with that subset, whether it is summaring, or writeing to another system via RFC.
    Regards,
    Rich Heilman

  • Problems creating notation from scratch using the edit function of GarageBa

    I am using garage band to write music. I open
    a blank loop with a grand piano system instrument and
    begin editing. I encounter the following problems:
    1. The software does not allow me to enter any note
    below middle c on additional or ledger lines that
    should be available below the stave of the treble
    clef.
    1.1 Connected to this issue is that it is very
    difficult to write music that contains subtleties.
    This directly affects the way the music sounds. The
    program substitutes accidentals in the stave
    conditioned by the key signature. For example writing
    Chopin in GarageBand as opposed to the written sheet
    music is the difference between buying a designer
    dress in a Bond Street Boutique and buying a cheap
    copy in Primark. "Brins Bungalo" Tutorial claims
    that
    Garageband "is an application suitable for both the
    dabbler and the conservatorially trained."
    2. When there are many notes to be entered in a bar
    garageBand is not flexible to accomodate the notes
    required, Notes are clustered in a bunch makiing it
    difficult to read what has been written (preventing the composer checking that it has been written correctly).
    3. When there are many notes to be written in a bar
    e.g. more than, say four notes, (lots of quavers or semi quavers) the
    program does some strange things which I am unable to
    control:
    a) groups unrelated larger notes with the smaller
    notes and will not allow them to be separated;
    b) changes the value of notes already entered;
    c) sometimes splits the note being entered into two
    smaller notes joined by a tie;
    d) accidentals appear on notes entered or notes
    already entered without my instruction;
    e) it changes note values, filling up the bar, to the
    value of the time key before I have a chance to finish
    entering the remaining notes that I want to place in
    the bar;
    4. How is one able to enter "dynamics" (symbol marks
    of expression). I know it is possible because many of
    the preloaded loops have these expressions evident
    within them. I have tried consulting GarageBand Help but this has proved impossible to fathom.
    Can anyone help?
    iMac   Mac OS X (10.4.8)  

    You have my sympathy as I also wanted to enter notes on a stave but GB is simply not designed to do it.
    You can do an amazing amount with GB but complex scoring is not really possible. You can't print a score btw.
    In answer to some of your questions,
    Expression cannot be added using the scoring facility. You need to go back to the piano roll view and use the expression/modulation/pitchbend/footswitch parameters.
    I think you're possibly doing something wrong as I've just done a little test and I've entered a C0 without a problem.
    I've also not had problems moving notes about and getting the right length or having GB fill notes to the end of the bar.
    This is how I do it.
    Create a software track.
    Double click on the track to get the track editor.
    Press record and use the the keyboard on the piano roll to enter a note. You've now created a recording region. You can't enter notes outside a recording region so you might need to drag it out to the required size.
    Swap to note entry. That gives you the double stave. Drag the grey bar that separates the arranger area from the track editor upwards. This gives you more space on the stave.
    Command click anywhere on the stave and a note will appear. Just move that note to wherever you want it and click to set it in place. You can always move it again by left clicking on the note and dragging it.
    Accidentals will depend on the key you've set for the song and what notes you're entering. In D for instance you won't get an accidental for F sharp but you will get one for A flat.
    Let us know how you get on.
    If this still doesn't give you what you need then I suggest a dedicated notation package. Create a midi file from the package and import into GB for final tweaking.
    Cheers
    Dick

  • Include or create a view in the database and use this view?

    Well, I need to get related data of the main table from another related tables, so one way to do that is to use the Include method in Entity Framework to get this related data.
    However, I am thinking in another option, create a view in the database and use this view in entity framework. In this way, I avoid the needed of the include, because I think that is expensive in resources. But I am no very sure about that.
    I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    For example, if I use the include I have the advantage that I get only one the main record and all the related data I have in the navigation properties, so the info is more shorted.
    Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    Thank so much.

    Hello ComptonAlvaro,
    >>I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    If your view would use a Join syntax to query master-child relationship tables, it actually is similar with the Include() method which actually results a duplicate records from master table, you could check this
    link for detail description.
    >>Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    One visible difference is that records from Views are not editable by default(if you want edit them, you could refer to this
    blog).
    In your case, my suggestion that you could use the lazying load which will load the matter table once and disable the trace if you only need to display data.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it

    I have recently transferred data from my old Mac to my new one. The result was good, but I have 2 users now, whose data I want to merge into 1 single user, so to avoid having to switch from one user to the other to view and use certain files. How to do it?

    Here's an easy way:
    Pick the user that you want to eliminate (making sure that the remaining user has administrator privileges) and move all of the data that you want to keep into the Shared folder. Reboot or log out and login to the user you want to keep. Copy all the data from the Shared folder into your account - placing it neatly in folders (Documents, Music, Movies, etc.).
    Once the data is moved, log into the account you want to delete just once more to make certain that you've grabbed all the data you want to keep. Log out and log back into your admin account and go to System Preferences>Users & Groups and delete the 'old' user.
    That should do it.
    Clinton

  • I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what's up with that?

    I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what’s up with that?

    You need to do the basic troubleshooting steps described in the User Guide, Appendix B.
    Restart phone
    Reset phone
    Restore in iTunes using a backup
    Restore in iTunes as new, without using a backup
    If restoring as new doesn't help, there is a hardware failure in the phone that needs evaluation by Apple.

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Hello, my backspace and enter keys suddenly stopped working. I have done a PRAM reset and used the keyboard viewer to see if the buttons work and they don't.  The PRAM reset didn't work  either

    Dear All,  the backspace and enter keys on my wireless keyboard suddenly stopped working.  Im using OS 10.7.5 and have tried a PRAM reset which didn't work.  I also used the keyboard viewer to see if the keys worked on that but they don't.  This is driving me mad, can anyone please tell me what to do?  It happened just after an update but this could be a coincidence.  Thank you for your time 

    For my computers, though some of them support BlueTooth devices and accessories,
    my preference and economy of standard, is to have wired USB and also use powered
    USB hubs for accessories.
    I've used USB wired keyboards and mouse products; and some I've bought from the
    original owners who had upgraded to BT, and never used the new Apple USB model;
    so I have spares of these on-hand since they seldom fail, but do work when BT won't.
    {A SMC reset should not cause a problem, or seldom has; but can solve some.}
    In my opinion, the wired USB keyboard is an essential accessory, if not a necessary
    primary means of user access on a continuous basis. At least until the wires fail...!

  • Creating a Master virtual hard disk and using the same for all other VM's

    Hi,
    We would like to create a master virtual hard disk and use the same for all other VM's. Can we do that ?
    my requirements :
    1) create 10 VM's
    2) first create a master virtual hard disk with win OS and use the same to create the 10 VM's.
    3) After creating the VM's change the HDD size.
                  -- if i have created master virtual disk with 500GB , and use the same for creating a virtual machine. can we change the HDD size to 1TB ?
    After creating the VM's ,i will change the system names and activate the windows accordingly.
    Will there be any implications ,if we can/will do like this.
    Thanks.

    Hi Suren424,
    I think Using Differencing Disks may cover your needs .
    Please refer to following setps:
       "Create the Parent Virtual Machine Configuration and Virtual Hard Disk
        Install the Operating System, updates, and common software
        Generalize the installation
        Prepare the parent virtual hard disk
        Create the differencing disks
        Create virtual machines that use the differencing disks
    For details please refer to follwing link:
    http://social.technet.microsoft.com/wiki/contents/articles/1393.hyper-v-virtual-machine-vm-parent-child-configuration-using-differencing-disks.aspx
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Working jmeter javaserver faces jsf - how create an XPath to keep the ViewS

    Hi all,
    I've searching and I found this http://forums.sun.com/thread.jspa?threadID=664673&messageID=4418665#4418665 ...
    I manage to test JSF 1.2 using JMeter but there is a trick, even if you are using the HTTP Proxy:
    1) The first HTTP request get a page with a form.
    2) The second request perform a JSF action on this form.
    Make sure that you are sending the value of javax.faces.ViewState found in the from at the second request, otherwise the View restore may fail.
    For this, create a XPath extractor. The XPath query is: //input/@value. Choose a reference name, ViewState per example.
    In the second http request, send a javax.faces.ViewState parameter with the value ${ViewState}.
    I spent a couple of ours finding this. I am not a JSF1.2 seasoned programmer but I hope it will help saving you time. The answer seems to be rigth, however I don't get the meaning of how do the XPath creation...
    I just wanna to know how can I do the creation XPath on Jmeter (to use on jsf) pass by pass... (just like a tutorial) I read the text above but I can't get any the understanding....
    The purpose is the same keep and use the javax.faces.ViewState
    thanks in advance,

    I have an additional question/problem.
    Running JBOSS 4.2, JSF 1.2 and JMETER 2.3.2
    Scenario 1 (SUCCESS):
    I run one thread and one threadgroup, regex/xpath return the "ViewState" value correctly and the test runs perfectly until I stop it.
    Scenarion 2 (FAILURE):
    I run multiple threads and one threadgroup, regex/xpath eventually return the DEFAULT value instead the "ViewState" value to all but one thread. The more threads the faster they fail. It really seems like there is a threading issue.
    In any case only one thread will remain running correctly.

  • How to block user create personal view and select ALL VIEW?

    How to block user create personal view and select ALL VIEW?

    Hello,
    >create personal view
    To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
    level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
    to allow to create.
    >and select ALL VIEW
    Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
    http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • HT4689 Is there a way to view and use two tabs at once?

    Is there a way to view and use two tabs using mission control?

    dandjr wrote:
    i also can touch every email and hit delete, what i wanted to do is "select all" then delete, to cut out a step of touching each email...
    I see now that you can do that.  Too bad you can't do the same with messages...one at a time.
    I'd rather have a "delete all" in messages and VVM if I had a choice.  Those tend to pile up and before you know it, you have a hundred to delete!

  • What is the differenec between 'sap list viewer' and 'abap list viewer'

    hi
    what is the differenec between 'sap list viewer' and 'abap list viewer'

    Hi,
    There is no difference between them.SAP List Viewer (ALV) is the new name of the ABAP List Viewer (ALV).
    The SAP List Viewer unifies and simplifies the use of lists in the R/3 System. A uniform user interface and list format is available for all lists. This prevents redundant functions.
    The SAP List Viewer can be used to view both single-level lists and multilevel sequential lists.
    Single-level lists contain any number of lines that have no hierarchical relationship to each other.
    Multilevel sequential lists consist of any number of lines that have two hierarchical levels. Multilevel lists have header rows and item rows; the item rows are subordinate to the header rows. For each header row there can be any number of subordinate item rows.
    You can view subtotals and totals rows in both single-level lists and multilevel sequential lists
    From End User Point it is SAP LIST viewer , From Developer Point of View it is ALV .
    Check the Below Link
    http://help.sap.com/saphelp_nw04/helpdata/en/66/bc7aab43c211d182b30000e829fbfe/frameset.htm
    Regards,
    Satish

  • Unable to view and use iphotos within imovie or idvd

    I recently upgraded to iLife '06 and I would like to view and use my iphotos from within imovie. But for some reason I cannot. When I click on the media button, I can bring in any of my iTunes music. But when I click on the photos button, nothing, except for a message to launch iphoto2 or later appears. the Show Photo Settings button is present, but nothing happens when I click. I do keep my photo library on a second hard drive, not the one which stores the applications. I've rebuilt the database several times. any suggestions are appreciated. -ab

    I discovered the root of the problem was an " & " used in the file name of my iPhoto library. That is evidently a no-no. After I renemed the library and restarted, all was working fine. -ab

Maybe you are looking for