How can i hide and display columns dynamically

Hi,
Is such a thing possible in BeX.?????
Following is the reqiurement.
Number of columns with the forecast values are to be from Forecast 1&2 till the month before the chosen selection. In order for us to calculate the variance, you should have 2 forecast values. 
If March is chosen please show Forecast 1& 11, Forecast 2&10
If April is chosen please show Forecast 1& 11, Forecast 2&10, Forecast 3&9.
If November is chosen please show Forecast 1& 11, Forecast 2&10, Forecast 3&9, Forecast 4&8, Forecast 5&7…………..Forecast 10&2.
Please guide how can this be achieved.
Regards,
Rathy

Hi,
well at least you can use some vba macros to achieve that. Best would be to have a static query embedded in a workbook and a sheet where the results are displayed as copies from the query via a macro.
regards
Siggi

Similar Messages

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • How can I hide primary key column in BC4J form

    I have populated a primary key with dbsequence and how can I hide it on the form. It is populated in the DB by a trigger.

    I have populated a primary key with dbsequence and how can I hide it on the form. It is populated in the DB by a trigger. To hide it, edit the attribute using attribute-editor that you bring up by double-clicking on the attribute in the "StructurePane" .
    Then go to control-hints panel and mark the attribute setting for Display = Hide.
    Then UI wizards will not add the attribute into generated panels.
    However once you have UI generated, this hint is no more used.

  • How can I catch and display the "cent" symbol (Alt+0162)?

    Hi,
    I have a jTextArea field in which it supposes to be able to catch a special
    character, money cent symbol by Alt+0162 from the keyboard. Does anyone know
    how I can catch it and display it in money cent symbol in the jTextArea field?
    Thanks for your help.
    -John

    The CATCH-ENDCATCH statement is obsolete as of release was620. You should use TRY. CATCH. ENDCATCH.
    The exception that will be raise is CX_SY_CONVERSION_NO_NUMBER, so you have to catch that exception or a super class of this exception class.
    REPORT zfsl_sum_functions.
    DATA: cin(50),
    cout(50),
    iin TYPE i,
    iout TYPE i,
    etext TYPE string.
    DATA: rf_cx_error TYPE REF TO CX_SY_CONVERSION_NO_NUMBER,
            errortxt TYPE string.
    TRY.
        cin = '123ABC'. " how can i catch this
        iout = cin.
        WRITE: iout.
      CATCH CX_SY_CONVERSION_NO_NUMBER INTO  rf_cx_error.
        errortxt = rf_cx_error->get_text( ).
        WRITE errortxt.
    ENDTRY.

  • How to create links and display information dynamically depending on search

    hi everybody
    I have a search textbox in which the user has to give the search string like date of birth. For the search string , records will be retrieved from the database. The number of recordds will vary. Only the names of the corresponding person has to be displayed. Each one will have a hyperlink and on clicking the hyperlink the other information like name,address should be displayed.
    I have displayed the names in JSP. How to create a link for each name and display the other details corresponding to same person? The number of records retrieved will vary depending on the date of birth. Thanks in advance.

    Hi,
    what i had done in my project was, getting the collection of results for the search query i.e By giving the date of birth, you will get the matching names as collection and iterate this collection like
    <%
    Collection nameCollection = (Collection) request.getParameter("NameCollection");
    Iterator ite = nameCollection.iterator();
    String name = "";
    for (int i = nameCollection.size(); i > 0; i--)
    name = iterator.next();
    %>
    <A HREF = "http://MyWebSite/destination.jsp?name = <%name%> "><%name%> </a>
    <%}%>
    For the above code, in Href i am using name in two places. one is for display. i hope you dont have any problem in this
    Another one for getting the information about the particular name. use request.getParamter method in the destination Jsp and do one more DB call by using the input parameter.
    Note: This is working only unique Name. otherwise use HashMap for getting the userId and Name. By passing the userId in the backend we can get the information.
    I hope this will helpful to get out of the issue
    Regards
    Balakrishnan.R

  • How can i create n display label dynamically

    Hai, I want to create a label dynamically, meant when i pressed a button once one label generated for the next click of button another label. like this,
    so i need to know how to create and display a label.
    regards

    Hi,
    Armin's solution already answers your question.
    Create a value attributre CreatLabel..of type boolean and set it to false in init.
    Then in the button's action handler ,set it to true.
    And write this code in wdDoModifyView.
    In wdDoModifyView():
    if ( wdContext.currentContextElement().getCreateLabel() ){  /* create new label with automatic ID */  IWDLabel label = (IWDLabel) view.createElement(IWDLabel.class, null);  /* add label to some container */  someContainer.addChild(label);  /* reset creation flag */  wdContext.currentContextElement().setCreateLabel(false);}
    You should not create view element outside wdDoModifyView. So we write this in the wdDoModify view..a nd control when it is executed.. by means of setting CreateLabel value attribute..
    Regards
    Bharathwaj
    Message was edited by: Bharathwaj R

  • How can I read and display data with OR without recording at the same time?

    Hi all,
      This forum has been of much help to me, but I have a rather specific question I can't seem to find an answer to.  I am new to LabView, educating myself with tutorials, trial and error, and this forum. 
      Attached is what I have so far.  I would like to read data (three voltages) and write it to an excel file.  As written below, it will do nothing until I click the "Record" button, when it then takes data, displays it on the gauges and waveform chart, and writes it to a file.  What I would like it to do is display the data at all times, and record when I click the record button (while still displaying data being read).  I have tried to do this by moving the DAQ Assistant VI, gauges, and waveform graph outside of the loops, but when I do this, it will read until I press record, and then it simply records whatever value it's stuck on.  Sorry for the long post, thanks for any help. 
      --Nathan
    Attachments:
    Record and Write to File 2.vi ‏332 KB

    Sorry, I don't have any DAQ installed, so I won't comment on the DAQ parts.
    First of all, Your VI will do nothing until you (1) first set the record button to ON  and (2) press the start button in the tool bar. It almost seems that you are using the "continuous run" button. (Don't! That's not its purpose. Basically, it automatically restarts the program whenever it finishes). A toplevel VI should never stop during normal operation, so place a big while loop around all code and create a wait state that does nothing until you tell it to acquire.
    You don't need the inner while loop, simply place your code inside the big while loop (and accumulate your array data in an initialized shift register if really needed. Currently you do at the inner loop boundary for some reason). You have a big problem that the array can grow without bounds unless you clear the accumulated data once in a while or place it in a FIFO buffer of limited size. If you let ot grow forever like you do now, the program might run out of resources at one point in the future.
    Since you are appending to your file, maybe yo don't need any shift register, just use the data points of the current iteration. Place your save operations in a case structure and keep appending the new data to your file only if the case is true.
    It is also very inefficient to use highlevel file IO here,because each instance opens and closes the file. I recommend to open the file once outside the loop, then use low level IO to append, and close the file once the big loop is done.
    LabVIEW Champion . Do more with less code and in less time .

  • How can I read and display a ATR image file?

    Hello,
       Does anyone have any ideas on how to read a atr image file? 
    Regards,
    Kaspar
    Regards,
    Kaspar

    Hello,
      The ATR file is one of three files that are outputed as a result of a test that is performed with UnHoltz Dickie test equipment  that is used in a vibration lab. Does this help answer the question is there are any viewers?
    Regards,
    Kaspar
    Regards,
    Kaspar

  • How can i hide a column using personalization?

    Hi,
    Please help me how can i hide a one column in oracle forms using personalization?
    Thanks

    Hi,
    When you login to My Oracle Support website, enter "458786.1" or "468657.1" in the search box, and you should get the documents.
    Or, use the direct links below to access those documents.
    How To Do Forms Personalization (Doc ID 468657.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=468657.1
    RCVRCERC: When Using Personalization to Remove a Column Receive Error FRM-41017: Cannot set UPDATE ALLOWED (Doc ID 458786.1)
    https://supporthtml.oracle.com/ep/faces/secure/km/DocumentDisplay.jspx?id=458786.1
    Regards,
    Hussein

  • In the final display list how can i change rows to columns and vice versa

    in the final display list how can i change rows to columns and vice versa
    It's Urgent
    Thanks
    Basu

    Hai,
    Check this following Threads,
    converting rows to columns in internal tables
    Re: logic- report to move columns to row in a list
    Regards,
    Padmam.

  • How can I Hide/ Disable the Question mark and Exit button in the Top right corner of Link Bar of Excel Documents in SharePoint 2013?

    Hi,
    How can we  Hide / Disable the Help(?) and Close(x) buttons which are located in the right corner of the Top Link Bar in the Sharepoint Document Library pages as well as Excel Web Access?
    Our requirement is : When we try to view the Excel Services Report from another web site, Help(?) and Close(x) icons are also appearing in the Excel Web Access Web Part, but we don't want to display them in our site.
    Please let us know the solution for this case.
    Thanks in advance.
    Regards,
    Sanjana

    Hi,
    In the xlviewer.aspx, we can find the two buttons like this:
    To hide them, you need to add the CSS into the xlviewer.aspx which stays in:
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How can i hide a JFrame and then Show it again in runtime

    How can i hide a JFrame and then Show it again in runtime??
    Please, please help me
    Its URGENT

    Here's even an example:
    import javax.swing.*;
    public class HideAndShow extends JFrame
         public HideAndShow()
              super("Hello");
              setSize(200, 200);
              setVisible(true);
              try
                   Thread.sleep(2000);
              } catch(InterruptedException e) {}
              setVisible(false);
              try
                   Thread.sleep(2000);
              } catch(InterruptedException e) {}
              setVisible(true);
         public static void main(String[] args)
              new HideAndShow();
    The JFrame will show, then hide, then show again. This is at runtime.

  • How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file?

    How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file? I could not find this option under Preferences tab? Thanks

    Hey there,
    Thanks for your reply. That works for the files I do what you said. However, for files I have not done that, It still shows the navigation bar. Any idea, how to do it default for any files?
    Thanks agian

  • I need to have my macbook pro repaired how can I hide passwords and banking info?

    I need to have my macbook pro repaired how can I hide passwords and banking info?

    Create a new admin account named repair and only give them the password for that account. Alternately you could back up or clone your system, erase the hard drive and then reinstall OS X with one admin account that has no personal information.

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

Maybe you are looking for

  • How to start JDBC program from web.

    Okay I have researched this alot on how you are suppose to connect to a database using JSP and all the example just show how to print the entire database. What I need to do is take a JDBC program I have written and make it run on a web page. How can

  • How do I place tabs in a large PDF to create sections?

    I want to make my file more user-friendly by placing tabs and bookmarks in the file for navigation. I have already gotten the bookmarking down, I just can't seem to figure out how to create tabs. When I say tabs I mean like binder tabs that run along

  • Transfering Ram from G3 beige tower into 8600/300

    Hi all, My G3 mini tower has 640 mgs ram and my older brother gave me the 8600/300 PowerMac which has 256mgs ram. Can I swap rams from the G3 into my 8600? They show the same specs 168 pin dimms. thanks for your help. Web dude

  • Redirect background window messages to a TextArea

    Guys, I would like to redicredt the messages shown in the background window the JRE opens when runnign an application, to a TextArea. Is it possible? I have a log TextArea for a process and some system messages are wtritetn in the JRE window and I wo

  • Viewer opening error

    Hi When I use IE to open Viewer reports an error occures (something like "Unable to open the node . . . An error loading from resource" - translated from Russian). It happens at loading report code and stops opening. But the next attempt to open this