Passing values of the column in the last level of a dimension hierarchy.

My report has two colums
Column1 (Dimension has a hierarchy)
Columns2 (Fact with an Aggregation Rule)
I want to use the drill down facility in column 1 and pass the value in the last level of the hierarchy to navigate to another report. Can someone help me on this?
[Note: The above is possible when the column that is on the last level of the drill hierarchy is in the main report]

@ubuntupenguin Thanx for your prompt reply.
I am currently able to store all the necessary symbols in an array. But, How do I query for multiple symbols in the SQL Query ?
I have an array symArr[] which consists of all the symbols I need to query from the database. So, How should I write the SQL Query is my question.
I could have created a string which looks something like this from the symArr[] array:
XOM,AA,BAC,BB,BBC,....
But, the problem would be when I try to query these symbols in the php data service using "SELECT * FROM TABLENAME WHERE SYMBOL IN (?)"
where the variable $symbol is the populated string (XOM,AA,BAC,BB,BBC,.... ). So, to rephrase my question, Could I use SELECT * FROM TABLENAME WHERE SYMBOL IN (?) to query for Multiple symbols or is there a better approach.
Thanx in advance.
-Krishna

Similar Messages

  • Format the total value in the column of the graph table

    Hello all,
    I have a graph table and I need to format the total value in the column of the table.
    I am trying to find my table bean with the code below but it's not working in the processRequest. Is there anything else that should be done?
    // Get the graph
    OAGraphTableBean graphBean = (OAGraphTableBean)webBean.findChildRecursive("MyGraph");
    // Get the table
    OATableBean tblBean = (OATableBean)graphBean.findChildRecursive("MyTable");
    The tblBean is null in the processRequest. In the processFormRequest the tblBean is not null.
    Thanks and Regards,
    Andrea

    Hi,
    The code OAGraphTableBean graphBean = (OAGraphTableBean)webBean.findChildRecursive("MyTable"); does not work because in this case I am getting the table but casting to a graph.
    The MyTable bean is a child of MyGraph.
    When creating a graph bean we have the option to create a table as a child (select your graphTable region in the Structure pane, and choose New > tabularFormat - to create the table).
    The table bean child I can get just in the processFormRequest, but the graph I can get in both processRequest and processFormRequest.
    I need to get the table bean in the processRequest to format the total value column.
    Do you know if is there anything else that should be done to format the total column?
    Thanks and Regards,
    Andrea

  • How to fetch the junk values of a column and the column name in oracle

    Hello,
    Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..
    Thanks in advance..

    Try this, I'm not sure if it'll help... and get some idea...
    try to modify it as per your requirement -
    select * from junk_vals;
    1     ranit1
    2#     ranit2
    3     ranit3
    4$     ranit@4
    5     ranit5
    6     r^anit6
    select 'ID', id, val from junk_vals
        where regexp_like(id,'[^a-zA-Z0-9]')
    UNION
    select 'VALUE', id, val from junk_vals
        where regexp_like(val,'[^a-zA-Z0-9]');
    -- "Output :"
    ID     2#     ranit2
    ID     4$     ranit@4
    VALUE     4$     ranit@4
    VALUE     6     r^anit6
    NOTE - I've considered anything other than Alphabets and Numbers as a Junk Value
    Edited by: ranit B on Jan 4, 2013 5:07 PM
    -- o/p added

  • How can i reorder the columns in the do not display section of the interactive report.

    Hi,
    My interactive report contains 185 columns, and the user requieres to build his customized reports with some columns, but the he gets lost between this amount of columns, this would be easier if the columns in the do not display section of the interactive report would be sorted automaticaly, Is this possible?
    Thanks a lot,

    Hi Eva,
    One solution would be to order the column names alphabetically. You can create a JavaScript dynamic action to handle the sorting.
    The shuttle of the IR attribute "Select Columns" have the ID's "apexir_SHUTTLE_LEFT" or the Hidden colums and "apexir_SHUTTLE_RIGHT" for the displayed columns.
    The function you'd need to create would look like:
    var options = $('select#apexir_SHUTTLE_LEFT option');
    var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
    arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
    options.each(function(i, o) {
      o.value = arr[i].v;
      $(o).text(arr[i].t);
    var options = $('select#apexir_SHUTTLE_RIGHT option');
    var arr = options.map(function(_, o) { return { t: $(o).text(), v: o.value }; }).get();
    arr.sort(function(o1, o2) { return o1.t > o2.t ? 1 : o1.t < o2.t ? -1 : 0; });
    options.each(function(i, o) {
      o.value = arr[i].v;
      $(o).text(arr[i].t);
    You'd need to find the propper timing for the dynamic action to run, I guess click of the button "Select Columns" would do the trick.
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • Fiscal year in the columns outside the key figure structure

    Dear Experts
    I have a report requirement to show the keyfigures in the columns from year 1 to year 10 and in each year there are 4 keyfigures each restricted to 1 quarter for 4 quarters.
    So, there are too many keyfigures to create.
    I am using fiscal year in the columns outside the Key figure structure containing the keyfigures restricted at each of 4 quarters.
    So, when the report displays, all the 10 years will automatically be displayed.
    The problem is one of the 4 quarter level keyfigures needs to be restricted by calendar year.
    How can I read what is the fiscal year for each column at runtime so that I can reference this value to determine the calendar year ?
    As you know, each FY spans 2 Calendar Years. So, i need to restrict this on the 4th keyfigure by calendar year but while having the FY outside the keyfigure structure i can get all the FY, I am not sure how to access this value at runtime so that eg.
    if FY for column 1 is 2010, i can set calendar year to be 2010 to 2011.
    Hope you can give me some clues.
    Thanks you Gurus!
    Best regards
    John

    Dear Sunnybt
    Copy Riyes,  I find your response interesting. Please could you elaborate your idea of using condition in more detail.
    Sorry for my late response.
    Allow me to clarify my statement, which you are right, is unclear.
    By :
    "if the current QuarterFY is less than the current QuarterFY"
    I mean :
    eg. user enters FY range : 2009 to 20NN  (eg. 2017)
    KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
    For each column, where the FY can be any year range entered by user,
    the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
    If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
    In my current design, I am unable to use customer exit text variable to meet this requirement.
    So, I like to check with you for fresher ideas.
    If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
    Best regards
    Bass

  • How to display the total at the end of the column in the report.

    Hi all,
    Could any one please intimate, how to display the total at the end of the column. For example, i have a column, "sales" as the Key figure, and it has the data for all the transactions. Now, i would like to display the total at the end of the report, below the same column.
    Similarly, for all the other columns in the report, i need to display the total for all the columns in the report.
    Thanks & Regards,
    A.V.N.Rao

    Hi All,
    Thanks for many suggestions. I tried by providing the "Total" under "Calculate Results as" and also "Counter for all detailed values" under "Calcuate Single Values as", in the  "Calculations" tab of the key figure, but i am unable to get the information. Again, i am providing the requirement below:
    CHAR - A   CHAR - B   TIME CH. - 1 KF -1  KF- 2 KF - 3
    1                     RAM        2012           1         50      50
    2                     SAM         2012          2         100    200
    Result                                               3           150   250
    Assume KF -1 as  "Qty." KF-2  as "Price" KF-3 as "Sales".
    Please intimate the solution.
    Thanks & Regards,
    A.V.N.Rao.

  • How to Organize the columns in the dynamic internal table?

    Hello Folks!
    How to Organize the columns in the dynamic internal table? i tried passing the parameter COL_POS to the fieldcatalog, Which is not working.

    Organize in What order ? What is your way to output ?
    If you use ALV, you need to create fresh FIELD CATALOG for your dynamic table and then assign the column position.
    Regards,
    Diwakar

  • Is there a routine one can use to shift the column of data by one each time the loop index increments? In other words, increment the columns that the data is being saved by using the index?

    The device, an Ocean Optics spectrometer in columns of about 9000 cells.I'm saving this as a lvm file using the "write to measurement file.vi". But it doesn't give me the flexibility as far as I can tell.
    I need to move the column by the index of the for loop, so that when i = n, the data will take up the n+1 column. (the 1st column is used for wavelength). How do I use the "write to spreadsheet file.vi" to do this? Also, if I use the "write to spreadsheet file.vi", is there a way one can increment the file name, so that the data isn't written over. I like what "write to measurement file.vi" does.
    I'd really appreciate any help someone can give me. I'm a novice at this, so the greater the detail, the better. Thanks!!!

    You cannot write one column at a time to a spreadsheet file, because a file is arranged linearly and adding a column would need to move (=read and rewwrite elsewhere) almost all existing elements to interlace the new data. You can only append new rows without having to touch the already written data.
    Fields typically don't have fixed width. An exception would be binary files that are pre-allocated at the final size. In this case you can write columns by setting the file positions for each element. It still will be very inefficient.
    What you could do is append rows until all data is written, the read, transpose, and write back the final file.
    What you also could to is build the final array in a shift register and write the entire things to file at once after all data is present.
    LabVIEW Champion . Do more with less code and in less time .

  • I just bought a MacBook Pro, and need to d/l my photos from my memory card reader.  iphoto keeps coming up as the app to use, but the column on the left says "No name, and shows 0 photos on the black screen.  How do I view the photos on the reader?

    I just bought a MacBook Pro, and need to d/l my photos from my memory card reader.  iphoto keeps coming up as the app to use, but the column on the left says "No name, and shows 0 photos on the black screen.  How do I view the photos on the reader?

    Did it...  When I clicked on "No name", a file folder came up and, I forgot to put MacBook Pro in the name bar... That was it!  Maybe someone else can use this post Hopefully...

  • How to hide the columns at the end user level thru personalization

    Hi all
    how I can hide the columns that are displayed on the portal. Any personalize option for the end user? Any righ click or some thing?
    I am looking at hiding columns not while developing the iViews / Pages, But in the browsers as the end user.
    i can hide the columns what ever i want while creating the iViews for MDM data. but we cant provide the content administrator role to the end user for hiding the columns what ever they want. they want to hide the columns thru pesonalization option at the end user level.
    Can you please let me know whether we can able to hide the columns at the end user level thru personalization ?? is it posible with standard iViews??
    Regards
    Sunil

    Hi Sunil,
    I understood your requirement properly and seems valid and I tried this at my end but i didnt get the solution. Field list is not visible in Personalize option. I dont think it is possible with MDM standard iViews.
    I was thinking an alternative is if some how we manage to give the permissions to end user only on Result Set iView but if it would be possible it will not be a good design.
    Lets wait for some inputs from others.
    Regards,
    Jitesh Talreja

  • The column in the table do not match an existing primary key

    I've got two tables tbl_Workshop and tbl_Material
    tbl_Workshop has columns workshopID, workshopTitle, materialID
    tbl_Material has materialID, name, workshopTitle
    when I'm trying to create a relationship between the workshopTitle of tbl1 and tbl2, it gives me an error that says the column in the table do not match an existing primary key.
    What could be the reason for this error and how to overcome it.
    ps. The datatypes and names of both the table's column match.

    Have you created primary key on workshopTitle column in tbl_Workshop
    You can add foreign key relationship from tbl_Material.workshopTitle
    to tbl_Workshop.workshopTitle
     only if latter is a primary key of the table.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • In Pages, the column in the table won't flow onto the second page. The text is hidden. Please help!

    In Pages, the column in the table won't flow onto the second page. The text is hidden. Please help!

    Thank you for your reply,
    When I click 'view' , I can "show inspector". From the table tab, I can pull up the "Format". [See below]. I don't see the "Arrange" or "Object Placement Move with Text"
    Right now I have the Wrap Text On. When I take it off, It messes up my rows [see second image].
    All I want is for my column to flow onto the second page.
    Your assistance is genuinely appreciated.
    Thank you again.

  • The column on the far left that showed my iPhone setup and options is missing. How do I get it back.

    I Had to reinstall iTunes. Now the column on the far left that showed my iPhone, setups, options and the like is missing. How do I turn it back on?

    With the current version of iTunes the left-hand sidebar that you could get to show has been removed. Now when a device is connected you should get a device icon towards the top left of the iTunes screen next to the content type icons - click on that and you should get a list of categories down the left-hand side for the phone, one set selecting and syncing content from your computer's iTunes, and then a second set for showing what is currently on the phone.
    Does that device icon show ?

  • Subtotal of the columns in the ALV

    Hi,
    I want to do the Subtotal of the columns in the ALV by using any of the FMs:
    ALV_OPTIONS_FOR_SUBTOTALS
    ALV_SUBTOTALS_GET
    ALV_SUBTOTALS_GET_H
    But since the functional documentation is not available.
    I am not getting how to use.
    Please provide me the code or reply me about how to go about.
    Thanks & Regards,
    Pooja

    Hi,
    Consider i have 3 fields
    lifnr     curr      DMBTR
    5600   GBP    1000
    5600    GBP   1000
    5600   USD    1000
    5600   TND    1000
    5601   GBP    1000
    5602   GBP    1000
    I want output to be :
    lifnr     curr      DMBTR
    5600   GBP    1000
    5600    GBP   1000
    5600   USD    1000
    5600   TND    1000
    5600  GBP    2000
              USD    1000
              TND     1000
    5601   GBP    1000
    5601   GBP    1000
    5602   GBP    1000
    5602   GBP    1000
    Actually i tried using the using subtotal option here:
    **Method 1:
    lv_fieldname      = lc_lifnr.
      lw_sort-spos      = 1.
      lw_sort-fieldname = lv_fieldname.
      lw_sort-up        = c_mark.
      lw_sort-subtot = 'X'.
      APPEND lw_sort TO i_sort.
    Next i tried using the modifying field catalog like this
    **Method 2:
    LOOP AT i_fieldcat INTO wa_fieldcat.
        IF wa_fieldcat-fieldname EQ 'DMBTR'.
          wa_fieldcat-do_sum = 'X'.
        ENDIF.
        IF wa_fieldcat-fieldname EQ 'WRBTR'.
          wa_fieldcat-do_sum = 'X'.
        ENDIF.
        MODIFY i_fieldcat FROM wa_fieldcat
                            TRANSPORTING do_sum .
      ENDLOOP.
    But both the methods didnt work .
    So kindly tel me how to go about?
    Regards,
    Pooja

  • How can I reorder the columns in the Files panel in Dreamweaver CC 2014.1?

    I just upgraded to Dreamweaver CC 2014.1, and I want to change the order of the columns in the Files panel. But I can't figure out how to do this. Can anyone help?
    Thanks,
    Kim

    <I want to change the order of the columns in the Files panel>
    You can change the sorting order by file name (ascending or descending), size, type, or date modified by clicking those labels on top of Files Panel.
    Nancy O.

Maybe you are looking for