Attempts to display all the values in a list

I built a lookup table for the sale of 10 products by each of the 50 States.

Not every State will record a sale for each product, so some States have 5 products and other 10 and the other 4, etc. in the results.

I want the output to display each of the 50 States and also view all 10 products in the second column, so I can export the results to excel and compare them to other data that I have. When a product is missing, it makes me extra work later down the line.

I can't seem to find a way to force all 10 products appear in every State, even if there is no sale.

Advice would be appreciated.

Patrick

The problem is that you need a LEFT JOIN products to States since as Derrick said, from the FACT table, you will normally only get the lines where there was a product sold. If you have two options.

(1) you can create a "left join" in the answers using "Combine with a similar request" as I have said in this thread:

Re: Section values list NULL in Pivot

(2) the second, also in the responses, is to create the join in the Advanced tab of the application.

Check this lnk:

http://gerardnico.com/wiki/dat/OBIEE/multiple_subject_area

The only difference is that instead of using FULL OUTER JOIN, you use LEFT JOIN

Tags: Business Intelligence

Similar Questions

  • Display all the fields in a column

    Hello

    I have a standard report and on the one hand of the columns (status), I have 3 domains. lets say 'won', 'lost', 'draw' with their respective w, l, d codes displayed in the report.
    When I try to insert a new record, it displays only the 'draw' (d) case. the other two cases also get inserted but does not appear on the report. the research too does not detect the other two.

    How can I get the other two fields also appear in the cloumn (status) on the report on the home page.


    Thank you
    Neya

    With a dynamic lov, you want your column display or "D" is the name (which is meaningful to the user) and the column back or 'R' is the one that will be the value stored in the database column.

    So, you can

    D     R
    --------
    Draw  D
    Won   W
    Lost  L
    

    I don't know why the Select list that displays on the form (using the dynamic LOV) displays all the values that are output when you run the same query on the DB schema.

    Maybe try to create an another NEW LOV in APEX shared components and see how it goes?

    Amanda.

  • Windows Explorer - list: how to set the default value to display all the contents of the folder 'List' not 'Tiles '.

    Using the Windows Explorer of Windows 7, how I have by default set to display all the contents of the folder 'List' not 'Tiles '.  I want set a default value for the new folders and edit globally all folders that I have.

    Thank you, Steve

    Hi Steve Menker,.

    Visit the links that measures to work with files and folders in Windows Explorer below:

    1. working with files and folders:http://windows.microsoft.com/en-US/windows7/Working-with-files-and-folders

    2. change the folder options:http://windows.microsoft.com/en-US/windows7/Change-folder-options

    3. organize, sort, or group your files:http://windows.microsoft.com/en-US/windows7/Arrange-sort-or-group-your-files

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • permanently delete messages "additional plugins are required to display all the media on this page.

    Delete message "additional plugins are required to display all the media on this page" permanently. I have no use for ANY Adobe product, either. None are allowed on my network, period. I'm tired of this message. The absence of the FLASH plugin is what triggers it. However, the absence of the plugin is a good thing and that the plugin is totally unnecessary and absolutely not desired.

    You can inspect and change this pref on the subject: config page.

    • the pref plugins.hide_infobar_for_missing_plugin true value
  • Select all the values of column except the specific columns in all tables

    Hello

    I want to display all the column values for all tables in the database, with the exception of 3 columns that exist in all tables...

    Can someone give some advice?

    See you soon,.

    Jin

    How are you going to display all columns of all tables?

    Thank you
    Baskar.l

  • 20.0.1 updated: right click on the page displays all THE menu options, many (all?) don't work, no 'view page source', not 'open in a new tab '.

    After 20.0.1 a few hours ago, click Update right displays all THE menu options, do not work a lot (all?), as 'view page source', 'open in a new tab' etc etc.

    To clarify, this happens if you have the active Firebug 1.10.6 addon.
    You can fix it by updating to the version of Firebug 1.11.2

    Here's how:
    Go to your add-ons Manager, right-click on the Firebug add-on and select 'Find updates'.

    Hope that helps.

  • Display the values in a list in a certain way

    Hello

    I'm looking for a way to display the values in a list by the first value by a slash and the rest with an indentation.

    In other words in this way:

    /value

    Value1

    value2

    value3

    etc...

    Please see the attachment for a better reference where data are received and then filled to the window list.

    Thanks for your comments

    Thanks guys,.

    I endend up doing this:

    If (i == 0)
    {
    sprintf (current_log_view, "/ %s", cnfg_display_db [i] "");
    }
    on the other
    {
    sprintf (current_log_view, "%s", cnfg_display_db [i]);
    }
    SetCtrlVal (log_panel, LOG_LOG_TB, cnfg_display_db [i]);
                            
                            
    InsertListItem (dir_list_panel, DIR_LIST_RETR_LIST, current_log_view, i, 0);

    and it works very well!

    Thanks again

  • Is it possible to display all the songs by an artist (instead of just the titles album) (rocket)

    On the "rocket", when you select the name of an artist in the music menu, it displays a list of all titles of the album by that artist. At the top of the list is the ability to 'play together', but I can't understand how to display all the songs of the artist in a large list, regardless of the album. It would be useful if you know who did the song, but don't know what album it's on. Is there a way to get the "rocket" to show you such a list? Thank you.

    Beshara wrote:
    On the "rocket", when you select the name of an artist in the music menu, it displays a list of all titles of the album by that artist. At the top of the list is the ability to 'play together', but I can't understand how to display all the songs of the artist in a large list, regardless of the album. It would be useful if you know who did the song, but don't know what album it's on. Is there a way to get the "rocket" to show you such a list? Thank you.

    The choice of the artist. Then select play all. Then press the menu button (at the bottom of the scroll wheel). Then select back to list of musk. This goes to a list of songs and does not account for the album.

  • Is it possible to display all the images in this clip?

    Hi all

    I was wondering if it was possible to display all the images in this clip?

    Thanks in advanceScreen Shot 2016-09-28 at 23.37.56.png

    Go to the menu Burger (next to were is says sequence 01) in the timeline panel.

    and assign continuous video thumbnails.

  • How can I retrieve all the values in a single query in the oracle XML

    Hi all

    I have xml format below, how do I retrieve all the values in a single query.

    < files >

    < job > MANAGER < / job >

    < details >

    < ename > JONES < / ename >

    < sal > 2975 < / sal >

    < ename > BLAKE < / ename >

    < sal > 2850 < / sal >

    < ename > CLARK < / ename >

    < sal > 2450 < / sal >

    < / details >

    < / documents >

    Thank you

    I prefer desgin a little more sophisticated xml and wrap the details in a separate label.

    Then you could something like that

    1 with testdata until)
    2. Select xmltype)
    3'
    4 MANAGER
    5


    6
    7 JONES
    8 2975
    9

    10
    11 BLAKE
    12 2850
    13

    14
    15 CLARK
    16 2450
    17

    18

    19
    20 ') in the form x
    21 double
    22)
    23 select
    24 j.job
    25, d.ename
    26, d.sal
    27 of testdata
    28 join
    29 xmltable ("Scriptures" in passing testdata.x)
    30 columns
    31 job varchar2 (30) path "job."
    32, details xmltype path «details»
    (33) j
    34 (1 = 1)
    left outer join 35
    36 xmltable (' details/emp' in passing j.details)
    37 columns
    path of varchar2 (30) 38 'ename' ename
    39, path of varchar2 (30) sal "sal".
    (40) d
    41 * (1 = 1)
    >/

    JOB                            ENAME                          SAL
    ------------------------------ ------------------------------ ----------
    JONES MANAGER 2975
    BLAKE MANAGER 2850
    MANAGER CLARK 2450

  • Not sure how to display all the applications that I'm supposed to have with the creative cloud - constant spin in the window? [was: creative cloud]

    Trying to download my creative cloud, but get a constant rotation in the window. Not sure how to display all the applications that I'm supposed to have with the creative cloud?

    Please visit: App does not open. Wheel of progress turn continuously

    I hope this helps.

    Concerning

    Megha Rawat

  • 5 Lightroom stopped display all the pictures in my files.

    5 Lightroom stopped display all the pictures in my files.  I have an exclamation mark next to each folder on my external hard drive (which is cool).

    I tried re-import all my photos, but it does not work. There is nothing to reimport.

    All my files are stuck in the single photo view.  I can't change the view no matter if I try to see my pictures of my internal or external HDD.

    Lightroom is also stuck in library mode.  I can't access the mode develop, map or a slide show.

    I tried to optimize my catalog, but that did not help.  I have the latest version of Lightroom 5.7.1.

    What should I do?

    Please follow the steps to update the location of the folder.

    > Lightroom open

    > Right click on the folder in the library module.

    > Click on the location of the folder to update

    > Browse and select the right folder

    You should be able to see the images correctly and will be able to change them in the develop module.

    I hope this helps.

    ~ UL

  • How to display all the lines to PRint html option in obiee 11g

    Hello

    I am facing a problem in obiee 11g (windows server 2003). I have 2 environments (SIT & dev)
    In dev I'm not confronted with no problem but in SIT when I print the report in html format only lines 1 to 25 are displayed.
    What should I do to display all the lines

    Thanks in advance
    Abdul

    Hello

    By default it will like that alone. You must enable PDF/print properties in your analysis
    Just go to edit analysis - result table edit table/pivot table see and
    -Click on properties of PDF print control - select display as "all lines".

    Then save it and run it.

    Thank you

    Deva

  • The current node to display all the levels at the atomic scale

    Hi all

    If anyone has example of expand/collapse the current node to display all the levels at the atomic scale. Please post here. I appreciated the help.

    Thank you

    James,

    try adding a condition just before current node if the next node id is null or not.

    Thus, the update procedure will be like that.

    PROCEDURE Expand_Collapse_Node (Tree_Name IN VARCHAR2 , Trigger_Node IN VARCHAR2, Str_Type IN VARCHAR2 DEFAULT 'COLLAPSE') IS
         Item_Id ITEM;
         Current_Node FTREE.NODE;
         Starting_Node_Level NUMBER;
         Current_Node_Level NUMBER;
    BEGIN
         IF Trigger_Node IS NOT NULL THEN
              Item_Id := FIND_ITEM(Tree_Name);
              IF NOT ID_NULL(Item_Id) THEN
                   Current_Node := Trigger_Node;
                   Starting_Node_Level := FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_DEPTH);
                   LOOP
                        IF FTREE.ID_NULL(Current_Node) OR (Current_Node_Level = Starting_Node_Level) THEN
                             EXIT;
                        ELSE
                             IF Str_Type = 'EXPAND' THEN
                                  IF FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE) = FTREE.COLLAPSED_NODE THEN
                                        FTREE.SET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE,      FTREE.EXPANDED_NODE);
                                  END IF;
                             ELSIF Str_Type = 'COLLAPSE' THEN
                                  IF FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE) = FTREE.EXPANDED_NODE THEN
                                        FTREE.SET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_STATE,      FTREE.COLLAPSED_NODE);
                                  END IF;
                             END IF;
                             Current_Node := FTREE.FIND_TREE_NODE(Tree_Name, '', FTREE.FIND_NEXT, FTREE.NODE_LABEL, '', Current_Node);
                             IF FTREE.ID_NULL(Current_Node) = FALSE THEN
                                  Current_Node_Level := FTREE.GET_TREE_NODE_PROPERTY(Item_Id, Current_Node, FTREE.NODE_DEPTH);
                             END IF;
                        END IF;
                   END LOOP;
              END IF;
         END IF;
    END Expand_Collapse_Node;
    

    Kind regards

    Manu.

    If this answer is useful or appropriate, please mark. Thank you.

  • How can I combine all the contacts in a list?

    Now when I show all contacts (Yes, including the iCloud contacts) I get duplicate contacts. Some appear to come from contacts on my machine (MacBook) and other iCloud. Some are updated, some are not. I want to merge all the contacts in a single complete list and work for updating these contacts in one place. What is the procedure to do this.

    Yes, I know that I can click to not display all the contacts. But that does not solve the problem. I want a list, if it is possible.

    Close if you wish in iCloud or on my Mac. Go to the one you want to use it, select all contacts, and then File/Export. Go to one you want to keep, and then file/import.  See the link below for resolve duplicates.

    Contacts - resolve duplicates

Maybe you are looking for