Dynamic changing column using one calumn values

Dear All,
I have one Column having values in single row as Zones|1,Zones|2,Zones|3,Zones4,Venue|Ind,Venue|eng,Country|india,Country|africa......
In report we have to take Zones, venue, country dynamically and correponding values has to be shown in the column area. Pls provide me any solution .

Hi Shyamal,
The closest thing to doing this dynamically would be with a Crosstab report but it won't show you the details, only summarize on the column. 
Unless you know all the possible columns you may have, you can create something like:
If {TABLE.FIELD} = "Zones" Then
Else If {TABLE.FIELD} = "1,Zones" Then
And so forth.  But you will have to know each and every possible value for that column. 
Good luck,
Brian

Similar Messages

  • Average Calculation for the Dynamically Changing Columns

    Hello Experts,
    We have to design the following scenario in a query in the query designer.
    Variable Selection = 0CALMONTH Range Value
    The Report Data should be as below
    For Example: 0CALMONTH = MONTH1 to MONTH3
    MONTH1--MONTH2--
    MONTH3
    Statistical Forecast %-- A%B%--
    C%
    MAPE--(A%B%C%)/3(A%B%C%)/3--
    (A%B%C%)/3
    For Example: 0CALMONTH = MONTH1 to MONTH5
    MONTH1--MONTH2MONTH3MONTH4--
    MONTH5
    Statistical Forecast %--A%B%C%D%--
    E%
    MAPE--(A%B%C%D%E%)/5(A%B%C%D%E%)/5----(A%B%C%D%E%)/5   .............
    In this report the number of columns will be dynamically changing depending on the 0CALMONTH range value and we need to calculate the MAPE value which is equal to the average value of Statistical Forecast %.
    Can someone please provide me the inputs on how to calculate the MAPE value for the dynamically changing columns.
    Regards,
    AVS Reddy

    Victor,
    I have this code here
    AVG(DESCENDANTS(COSTCENTER.H1.Currentmember,1))
    Working for me right now, without using the second parameter on the AVG function, and 1 for te descendants, and the first decendants of the current acount are not the base level of the hierarchy.
    And if you need to specify the lowest leves to get it to work something is wrong.
    Use the formula above and try optimizing you application.
    Best
    Leandro

  • Dynamically change column heading without Dashboard Prompt

    Hi All,
    My requirement is change the column heading dynamically in a report. I have achieved this through setting the presentation variable to the dashboard prompt.
    I have 5 columns in the dashboard prompt. Out of these 5 columns, I want to use only 1 column as dashboard prompt.
    But still I want to dynamically change the column heading of the other 4 columns based on the only 1 column selected in the dashboard prompt.
    Is there anyway to achieve this?

    You need to have some logic to change other 4 columns based on 1 selected column.. where you want put that logic?
    BTW: Check these
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    http://rampradeeppakalapati.blogspot.com/2012/02/dynamically-change-column-names-in.html
    If helps mark or also update back if you are thru with this.

  • Dynamically changing column display type

    Hi,
    I have a report that gets generated every day with different column names. The report contains a decode statement that uses a row value to return using pictures. The problem I am running into is the column is being displayed as text and the value of the row is showing up as some html text instead of the picture. The default Column report in APEX 4.1 is for the report to be displayed as "Display as Text". I know the APEX team did this for security reasons. Is there any other way to display the column as "Standard Report Column".
    I want the report to be displayed as a "Standard Report Column" instead of me going in and changing it manually to "Standard Report Column".
    Any help in the right direction is appreciated.
    -Abe

    I have been trying to find the same solution... the ability to either default all my columns to "Standard Report Column" instead of "Display as Text" or to dynamically change them from code. Or it would even be great if the "Display As" value on report columns (both Classic Reports and Interactive, mine is Classic) was a column in the "Column Attributes" table on the "Report Attributes" page so that I could just change them all and hit "Apply" from that one page instead of having to go into each column's properties individually. (It's time consuming and tedious and easy to miss columns because I can't tell what I've changed.)
    If anyone has any thoughts, I'd love to hear them...

  • Dynamic Lead column repeats the same value

    Hi, I have a dynamic lead column with reporting groups attached to them. Also, I have date column in the data column which is also dynamic. In the layout the reporting group field shows only the first entry in the variable and repeats itself. When I enter the data and save it, data is saved in the right reporting groups...If I replace day with week(and no further changes in the layout) reporting groups show up...is it something to do with date field?
    Reporting Group       01/01/2008      01/02/2008  01/03/2008
    1                               $100                $ 120          $ 150
    1                               $110                $ 130          $ 160
    In the database it shows the second line reporting group as 2(which I want) but in the layout it shows up as 1.
    How can I make it show the correct value. Thanks,
    Bulusu

    Hi,
    When any of the dynamic lead columns or data columns you select them as dynamic, automatically the Infoobject is filled by the system and it would be greyed out. Copy the same infoobject like 0FISCPER, 0FISCYEAR and paste in the Description of the layout (for that dynamic column). Then it will pick up on its own.
    Otherwise if you put your own description like date, month and year etc. for all the columns or rows, as the case may be, it will give similar description.
    Regards,
    Ravi

  • Multiple dynamic repository variable using one initialization block

    I am trying to declare three dynamic repository variables var1, var2, var3. I want to have only one intialization block for all three.
    The point I am confused at is when declaring vraibles, I can normally do
    select x, y, z from table where expr1=expr2
    and then x, y, z can give values to my three variables.
    But in the above case the query is selecting three different things (different columns) from the same row in the database.
    But in my case I want to select the same column from different rows.
    for example
    var1 will be
    select x from table where expr1=expr2
    var2
    select x from table where expr1=expr3
    and var 3
    select x from table where expr1=expr4
    1. Is it possible to do that.
    2. Is it possible to dynamically name a dynamic repository varibale?
    I use OBIEE-11g
    Thank you
    Edited by: user6287828 on Jan 26, 2012 9:41 AM

    Hi,
    I think the primary advantage of WITH clause is to resolve complex sub queries (I am sorry, I am mistaken here). But as per my readings and the BI Server too generating queries using WITH clauses, I think this is an optimized option to choose from in your case (I think there might be other queries too that can get your requirement solved though).
    You may want to refer to http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:524736300346304074 for some info. The database experts say the usage is case-by-case and hence probably in your case if you want to populate 20 variables at one shot you in BI using this kind of query, you have to further evaluate the time taken by the sql etc or break it down again.
    However, I think this certainly is an option here.
    Hope this helps.
    Thank you,
    Dhar

  • Dynamic Variance column using EvDRE

    Hello All,
    I have to create a balance sheet report in which I have time and category in my columns and account in my row expansions. I have two issues:
    1) I would like to list the high level members of Assets & Liabiliities. Best way to do that is to call all the accounts which have the parenth1="ASSETS" & parenth1 = "liabilities". Unfortunately, Parenth1 is not a parameter based on which i can do a filter on the memberset. Is there any other way, I can specify on the memberset that I would like to bring in the immediate dependents of these accounts. I could probably do DEP(ASSETS) & DEP (LIABILITIES). I am just wondering if there is any other better way to display this.
    2) When I insert blank rows & columns, do they stay for good in EvDRE?
    3) Also, how do I specify the EVBET format when specified in after range. For instance, in my after range, I have specifed cells A33:A34. In A34, I have specified (Application, $F7,H7,I7). F7 is where my account key is and H7 and I7 are where the values are. But when I expand, I am get REF!! for all the ones expect the application. What am I doing wrong?
    Thanks in advance for your help!!
    Danny

    You should remove the column expansions completely, if these combinations (H=2008 Actual, I=2009 plan, J=2009 Forecast) are the same for each year.
    What you then do, is just hardcode the data into the cells, but not by typing, but by using BPC formulas.
    Make sure that in the pagekeyrange, you use the EVCVW function to select the Time dimension member. (EVCVW="FINANCE";"TIME"). Let's say this formula is in cell E5. Then, in column H, you should reference to this cell (=E5), and format the cell with general numberformat (otherwise the formula will not display a result). Now, in column H, where the colkeyrange resides, there will be the value for the selected timedimension member.
    Now, in column I, you should put the EVTIM function, put the following function =EVTIM("FINANCE";$E$5;1;YEAR). This formula can be copied to column I and J.
    Only problem now is that because the column expansion is off, the afterrange for the column expansion will not work anymore, so the EVBET formula should be manually input there. But if it is already there because of your previous effort, it is still there.
    I don't know if you kept the row expansion (as I said in my previous post, best practice is to turn it of), but if you did you only need to type the EVBET function  in the top row, and formulate it properly using $-signs, and it will expand down automatically.
    Regards, Tim

  • How do I change from using one apple ID to another on my iPod ?

    I would like to use someone else's apple ID on my iPod so they can use it for their things but it doesn't seem to be working when I reset my iPod

    Got to settings, sign out of your account and into theirs.
    This is covered in the manual

  • Dynamic changes on axis limits

    hi, for each charts, we can set the "Axis Limits" (under "Axis Scaling" property")
    by chosing "Specify manually", we can set "Minimum value" and "Maximum value" manually.
    but it is "hardcoded".
    is it possible to have:
    the minimum value or maximun value are dynamically changed by the exact minimum value and the exact maximum value from the column (data source) ??
    therefore , if the data changes, user dont need to set again
    (although "Zoom to data range" is an alternative but the result is not very good)

    I think it is impossible , so I close this thread, thanks

  • Using multiple key values to find data

    Hello, It's me again.
    I had a question about bring data out from Database and show on an ADF page on Jdev 11.1.1.3.
    And Mr. Daniel Atwood     answered my question with this follow blog he wrote.
    http://www.avioconsulting.com/blog/datwood/2012/06/19/using-bpm-process-variable-adf-form-retrieve-database-information-0.
    But I have another question on the top of that.
    The example Mr.Atwood provided is when you using "one" key value, what if I have two key values, how to set this up?
    Here are some details:
    I have a table like this
    ID     Type_code     Name
    0001      05      a-blabla
    0002     25      b-blabla
    0002     26      b-blabla
    0003      08      c-blabla
    0003      25      c-blabla
    0003     79      c-blabla
    What I want to do is after input the ID(0003) and type_code (25), it will show me the result on three input text components in ADF page with value 0003, 25 and c-blabla.
    Currently, I can use only ID to query the data, but I would like to use two key values to find the specific data.
    Thank you very much for taking time to think about this,
    Sincerely,
    Viola

    Dear Daniel, may I ask one more question please?
    what if I have 4 tables?
    table1
    ID * ID_Type_code * Name
    0001 * 11 * abc
    0002 * 12 * abcd
    0003 * 13 * abcde
    table2
    ID * OID_type_code * Name
    0001 * 22 * abc
    0002 * 23 * abcd
    0002 * 25 * abcd
    0003 * 23 * abcde
    0003 * 22 * abcde
    0003 * 28 * abcde
    table3
    ID * OID_type_code * OGAD_line_id * address
    0001 * 22 * 1 * a street
    0001 * 22 * 2 * b street
    0002 * 23 * 1 * c street
    0002 * 25 * 1 * d street
    0003 * 28 * 1 * e street
    0003 * 28 * 2 * f street
    0003 * 28 * 3 * g street
    table 4
    ID OID_type_codeOGAD_line_id*COP_line_id*phone number
    0001*22*1*1*2222222222
    0001*22*1*2*3333333333
    0002*23*1*1*4444444444
    0003*28*2*1*5555555555
    0003*28*2*2*6666666666
    Primary key for each table
    table1, primary key is ID
    table2, primary key is ID , OID_type_code
    table3, primary key is ID , OID_type_code, OGAD_line_id
    table4, primary key is ID , OID_type_code, OGAD_line_id , COP_line_id
    I would like to show each value in each table in the separate input text fields.
    Therefore, this is an advanced question based on the previous one, not only get values from one table but also from several tables based on input for example 0003 and 28 as the ID and OID_type_code?.
    Let me know if you need more details,
    Thank you so much,
    Viola

  • Dynamically change values of dropdown column of webdynpro ALV

    Hi All,
    In our webdynpro application we are using a ALV in which we need to display one column as dropdown, now values in this dropdown needs to be changed based on some other selection on the screen. I tried changing the value set of the attribute binded to this column and refreshiing the ALV after setting the value set with iwci_salv_wd_table->refresh( ) method but it doesn't work. The dropdown always shows the values which I set in the value set in wdinit method.
    Please let me know how this can be acheived?
    Thanks,
    Anuj Tanwar

    in the selections action you can overwrite the ITAB that is bind to your ALV and then bind_table( the new itab ) to the context node that is bind to your ALV.
    WDDOINIT you have an itab that I will call itab_1 and after you set up the value_set for the dropdown and the rest of the values in the itab 1 you should have a line of code like  lond_context->bind_table( itab_1) right?
    so now you have other user interface that has different selections and the user have to select something and the dropdown should change....
    no behind the ACTION of the user interface you should do the same as wddoinit but now your itab_1 should have the new values that you code to be depending on the selections so now you should bind the new itab_1 to the context node, same way you did in wddoinit.
    thanks!
    Jason PV

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to catch changed column values in alv oops using grid

    My requirement needs to catch changed column values in alv oops using grid .any method to do this.
    please help me out ,
    Tks in advance

    Have a look into the SAP standarad Programs those programs have the edit option on the ALV output.
    BCALV_EDIT_01
    BCALV_EDIT_02
    BCALV_EDIT_10.
    Regards,
    Gopi ,
    Reward points if helpfull.

  • HTML DB Chang column name dynamically

    Can I change the column name dynamically. for instance
    Today run my apply it will display the title of the columns this
    Column title: Wed Thu Fri
    04/22/05 04/23/05 04/24/05
    Data 45 34 34
    54 56 23
    Next week
    Column title: Wed Thu Fri
    05/03/05 05/04/05 05/05/05
    45 34 34
    54 56 23
    The date Change Dynamically?

    Go to your report and open report atributes. There you can choose the options for column names. Click on the pl/sql function and type this in:
    DECLARE v varchar2(20);
    begin
    v := to_char(SYSDATE, 'dd.mm.yy')||':'||to_char(SYSDATE+1, 'dd.mm.yy');
    RETURN v;
    END;
    This will set the first two columns to the specified dates. You can use this as one option.
    If the case is more complicated than you can do the following:
    1. create a number of items on your page - hidden
    2. compute the items with values once the page is loaded
    3. use item substitute string &ITEM. in the column name, which will use the item value as a name for the column.
    This way you are more flexible since you can use the item values for some columns only and have the other columns hardcoded.
    Denes Kubicek

  • Change Column Header / Column Background color based on a value in a specific row in the same column

    SSRS 2012
    Dataset (40 columns) including the first 3 rows for Report layout configuration (eg: the <second> row specifies the column background color).
    Starting from the 4th row, the dataset contains data to be displayed.
    I would like to change the background color of the ColumnHeader/Column based on the value in the same column in the <second> row.
    How can I accomplish the this requirement? (this must be applied for all the columns)
    Thanks

    Hi Fasttrck2,
    Per my understanding that you want to specify the background color of all the columns/column header based on the value in one special column of the special row, right?
    I have tested on my local environment and you can add expression to condition show the background color in the columns properties or the column header properties.
    Details information below for your reference:
    Specify the background color in the Column header: you can select the entire column header row and in the properties add expression in the Background color :
    If you want to specify the background color for the entire column, you can select the entire column and add the expression, repeat to add background color for other columns.
    If you want to specify the background color based on the value in the specific columns and row, you can create an hidden parameter to get the list of values from the  specific column, specify the Available values and default values by select "Get
    values from a query", finally using the expression as below to get the specific value you want:
    Expression(Backgroud Color):
    =IIF(Parameters!Para.Value(1)="1221","red","yellow")
    If your problem still exists, please try to provide some smaple data of the report and also the snapshot of the report structure to help us more effective to provide an solution.
    Any problem, please feel free to ask.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

Maybe you are looking for