Why obiee trim values in quick listbox?

I have a simple dimension for nations with two columns table: name of the nation and the code of the nation.
Code of the nation is a VARCHAR2 (3). code values might have trailing spaces.
I have create a prompt for the nation's code, but it only works with those who have three characters length.
Seems that spaces are trimmed in the quick list box, so the result of the query is not correct.

Obiee why?
It's my fault? Where?
There is a solution?

Thank you

Luca

914898 wrote:
I already tried this solution but does not work.

When you post responses like the one above, you run the risk of not solving your problem for the simple reason to not do something correctly. Already you've got advice to the "try this instead." What I would say is, "what exactly do you have? Post your steps instead of "I tried and it didn't work." Several times that made users was not correct. Not always, but often enough.

For example, if you had your filter in your analysis already created and you go your column in your report and added the TRIM function, nothing would change. If you did that, it would explain. (I do not say that you have done this, suffice it to say that this could be a possibility.) What you have to do is click on the box next to the filter, select 'Formula in the column' and add the TRIM function, OR, add the TRIM function in your column in the report, remove the old filter, then add the filter on the column reviewed. Spaces are truncated in guests so if you have in your data, you can "prune" in your report... the right way.

Tags: Business Intelligence

Similar Questions

  • Save the selected value from the ListBox with its respective values control tab dropdown selected in another list box

    Hi all

    I'm doing a vi where I save the selected value from the ListBox with values respective tab control dropdown selected in another list box. Whenever I select Item1 can change of course and the respective tab will be open for this element. But now I want to just save the selection and put it into another ListBox.SO I can't renmove or add my wishes. Please help me.

    It will work.

    Probably not the greatest solution well.

  • Why the current value of the index cache is 0 MB?

    Everyone happy President's day!

    I ran calc scripts on a BSO cube. I checked EAS and data Cache hit ratio and Index is 0.

    I've already put key cache at 200 MB, but EE watch my current value hides index is 0 MB. Why?

    I already have data cache to 300 MB, but EE shows that my current value of the data cache is 0 MB. Why?

    I restarted my app BSO and db.

    Thank you.

    ORCLSendsMeToEarlyGrave wrote:

    Our test server is on Exalytics.  I wonder if this is why? All our BSO cubes have zero to Hit Ratio. Same Basic sample - after I ran Calc by default.

    If it is Exalytics that shows zero for Hit Ratio then read through a recent post that relates to this - Hit ratio

    See you soon

    John

  • How to add values to the Listbox in the ADF.

    Hello

    I have a listbox that is met when the user clicks an Add button then click on the Add button whenever the values are added.

    I have a textbox where the values are added

    < af:inputText

    label = "Categories".

    ID = "itcatg".

    contentStyle = "width: 100px".

    Binding = "#{viewScope.RegWoComp.CATG}" >

    < f: validator binding = "#{bindings." Categories.Validator} "/ >"

    < af:autoSuggestBehavior suggestedItems = ' #{bindings. " Categories.suggestedItems} "/ >"

    < / af:inputText >

    Add a button

    "< af:commandImageLink actionListener =" #{viewScope.RegWoComp.btnadd} "icon =" / plusimage.gif "id ="proud"/ >

    and you choose a listbox.

    < af:selectOneListbox id = "lstcatg" label = 'List of categories' partialTriggers = 'proud '.

    value = "#{viewScope.RegWoComp.lstboxcatg}" >

    < f: selectItems id = value="#{viewScope.RegWoComp.customList}"/ "lstselect1" >

    < / af:selectOneListbox >

    managed code the bean to populate the listbox control

    The list < SelectItem > customList;

    public void setCustomList (list < SelectItem > customList)

    {

    this.customList = customList;

    }

    public list < SelectItem > getCustomList()

    {

    return customList;

    }

    public void btnadd (ActionEvent actionEvent)

    {

    customList = new ArrayList < SelectItem > ();

    customList.add (new SelectItem (catg.getValue));

    }

    That's when I click the button remove new value is inserted but the values are not added. I tried to make a method from arraylist and then by calling the Add method, but then also the values are not attached.

    This is because you have an initialization list

    Declare your list like this

    List customList = new ArrayList();

    Instead of

    List customList;


    Ashish

  • Why the different values for an analytic function of the same group/game

    I have the suite of table I'll be using.

    Select * from table1;

    REC_ID | STATUS | DATE_FROM | DATE_TO

    1. C | 7 January 2015 |

    2. H | December 3, 2014. 6 January 2015

    3. H | October 3, 2014. December 2, 2014

    4. H | May 30, 2014. October 2, 2014

    5. H | May 29, 2014 | May 29, 2014

    6. H | April 16, 2014 | May 28, 2014

    7. H | Tuesday, April 25, 2007 April 15, 2014

    INSERT statement if you need.

    TOGETHER TO DEFINE

    CREATE THE TABLE1 TABLE:

    (

    NUMBER OF REC_ID,

    VARCHAR2 (1 BYTE) STATUS NOT NULL,.

    DATE_FROM DATE NOT NULL,

    DATE OF DATE_TO

    );

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM)

    Values

    (1, 'C', TO_DATE (7 JANUARY 2015 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (2, 'H', TO_DATE (3 DECEMBER 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (6 JANUARY 2015 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (3, 'H', TO_DATE (3 OCTOBER 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (2 DECEMBER 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (4, 'H', TO_DATE (MAY 30, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (2 OCTOBER 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (5, 'H', TO_DATE (29 MAY 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (29 MAY 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (6, 'H', TO_DATE (APRIL 16, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (28 MAY 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    Insert into TABLE1

    (REC_ID, STATUS, DATE_FROM, DATE_TO)

    Values

    (7, 'H', TO_DATE (APRIL 25, 2007 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (APRIL 15, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'));))

    COMMIT;

    I will exercise more analytical query...

    Select rec_id date_from, date_to, status,

    min (date_from) over (partition by order of status by date_from desc) min_dt_from_grp,

    ROW_NUMBER() over (partition by order of status by date_from desc) rownumberdesc,

    ROW_NUMBER() over (partition by order of status by ASC date_from) rownumberasc

    FROM table1;

    the query result

    REC_ID | DATE_FROM | DATE_TO | STATUS | MIN_DT_FROM_GRP | ROWNUMBERDESC | ROWNUMBERASC

    1. 7 January 2015 | C | 7 January 2015 | 1. 1

    2. December 3, 2014. 6 January 2015 | H | December 3, 2014. 1. 6

    3. October 3, 2014. December 2, 2014 | H | October 3, 2014. 2. 5

    4. May 30, 2014. October 2, 2014 | H | May 30, 2014. 3. 4

    5. May 29, 2014 | May 29, 2014 | H | May 29, 2014 | 4. 3

    6. April 16, 2014 | May 28, 2014. H | April 16, 2014 | 5. 2

    7. Tuesday, April 25, 2007 April 15, 2014. H | Tuesday, April 25, 2007 6. 1

    If you look at the output above, it dates back in the min_dt_from_grp column.

    MY question is if the analytical function calculates for a particular/set group, which is by statute and for what min (date_from) partition is 25-apr-2007 for the GROUP H (Status column), then why I have different values returned by the query above in the min_dt_from_grp column.

    Hello

    Because you have specified an ORDER BY clause for the analytical function. In doing so, you calculate the rows on a window. Since you have not specified a windowing clause, the default applies:

    RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW

  • Why the relative values of RGB and CMYK will not change when switching between Photoshop and InDesign?

    I'm trying to put together a Guide to color for my company's brand guidelines.

    Initially, I worked for InDesign and copied all H, RGB and CMYK values that I had when I went in an eye my original color palette.

    However when I put the same values of RGB in Photoshop I gives me a (somewhat) a different set of CMYK numbers than I had initially documented in InDesign.

    Why is this?

    JamieCurtis5 wrote:

    It makes me feel a bit nervous leaving aside CMYK all together...

    CMYK is essential for a company's brand guide. The printer ask again, it's a simple and direct question. If they cannot answer this fundamental question, that speaks well of their professional standards. It is a common practice and highly standard procedure. I do it all the time (and get answers directly in the world).

    That said, if this guide in general and not necessarily related to this particular printer, it might be preferable, specify a profile which is commonly used as a general practitioner in your area. It depends on where you are. Here in Europe, it would be either Coated FOGRA39, ISO Coated v2 300% (eci).

    In the United States, I guess us Web Coated (SWOP) v2 would be on a list, not because it's necessarily just for the purpose, but simply done to be the default Photoshop. Printers must get loads of the present. Same here in Europe, where this profile is never used any where, a lot of people use it just because it is the default value of the PS and it never gets turned into something more appropriate.

  • Why the initial value of the text box disappear?

    I applied javascript to the text box on this page to make the initial value disappear when the user clicks on the box, but it doesn't seem to work. Can someone please tell me why?

    http://clockdoctors.co.UK/contact_me.html

    You have not included the framework jQuery:

  • trimmed values when inserting in the column

    Hi Experts,
    I tried to insert the '% t & U' value in a column in oracle table database, but the value '% t' is getting inserted into the column. string once % skiped. Can someone tell me why this happened?

    Thank you
    SQL> create table test_string(str varchar2(10));
    
    Table created.
    
    SQL> insert into test_string values('T%&U' );
    Enter value for u:
    old   1: insert into test_string values('T%&U' )
    new   1: insert into test_string values('T%' )
    
    1 row created.
    
    SQL> select * from test_string;
    
    STR
    ----------
    T%
    
    SQL> set define off
    SQL> insert into test_string values('T%&U' );
    
    1 row created.
    
    SQL> select * from test_string;
    
    STR
    ----------
    T%
    T%&U
    
  • After select stmt. why the count value of variable column, nested table is zero.

    CREATE OR REPLACE TYPE numbers_type
    ARRAY OF INTEGER
    /
    CREATE OR REPLACE PROCEDURE p(i) in FULL IS
    numbers1 numbers_type: = numbers_type (1,2,3,4,5);
    BEGIN
    DBMS_OUTPUT. Put_line ("exposed before SELECTING");
    DBMS_OUTPUT. Put_line('numbers1.) COUNT() = ' | numbers1. COUNT());
    FOR j IN 1.numbers1. COUNT() LOOP
    DBMS_OUTPUT. Put_line ('numbers1 (' | j |)) ') = ' || numbers1 (j));
    END LOOP;
    -Auto selection clause to COLLECT LOOSE:
    SELECT a.COLUMN_VALUE
    LOOSE COLLECTION numbers1
    TABLE (numbers1) one
    WHERE a.COLUMN_VALUE > p.i
    ORDER BY a.COLUMN_VALUE;
    DBMS_OUTPUT. Put_line ("presentation and SELECT '");
    DBMS_OUTPUT. Put_line('numbers1.) COUNT() = ' | numbers1. COUNT());
    END p;
    /
    Call p:
    BEGIN
    p (2);
    END;
    /

    Hello

    Before taking in the collection variable, the values of the variables are fushed. So in this case the numbers1 is empty so it becomes zero and trying to read values from this collection which is already empty.

    That's why you get the number zero

    PRABHU

  • Why is it updated more quickly remove them?

    I have a huge table L_CLAIMTEMP_RSMREPORTS. This package contains 9 million documents. I'm truncating and fill every day using sql * Loader.
    I'll just give you the sequence of steps I do, time and the number of rows affected.
    1 DELETION of table l_claimtemp_rsmreports - 4 million deleted rows - 45 min time taken, engage published
    2. switch to update the table l_claimtemp_rsmreports using the values of the other table - 5 million lines update-10 mins, Commit
    3 deletion of table l_claimtemp_rsmreports again based on certain conditions - 4 million lines deleted - 45 mins, commit issued

    Finally, the lines I need is 1 million. Then, I changed my procedure in this way:
    1. switch to update the ll_claimtemp_rsmreports table I-need, set a flag in rows of 5 million 'U' update-10 minutes of catch,
    2 update the l_claimtemp_rsmreports table that has the flag as 'U' by using the values in the other table - 5 million lines updates-10 mins, Commit
    3 put to update the table l_cliamtemp_rsmreports with indicator as long as the pavilion where 'X' = 'U' - 1 million rows updated - 5 minutes, engage

    Here I am to pick up the records in the table l_claimtemp_rsmreports of the pavilion where = 'X '.

    What I realized is much faster. But, I did not understand why. I had faced the problem earlier too. I can generalize update is faster than delete it?
    Or is it just my hypothesis?

    My version of oracle's 11g.

    >
    ...

    What I realized is much faster. But, I did not understand why. I had faced the problem earlier too. I can generalize update is faster than delete it?

    As a general rule, I would say an update is usually faster then a deletion.
    As it has been noted that an update should do less work then a deletion. But it depends largely how the update is done and how the structure of the table to delete.

    Here are some steps that the database will do when executing each command. These steps are not complete, but they contribute to make the image.

    Update
    -lock the record/block
    -run the front trigger for update statement
    -for each line, run the front row update trigger
    -check if there is a constraint (unique / cheque) column
    -change data
    -If the new value does not fit into the current block more add a new block for the table (chaining line). This often happens when you update a column value of 5 characters to 1000 characters
    -change/update all index on this column
    -for each row execute the trigger line after update
    -run the trigger for update statement after

    delete
    -lock the record/block
    -execute delete it before statement
    -for each line, run the front row update trigger
    -check if there is pointing to this table FKs
    -If the tables so a select on all the details to see if there are child records
    -According to FK delete the childs or generate an error message
    -Mark as deleted line. The space is freed for future pads according to pctfree and similar storage settings
    -change all indexes on this table
    -for each row execute the delete after start of line
    -execute delete them after outbreak of statement

    This isn't even including the cancellation information

    In general I think that most of the actions for a deletion are more expensive than for an update. Especially for an update on a column not indexed, where only 1 character is added or changed.

    However, very often the update/deletion is not the limiting factor, but select it happening before the update and who finds all rows that need to be changed.

    Published by: Sven w. January 7, 2011 11:18

  • Why management segment value MANUAL values?

    I installed Oracle 11 g DBCA database usage and use the default configuration options. But I find that the management of all tablespaces SYSTEM, UNDOTBS1 and TEMP segment values have been set at MANUAL.
    Is this configuration the best choice
    Why Oracle set these defaults to MANUAL?
    SQL> select tablespace_name,initial_extent,next_extent,status,pct_increase,segment_space_management,retention,
    bigfile from dba_tablespaces;
    
    TABLESPACE_NAME                INITIAL_EXTENT NEXT_EXTENT STATUS    PCT_INCREASE SEGMEN RETENTION   BIG
    ------------------------------ -------------- ----------- --------- ------------ ------ ----------- ---
    SYSTEM                                  65536             ONLINE                 MANUAL NOT APPLY   NO
    SYSAUX                                  65536             ONLINE                 AUTO   NOT APPLY   NO
    UNDOTBS1                                65536             ONLINE                 MANUAL NOGUARANTEE NO
    TEMP                                  1048576     1048576 ONLINE               0 MANUAL NOT APPLY   NO
    USERS                                   65536             ONLINE                 AUTO   NOT APPLY   NO
    EXAMPLE                                 65536             ONLINE                 AUTO   NOT APPLY   NO
    
    SQL> SELECT * from v$version;
    
    BANNER
    ------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production

    I want to say that the SYSTEM, UNDO and TEMP tablespaces cannot have segment of automotive management. However I can only find a doc refernence to CREATE the TABLESPACE, that explicitly states segment self management, is not valid for TEMPORARY tablespaces. I noticed that the same reference is not a segment for UNDO tablespace management option.

    Docs... http://download.Oracle.com/docs/CD/B19306_01/Server.102/b14200/statements_7003.htm#i2231734

    The space management of segment you specify at the time of the tablespace creation applies to all segments created later in the tablespace. You cannot change the mode of a tablespace segment space management

    Undo tablespace is not permanent storage. Don't know why is not automatically unless there is a reason why Oracle needs whether manual.

  • Why is relativeInitalX value not taking into account the triggering delay? using scope OR with the PXI-5124

    Hi all

    play with a digitizer PXI-5124 in a case of PXI1042Q with a PXI8110 controller that runs labview 2012 (latest updates) with the latest version of the driver NIScope.

    I put in place an acquisition of off-delay (by assigning the triggering delay, for example 20us) which works very well (I can tell by the signal I get delay control works correctly), but the data returned in the info wfm cluster (using the 2D version of niScope I16 Fetch) does not have this delay.

    Description of the relativeInitialX within this cluster indicator indicates "is the time in seconds between the trigger and the first sample in the acquired waveform" but its never to return something around 1E-9 independent of trigger delay. Surely the relative initial x should reflect the triggering delay?

    I'm doing something wrong?

    Thanks for your help!

    So, I made a screenshot of the image in the section "Trigger Delay" link I sent you.

    Meaning of the symbol:

    T0 = original moment of relaxation

    T1 = time to trigger used in the acquired record (t1 = t0 + TriggerDelay)

    T2 = time of first sample in the record of the acquis.

    RX = relativeInitialX = t1 - t2

    Response to previous reviews

    «I understand what you're saying - so basically, if I want to know the delay of my trigger for the first sample in the record, I just add my delay time value to the relativeInitialX.»

    • Close, the delay of the original trigger (t0), for the first sample in the record (t2), would actually be TriggerDelay-relativeInitialX

    «.. . Nowhere does graphically describe where is the relative value of initialX real. »

    • Right, relativeInitialX is not a timestamp, so it is not a place on the timeline, it is the difference between two timestamps (t1 and t2 above), where the relativeInitialX name.

     

    "The trigger"record"is the straight line in the Middle, so expect relative to - 1/2 initialX record length?

    • Almost correct, because the reference trigger is relativeInitialX to the position of 50%, will be the time in seconds for 1/2 the record length. (i.e. If the registration has been long relativeInitialX, 2s = 1 s).  RelativeInitialX will always be the delta time between the trigger (t1) and the first sample returned in the record (t2).

    • For example using the picture above: If t0 is 10 sec, Trigger Delay = 3 sec, SampleRate = 1 kHz, = 1000 record size.  This means that t1 = 13 s.  Our record is long of 1s (1000 points to 1 DC between each = 1 s), if t2 = 12.5 sec.  If away from all these moments are absolute time, as the timestamps.  So relativeInitialX = t1 - t2 is 13-12, 5 = 0.5 sec.

    • As a side note, the reference position should not be 50%, you can configure to between 0-100%.

    Time not yet discussed record attributes

    I don't want to make you more confused, but there is another useful attribute in the waveform info that we've not yet discussed and its AbsoluteInitialX.  Starting from the NOR-SCOPE help file:"absoluteInitialX is the timestamp of the first sample of recoveries in seconds..." "So, using the above image, absoluteInitialX = t2.

    I hope this helps.  If a part is still not clear, let me know.

    -Nathan

  • Why should I click on "Quick Launch toolbar see the" whenever I restart?

    He is a recent change, perhaps in the last 3 months. There was once never a problem with it.

    Hi, OHmwp,

    Your settings are not saved - try to use the script of Doug Knox

    http://www.dougknox.com/XP/scripts_desc/xp_save_settings.htm

    Or save the user the corner of Kelly Settings.reg

    http://www.kellys-Korner-XP.com/xp_tweaks.htm

    See if that helps-

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/quick-launch-disappears-after-restart/3aa11b2c-E430-4007-BE06-c7344606f6a2

  • Why is-remote desktop as quickly as when, to my computer

    When you use remote desktop programs run much faster if I'm physically sitting in front of my computer.

    All the answers as to why?  No matter what?

    When you use Remote desktop you are using the programs on this machine and that the machine may be a more recent machine.  The way to confirm who is checking the characteristics of these two machines.  Remember, the speed with which a computer processes is based on the machine not the program running on it. --
    Gina Whipp
    Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • Why the color values do not change when you use proof colors?

    Hello

    I am very interested in getting accurate replicas of the image on the screen (in ProPhoto) and the image (using a suitable printer profile). However when I choose test colors on the display menu, changes in appearance, but the colors RGBV or laboratory remain the same. It is against intuitive and goes against the well known for color recommendation to correct using numbers instead of your eyes.

    What is going on? Is there a way to accomplish what I want?

    Thank you

    Juan

    Not quite what you want, but the info panel can be configured to read the evidence values.

Maybe you are looking for

  • How to restore files deleted from usb?

    I deleted the file from usb by accident. How can I restore them?

  • Professional Office XP reactivation

    I had an Office XP Professional valid installation above, enabled on my computer.  My motherboard is dead, so I rebuilt my computer with a new motherboard and my old inclucing the hard devices.  I have reactivated the XP Professional (SP2) operating

  • AutorunsDisabled window opens when you start the system.

    Whenever I start my computer (Windows XP SP3), a Windows Explorer window appears showing the AutorunsDisabled folder.  Nothing is in the folder.  I installed Windows XP-KB967715 - x 86 - ENU.exe and MicrosoftFixit50471.msi of Fix - It of Microsoft in

  • Difficulty of java that keeps repeatedly stop working...

    Java has stopped working properly. To resolve this issue, follow these steps: I uninstalled and reinstalled java again and again... Unable to display some of them to the bottom of the computer hangs using loads Thank you

  • error code b10hd 8

    What is this error code? My HP desktop computer does not work. Windows 7 operating system.