Hundreds of rename logical columns

Hello!

I am new to OBIEE and I could not find a solution on google, so I hope you could help us. I have so few physical tables with many columns I want to rename it, but Assistant rename is not an option for me. Most of the names of columns are as assistant to rename and "BF5648" who is unable to transform into a human-readable text.

So I, in Excel, all the names of physical column and alongside the description I want to use in the business layer and presentation. Can I create a kind of script or I don't know, something I would say OBIEE bulk rename a column with this description.

If I have to do it manually, it would be a huge waste of time to rename every single logical column one by one.

I really hope that there is some sort of solution to this!

I think I have an idea, as we tried to export of AWM to OBIEE and it creates a file of text which I think I can examine and recreate one for my needs, or something like that and I hope it works. It seems to me that a lot of code, but if there is no other way, so be.

Tags: Business Intelligence

Similar Questions

  • Cannot rename a column in the presentation layer 11.1.1.9

    Hello world

    I'm having a time difficult trying to rename a column in the presentation to 11.1.1.9 layer - even if I uncheck 'use the logical name Colmn' the "name" box does not become white, it remains grey. Am I missing something simple? I thought I could rename objects in the presentation layer to make them more user-friendly for some reason any?

    A quick search in this forum you will get the answer

    Cannot rename objects presentation

  • Can I remove Logical columns that I will not use in the layer of presentation as the id or foreign key columns?

    Hello

    Can I remove Logical columns at the level of the business layer that I'm not going to use the layer of presentation as the ID or foreign key columns? It will not affect the relations to the business layer?

    Kind regards

    Nestor

    Hi Nestor,.

    It won't unless they are used as keys, columns sort order, the ID column or the likes. But you can leave them in the MDB layer and expose just in the presentation layer - just in case you need it later. It is not use all the resources or generate overhead. More: Developer of the RPD should be used to work with loads of columns

  • OBIEE logical column has same SQL but returns different results

    I have a SQL query with a case statement that returns the correct results by operating in Oracle SQL Developer. I've created several logical columns in OBIEE, one for each case in the original query. However, the results returned by each logical column OBIEE are radically different from the original SQL query results, even if the SQL code is virtually identical.

    For example, a column logical OBIEE that returns incorrect results contains the following SQL code:

    SUM (CASE when

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '% a %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%B %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%c %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%G %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"hour %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"%%J") or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%R %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%s %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%T %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%x %') or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%Y %')

    THEN 0 OTHERWISE 1 END)

    The case statement in the original SQL query, which returns the correct results, is as follows:

    CASE

    WHEN (postal_zip_code_permanent like "%%K") or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%m %') or (postal_zip_code_permanent like '%n %') or (postal_zip_code_permanent like "%p %") THEN "Ontario".

    WHEN (postal_zip_code_permanent like '% a %') or (postal_zip_code_permanent like '%B %') or (postal_zip_code_permanent like '%c %') or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%G %') or (postal_zip_code_permanent like "%hour") or (postal_zip_code_permanent like "%%J") or (postal_zip_code_permanent like "%%R") or (postal_zip_code_permanent like '%s %') or (postal_zip_code_permanent like '%t %') or (postal_zip_code_permanent like '% %') or (postal_zip_ code_permanent like '%x %') or (postal_zip_code_permanent like "%%Y") THEN "Canada, other than Ontario.

    WHEN (substr(postal_zip_code_permanent,1,1) IN ('1 ', '2', '3', '4', '5', '6' ', 7',' 8 ', ' 9',' 0') or (postal_zip_code_permanent like '%d %') or (postal_zip_code_permanent like '%f %') or (postal_zip_code_permanent like ' % I %') or (postal_zip_code_permanent like "% O") or (postal_zip_code_permanent like "%%Q") or (postal_zip_code_permanent like "%%U") or (postal_zip_code_permanent like ' % W ') or (postal_zip_code_permanent like "%%Z")) THEN 'other')

    WHEN (postal_zip_code_permanent like '% + %') or (postal_zip_code_permanent like '%. %') or (postal_zip_code_permanent like ' %? %') or (postal_zip_code_permanent like '% %') or postal_zip_code_permanent IN ('+ ','.', '?)) (',',') And THEN "Invalid."

    WHEN postal_zip_code_permanent is null THEN 'Blank '.

    Of OTHER postal_zip_code_permanent

    END

    Now I see what the problem was. In the original SQL query, each condition is exclusive, for each record will only be categorized in one of the scenarios WHEN. But in OBIEE, each logical column is autonomous, so some records were classified into more than logical column, even if each logical column was supposed to be exclusive.

  • Warning message before you rename a column

    Hi gurus,

    I need your suggestion. I am desiging a module to move data from one table to the schema of intermediate archives and then delete intermediate tables, such as each table has it's own rules to keep history (some of them need 2 weeks, 1 month etc) and deleting based on reporting_date for some tables, rpt_dt other reporting_dt other and so on... (inconsistent naming). Because most of the tables is not partitioned, I have to do in the conventional way of copying the data and then remove. (Speaking of ~ 100 tables, data to remove from 100K to 1 million)

    My plan is to create a table as follows, which highlights each table name and field based on which remove will

    Table of correspondence:

    KEYSOURCE_TABLEFIELDNAMESTARTEGYKEY
    1000T1REPORTING_DATE1
    2000T2RPT_DT1
    3000T3RPT_DT2

    Strategy table:

    STRATEGYKEYSTG_KEEP_DAYSCOMMENTS
    114Default option
    230Keep the last 30 days

    My question is I want to create an alert so that if a developer RENAMES the RPT_DT of the RPTDT column in table T2, it must either refuse the user until it changes the above new domain name mapping table entry. Otherwise refuse, at least draw the attention of the user. How do I get it? I was curious to know if there are new techniques in versions of oracle 10 g / 11 g (mine is 11 g) apart from old techniques I could think

    (1) create a level trigger statement for 100 + tables on the field of Reporting_dt/Reporting_date/RPT_Dt, such that the error is thrown in the exception block (this could slow down the load ETL). Difficult to maintain.

    (2) handle reactive IE perform a daily check to see if a field name in the mapping table exists in all_tables.

    I learned a lot of new techniques in this forum where many new features have been introduced by oracle, or others had a cleaner and better how to implement their experience practice.

    Thank you

    Sunny

    I do not understand how your statement-level trigger approach would work.  Rename a column is DOF, no DML, the ALTER TABLE that rename the column don't trigger a DML trigger.  Level trigger statement that try to validate the structure of the table to the data you're now would place a huge burden and would not raise an error up to this than potentially long after that the disturbing change has been made.

    I guess you can create a DDL trigger that took place when a user has changed the table who tried to validate the DDL against the data in the table (probably using ora_is_alter_column and ora_is_drop_column functions).  That could probably be put into work, but you should always remember to change the data in your table and then run DDL on your table, and not the reverse.

    A DML trigger on your mapping table that checks if the data in your mapping table corresponding to the table definition would be easier to write.  But you would be once again be capture potentially long errors after a rogue DDL statement was executed.

    You could get even more esoteric using something like water course to post the DDL changes and write a subscriber process may change your mapping table or triggered some kind of alert if there was a disconnect.  If you are the Subscriber for a little delay, you could give time for the LMD to the mapping table (most likely) would have completed to make coherent whole before validating the DDL.

    If you are looking for a technical solution, however, I will do as you no matter what time you want to make sure that coherent sets of changes are made - would create a stored procedure that combines some DOF and you want to allow and prevent people from having the possibility to issue direct DDL statements of the DML changes.  If your procedure is written correctly and is the only way to do this kind of manipulation, you should be able to track changes in sync (except for cases where the procedure was partially successful because engages in the DDL and mistakes elsewhere).

    In reality, however, this is not a technical problem if you probably don't want a technical solution.  Rename a column isn't something that would be never done willy nilly.  This is something that should be done as part of a change of control.  This change of control should be considered at least two beings who can catch stupid things.  That change control should be accompanied by tests that validate things like the ability of your process to ETL, data in the mapping table corresponds to the definition tables.  This change of control should be tested in environments below.  At the time wherever a change is ready to be deployed to production, you should be fairly confident roughly that the definition of the table will match the data in your mapping table.  A process-based solution would make me much more comfortable than a technical solution to this kind of question.

    Justin

  • I need to rename a column for a tabular presentation

    How to rename a column, I created for a tabular presentation?

    I added a new column to a tabular presentation (using 'add a new link in the column') and he gave me a name of column, called "link column. I tried to change, but it does not - note: I can't change a sql column does not exist outside Apex - I created it for the display of a calculation.

    I don't know that it can be done as I did before.

    change the column name photo columnnamechange.png

    Does not change the name of  photo colunnamechange.png so cannot reference in my calculation

    Well, I found a way to do it anyway. This should be changed in the definition of region > source.

  • Variblae presentation that goes to the logical column of the RPD

    Hello

    Can someone please tell me how to pass the variable to the presentation to logical column RPD
    I capture a date from a command prompt and set a State column based on the user date selects from the command prompt.

    can some please tell me how to get there...

    Thanks in advance

    You can pass the query variable to RPD.

    Create a session named PRESENTATION_VARIABLE variable. Write some SQL block initialization as select 'something' double.

    You can now use this session variable in the logical column as VALUEOF (NQ_SESSION. PRESENTATION_VARIABLE).

    Now, go into the dash prompt, change the column by which you want to set the variable presentation. Select request Variable throughout a variable drop-down list.

    Type the name of the variable to query PRESENTATION_VARIABLE.

    Now in your dashboard report, you can use the logical column that uses this query variable.

    Let me know if it worked or not.

    Thank you

  • Apply the sequence as a logical column

    I need to add a logical column in my table of facts or the dimension that generates a unique ID for each row selected in the answers. I have a sequence is created called camp_con_seq on my database. I wish I had my logical column run the camp_con_seq.nextval for each returned row. How can I set this up in the RPD?

    Thank you...

    Created the view in the layer using 'select' as a Type of Table with query
    Select double pubs.nextval;
    Add a nexval column.
    Saved it and when I discover data error
    ORA-02287: sequence number not allowed here

    Joint made with join complex fac.row_wid > = seq.col and followed by MDB and PS layer changes

    The same thing in answers too.

    I tried with EVALUATE('pubs.nextval(%1)' AS number, 'EMPLOYEES '. ("' Job_id") but no luck.

    I suggest you go for a slider or sp using seq gen I know no can go for it or not, tried to get errors, he left.

    Try to go for tables system... see how you can use using V$ SQL.

    Hope this helps

  • Rename the column name of the view

    Suppose I have an employee of the table with the column name. Now, I want to make a view of the employee to the table with the name of the First_name and Last_name column. Is this possible?

    You can also use aliases in the view definition:

    CREATE VIEW employee_view (
      first_name,
      last_name
    ) AS
      SELECT first,
             last
      FROM   employee;
    

    However, you can rename a column in a view. You would have to DROP and CREATE or to CREATE or REPLACE.

    Concerning
    Peter

  • new logical column MDB

    Hello
    I created a new logical column in MDB (column name: Total amount FY13), check the fact table and I marked "use existing columns of logic as the source. That's what I have in the box below. Even if these individual columns have values in them, this new logical column is not populated.

    «Resource FY13-FY17 '.»» Because of resources. " AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX1_AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX2_AMOUNT_FY13

    Let me know if there is anything wrong and how to fix it.

    Thank you for your time and your help.

    Hi ssk.

    Check this by placing the straps correctly for columns of logics.
    «Resource FY13-FY17 '.»» Because of resources. " AMOUNT_FY13 + ("Resource FY13-FY17". "" Resources ". TAX1_AMOUNT_FY13 + "resource FY13-FY17. "" Resources ". TAX2_AMOUNT_FY13)

    (GOLD) If it still does not, have the column created instead of checking using the existing column. You write what is necessary for your expression which is the complement your performance.

    hope helps you.

    See you soon,.
    KK

  • Rename a column

    Hello friends,

    I'm trying to rename a column using the alter statement.

    ALTER TABLE KAW_OWNER. X_HOUSEHOLD_UBS_DETAIL RENAME X_PEAK_12M_SEGMENT_CD IN X_PEAK_12M_SUBSEGMENT_CD ;



    ORA-14155: lack of PARTITION or SUBPARTITION keyword.

    I checked the table script and there are no partitions and void / partitions.


    Published by: kumar73 on January 24, 2011 07:09

    Published by: kumar73 on January 24, 2011 07:15

    It is an error message disturbing Oracle. you simply missed the keyword COLUMN:

    ALTER TABLE your_table RENAME COLUMN from_col TO to_col;
    
  • How to rename a column

    Hai All

    How to rename a column


    Select sysdate double

    And it displays the column as sysdate and I need to change in the Regulartime


    How to do this


    Thanks in advance

    Srikkanth.M
    entman@aepw02> select sysdate as Regulartime from dual;
    
    REGULARTIME
    --------------------
    10-MAY-2010 11:26:13
    
    1 row selected.
    
  • Aggregate on logical column

    Hello:

    I was testing two columns, ID and value as follows:

    ID value
    1-2
    2 1
    2 2

    and the value < /b > for < b > aggregation type is Sum. In the report, it will be looks like:

    ID value
    1-2
    2 1

    It is ok. Then I define a logical column, < b > < /b > Calc is:

    When case value < 0 then 0 else value end

    So I think that the computed column must be:

    ID value Calc
    1     -2     -2
    2     -1     -1
    2      2      0

    And then on the report page, is to expect a show:

    ID value Calc
    1     -2     -2
    2      1     -1

    But in fact, I had:

    ID value Calc
    1     -2     -2
    2      1      0

    Why has this happened?

    Thank you!

    This is basically good example for condition after aggregation. Condition is the application after the total, that is why it shows 0. For the 2nd rank sum is 1 that is greater than 0, so it is showing 0.

    If you want to avoid this, one solution would be the calculation to the RPD, the physical columns in calculations. You'll get to put it as expected.

    -Madan

  • Add logical column in RPD with aggregation

    Hello

    I have about a data warehouse contains data of students, in my table of facts, I a measure called number of all students, I also have another measure called sum of lack of student data that I have in my fact is: I all pupils and students who is absent I calculated the sum of the absence of the student in my ETL (ODI) , the other measure I want to calculate in my RPD.


    How can I get the number of all students


    Thank you

    Ah (sorry, maybe a little slow as it is at night...)

    Add a COUNT DISTINCT aggregation on your id_student column and you get many students.

  • How to recover new logical column based on values of table hint.

    Hello
    I have two tables in SPR
    1. file table contains the coulmns-> date, numero_fichier, record_count, cldm_stg, cmsa_stg, archive_stg
    2 rejection table columns are--> same as above
    both have same common requirement of columns.my is to publish a dashboard as:

    Date | County land_files | alnd_recordscount | County target_files | target_records County | Rejection filecount | number of records release

    These report ineed recover from these two tables.based on countcomes values.taget flag when all values of ILI value = 'y '.
    IE (cldm_stg = 'y' and cmsa_stg = 'y' and archive_stg = 'y') if not then it will be in the release file.
    Please give solution how to achieve my output.






    [nQSError: 14026] Impossible to navigate the requested term: Target_record: [DAggr (FILE_CONTROL. Target_record by [FILE_CONTROL. FILE_NAME, REJECTED_FILES. File_name, REJECTED_FILES.NO_OF_ROWS, File_landing.NO_OF_ROWS, File_landing. (FILE_LOAD_DATE] SB FILE_CONTROL)]. Correct metadata consistency warnings. (HY000)

    Published by: user8767586 on January 12, 2010 04:29

    First answer the following questions:
    What is your fact table?
    What are your dimension tables?

Maybe you are looking for

  • Firefox has only display problems in the upper left region of only my Dell U3011 monitor; the monitor does not have these problems with any other application

    Some parts of the Firefox window are translucent, allowing the image of the desktop to show through. These regions are anything but great internet site central image which behaves normally. Unless the desktop is completely black this problem makes re

  • Need charger for Camileo X 150

    Hello I seem to have lost my charger for my camcorder camelio. Can someone point me in the right direction from where I can get a replacement. It does not use a battery that's a lead charger that I plug. I am at a loss and not mind technique. Any hel

  • Volume falls on my Equium L10

    The volume control has a mind of its own, I normally have my volume halfway, but quite often he works his way down so I can hardly hear it. Before anyone suggests I'm not turning down in media player etc. any ideas?.

  • Media Player sync

    Windows Media Player has encountered a problem during the synchronization of the file to the device.

  • Unable to download Windows Update

    Having a lot of trouble with the updates of the foregoing, see many people with the same problem.  They all fail with the download, but the problem is, is there a solution to this? It made my head! * Thread title changed by the moderator. Reason: Add