Display average in Column chart retreieving the data from Filters

Hello Experts,
I have filters and Bar chart as a combination. I would like to display the average of the source data on my bar chart based on the selection using filters. Is this possible? if yes, how??
Thanks in advance
Regards,
Santosh

Hi,
Please sent me if you have any test data to parvathaneni.satish at gmail
I can do it and sent it to acrosss...
This is a kind of easy things...
FYI :please refer to sample in xcelsius which will give you a better idea....

Similar Messages

  • Hiding a column while keeping the data in the TableModel

    Hello
    I am reading data in from a database and I add the data from the resultSet to
    a vector of vectors.
    e.g my table
    user_id | user_fname | user_lname | prj_id | prj_name
    I am reading in the above information but I dont want to
    display the id fields i.e
    the user_id and
    the prj_id fields
    to the user but I need to keep them in the vector inside my tablemodel
    for futher database manipulation.
    I've looked at threads saying to set the width of the column to 0 is this the best way???
    Could someone please share with me a way to do the above.
    Thank you very much

    Figure out how to call the removeColumn method on your JTable. Calling the method only removes the column viewed (JTable), not the actual column in the (DefaultTable) Model.
    If you go for the proposed "do it so small it cant be seen" solution, you have to "lock" the colum width so users can't do it bigger manually with the mouse...

  • Crystal Reports - Charts - Restricting the data points on the X-axis

    Hi,
    Is there a way to restrict the number of points to display on the x-axis of a crystal chart keeping the number of data points the same.
    For example, if the chart plots date vs value points and the data for the chart is from 1980 to 2009. This means the data points on the x-axis appear very close to each other.
    I need a way to show the chart with all data from 1980 to 2009 but limited x-axis labels. Is there a way to configure the number of labels to show on the x-axis.
    Thanks!

    Thanks for the answer.
    "Right click on one of the x axis labels and select Group (X) Axis Options...
    On the Layout tab there is an option to Skip Group Labels, check this and enter in the number of labels you want to skip". Is there a way to do this from a .NET client or via a formula field in Crystal itself. The data points is going to be dynamic, hence the requirement is to dynamically configure the "number of labels" to be skipped.
    Thanks.

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • Pull the data from legacy System into report and display with SAP data

    Hi Friends,
    My requirement is-
    Create report by processing data from SAP tables and prepare output.And Before displaying the output, I have to pull the data from non-sap system which is readymade (It will come as flat file with similar fields as Report structure has) and finally display the records from both SAP and Legacy System by filtering duplicates.

    Steps:-
    Define the file path on selection screen:-
      Selection screen data
        select-options   (s_)
          parameters     (p_)
          radio buttons  (r_)
          checkboxes     (x_)
          pushbuttons    (b_)
    SELECTION-SCREEN  BEGIN OF BLOCK block1 WITH FRAME TITLE text-f01.
    parameter:    p_file    type text_512 obligatory.
    Start-of-selection.
      data : l_fname type string. " File Name
      l_fname = p_file .
      call function 'GUI_UPLOAD'
        exporting
          filename                = l_fname
          filetype                = 'ASC'
          has_field_separator     = '#'
        tables
          data_tab                = lt_data
        exceptions
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          others                  = 17.
      if sy-subrc <> 0.
        message e000 with 'Unable to upload file from the PC'(t13).
      endif.
    lt_data is of same structure as the fields in the file.
    For filtering duplicates:-
    delete adjacent duplicates from lt_data.
    Now display the records using either ALV or using write statements.
    You can display the records in any of the way you want.

  • How to retive the data from ALV display when checkbox clicked

    HI.....
    suppose i have a ALV list with 3 fields and checkbox attached with it.Now if i click any of the checkbox i want to retrieve the data from a particular field from one of the 3 fields.How shal i do that....
    Kind Regards.

    hi
    use the  field catalog property wa_fcat-hotspot = 'X' and then
    in in list display
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
          EXPORTING
            i_callback_program       = g_repid
            i_callback_pf_status_set = 'PFTEST'
    i_callback_user_command  = 'USER_COMMAND_ALV
            is_layout                = l_layout
            it_fieldcat              = it_fcat[]
          TABLES
            t_outtab                 = it_outtab[]
          EXCEPTIONS
            program_error            = 1
            OTHERS                   = 2.
        IF sy-subrc <> 0.
    FORM user_command_alv USING r_ucomm     LIKE sy-ucomm
                                rs_selfield TYPE slis_selfield.
      DATA: l_index      LIKE sy-tabix.
      DATA: l_belnr      TYPE rbkp-belnr.
      DATA: l_gjahr      TYPE rbkp-gjahr.
      DATA: l_awkey      TYPE bkpf-awkey.
      DATA: lwa_bkpf TYPE bkpf.
      CLEAR g_flag.
      IF r_ucomm EQ 'CREATESO'.
        REFRESH it_outsel[].
        LOOP AT it_outtab INTO wa_outtab.
          IF wa_outtab-check = 'X'.
    delete and put in new itab.
          ENDIF.
          CLEAR wa_outtab.
        ENDLOOP.
    shiva

  • How to display the data from database(MS access) to a textbox

    anyone know ?

    how to display the data from database(MS access) to a
    textboxThe reply hasn't changed over these years. Read the tuutorial on how to fetch the data. You can display it anywhere you feel like. :)
    http://java.sun.com/docs/books/tutorial/jdbc/

  • Reading the data from BLOB column

    HI,
    I have a table with following structure
    Test_Mail(Attachment BLOB,Attachmentname varchar2(255),FileSize number)
    The data in the table is like
    Attachment|Attachmentname|FileSize
    BLOB|test.txt|1236
    I wants to read the data from the BLOB attachment in to new file.
    can any one help me in doing this with plsql??
    Thanks in advance,
    Balaji tk.
    Edited by: Balaji.tk on Jan 9, 2011 9:28 PM

    May be something like this ?
    DECLARE
       l_file       UTL_FILE.FILE_TYPE;
       l_buffer     RAW (32767);
       l_amount     BINARY_INTEGER     := 32767;
       l_pos        INTEGER            := 1;
       l_blob       BLOB;
       l_blob_len   INTEGER;
    BEGIN
    -- Open the destination file.
       l_file := UTL_FILE.FOPEN ('TEST_DIR', v_attachment_name, 'wb');
       --This v_attachment_name can be selected from your table.
    -- Get LOB locator
    FOR rec IN (
    SELECT attachment   l_blob
          FROM test_mail
         --Your where condition to find the row.      
       --AND ROWNUM =1
    LOOP
       l_blob_len := DBMS_LOB.getlength (rec.l_blob);
    -- Read chunks of the BLOB and write them to the file
    -- until complete.
       WHILE l_pos < l_blob_len
       LOOP
          DBMS_LOB.READ (rec.l_blob, l_amount, l_pos, l_buffer);
          UTL_FILE.put_raw (l_file, l_buffer, FALSE);
          l_pos := l_pos + l_amount;
       END LOOP;
      commit;
    END LOOP;
    -- Close the file.
       UTL_FILE.FCLOSE (l_file);
    EXCEPTION
       WHEN OTHERS
       THEN
    -- Close the file if something goes wrong.
          IF UTL_FILE.IS_OPEN (l_file)
          THEN
             UTL_FILE.FCLOSE (l_file);
          END IF;
          RAISE;
    END;

  • Problem with displaying the data from Database on swf file.

    Hi ,
      I am new to flash.Thanks in Advance Please help me....
    Actually my requirement is my application consists a button(submit_Btn) when we click on the button(submit_Btn), each time it must to database(through servlet) and brings the data from database and places it on the flash swf file.Here my problem is for the first time when we click on the button it goes to database and place the data(which was returned from database) on the swf file.Next  when we click on the button for the second time(or anytime) it is not going  and bringing the new data from database(if some data is modified in database or not),Infact it is showing the old data(the data that was collected from previous ClickListener) only on the swf file and it is also not showing any complile time or run time error.
    my Code looks like this:
    submit_Btn.addEventListener(MouseEvent.CLICK,onCheck2);
    function onCheck2(evnt:MouseEvent):void {
    var xmlLoader:URLLoader = new URLLoader();
        var xmlurl:String = "http://localhost:8888/xmlServlet";
        var xmlrequest:URLRequest = new URLRequest(xmlurl);
    xmlLoader.dataFormat = URLLoaderDataFormat.TEXT;
    xmlLoader.addEventListener(Event.COMPLETE, xmlcompleteHandler);
    xmlLoader.load(xmlrequest);
    function xmlcompleteHandler(event:Event):void {
        var loader:URLLoader = URLLoader(event.target);
        var succData:String=loader.data;
            var xmlData:XML = new XML();
            var xmlList:XMLList;
            xmlData = XML(loader.data);
            xmlList = xmlData.children();
            for (var i=0; i<xmlList.length(); i++) {
                for (var n=0; n<xmlData.UserHumanap[i].HumanapDot.length(); n++) {
                        var x_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@x;
                        var y_coordinate:Number = xmlData.UserHumanap[i].HumanapDot[n].@y;
                        var point2:Point = new Point(x_coordinate,y_coordinate);
                        var circle:Sprite = new Sprite();
                        circle.graphics.beginFill(0x00ff00);
                        circle.graphics.drawCircle(point2.x,point2.y,3);   //Placing the data as dots on the swf file
    Thanks in Advance.......Please Help me..........
    its Urgent..........
    Thanks,
    Swarthi

    Checkout following line in your code
    var xmlurl:String = "http://localhost:8888/xmlServlet";
    now change it to
    var xmlurl:String = "http://localhost:8888/xmlServlet?random="+String(MAth.random());
    I think you will get the point now

  • How to display the date from callender for more than one date format items

    i have one form which contains many date format items. i want to show the calendar and take the date from calendar.
    i am successfully show the calendar and take the date from calendar for one date item.
    my problem is i want to do same for all date format items in the form
    can any one help me?
    thanks

    Maybe you could provide more information.
    What calendar ? what item works ? what other don't ?
    is the issue in the different format masks ?
    Please elaborate more your situation.
    Francoisit is not the issue of different format masks.
    i created a block which name is jbeanblock. in this block item is bean. bean has one trigger when_custom_item_event.
    the code of this trigger is :
    DECLARE
    eventName varchar2(30) := :system.custom_item_event;
    eventValues ParamList;
    eventValueType number;
    LC$Date varchar2(256);
    LC$Day varchar2(256);
    LC$Month varchar2(256);
    LC$Year varchar2(256);
    v_date date;
    BEGIN
    IF (eventName='CALENDAR_EVENT') THEN
    eventValues := get_parameter_list(:system.custom_item_event_parameters);
    get_parameter_attr(eventValues,'CALENDAR_EVENT_DATE',eventValueType, LC$Date);
    get_parameter_attr(eventValues,'CALENDAR_EVENT_DAY',eventValueType, LC$Day);
    get_parameter_attr(eventValues,'CALENDAR_EVENT_MONTH',eventValueType, LC$Month);
    get_parameter_attr(eventValues,'CALENDAR_EVENT_YEAR',eventValueType, LC$Year);
    Clear_Message;
    select to_date(LC$Day||'/'||LC$Month||'/'||LC$Year,'dd/mm/yyyy') into v_date from dual;
    :ds_employee.hiredate:=v_date;
    synchronize ;
    END IF;
    END;
    hiredate is the item of the ds_employee table. hiredate has trigger when_new_item_instance. The code is
    Set_Custom_Property('JBEANBLOK.BEAN',1, 'SHOW_CALENDAR','50,50');
    ds_employee is my table name. which has 2 date items. one is hiredate and another is date_of_birth.
    for hiredate it is working. if i want to do same thing for date_of_birth also then how can we do?

  • How do you pass the data from a SBO process to a crystal report laout

    Hi Everyone
    Can someone please assist or direct me to documentation that could be of help.
    I do production orders in SBO.
    I have a crystal report that I have imported as a layout to print these production orders.
    The report was developed the normal way, linking to the tables and returning data(all data for all production orders ever done)
    The production print option is set to make use of this layout.
    What I would like to see is that when I create production order 12345 and click on print preview I get the data of the mentioned order only displayed in my crystal layout(that is set to default)
    What I get however is all the data from the tables.
    Where am I going wrong. With my design already or is there a different way to pass the data to my report/layout direct from my SBO production order screen
    This is quite urgen
    Regards
    Burger

    Hi All
    The solution i was looking for is:
    In Crystal create the parameter called DocKey@
    This is recognized by sap and the active document number is passed to the report layout.
    In crystal itself also do a filter {<Table>.<Column Name>} = {?DocKey}
    So simple once you know how.
    Hope this help someone else that is as stuck as I was.
    Regards
    Burger

  • Export is not exporting the data from Page. It always gets the data from VO

    Hi,
    I have got a critical issue, where I am Not able to export the current data from the page.
    I have an export button and the VO is attached to it.
    1) My page will execute the VO and I do some calculations to remove some rows, add the grand total etc.
    2) The export button just re-executes the query and exports, which is not that, I want. I would like to export the current contents of the VO, which I manipulate and it is shown on the page.
    To give an example -
    My VO query is executed, when I click the Report button. I then adds Grand Total row to the VO and it gets displayed on the Page also.
    Now, when I click the export button, it just exports the data which is coming from the VO SQL query, whereas I want the data from current state of VO i.e. with the grand total, which I added and is coming on the page also.
    I will be really grateful, if someone can help me with this as it is really urgent.
    Thanks for your help.
    Shiju

    Hi Shiju,
    Is the export to csv opening fine with the data showing in individual columns when opening from internet explorer. What version of IE are you using? For us the export works fine from Firefox but does not work well in IE. From IE, the data shows with the commas in a single string. Appreciate your response as it will help us understand if our issue is local to our environment.
    Thanks.

  • Xcelsius suddenly only allows chart to call data from first excel worksheet

    Hi
    I'm using Xcelsius 2008 Engage with SP1 FP3 installed.
    I have never had this problem before, but in the last week, Xcelsius won't allow a chart to call data from any worksheet in the excel file other than the first worksheet. If I reorder the worksheets in the excel file, i can access a different worksheet, but only the one that is saved as the first worksheet (left most tab).
    In dashboards i have already created, i can't change the data range of a chart that's already calling data from a worksheet unless i select the first worksheet.
    Could this be an automatic update from microsoft? Has anyone else experienced this and worked out how to overcome it? It is frustrating to keep moving the worksheet to the front and reimporting the data everytime i want to make a change that isn't in the first excel worksheet.
    Thanks,
    Scott.

    As far as I remember it's not possible. Thus, find attached VI and use it to convert line/column to excel cell format. It's working if you are not using more than 26 columns (i.e. column AA, AB, ... if this is the case you have to improve it a little)
    Hope this helps
    Attachments:
    To_Cell_Format.vi ‏18 KB

  • Where do charts get the datatips from?

    Hi all,
         My column chart is generating data tips which i cant seem to access if I were to make a datatip function.. What is the default location for this information? yField isn't working and I can't call the data by item.name... If you would like I can send a screen shot of the charts structure and where the info I want is located... but I just cant seem to drill down to it...

    I initially receive an array which is then parsed (thanks to the help of the Flex community member).  below is the function
    static public function buildSeries(dp:ArrayCollection):void
                 if(ConfigData.Global.PowerDetailArray != null)   
                    ConfigData.Global.PowerDetailArray.removeAll();
                mx.core.FlexGlobals.topLevelApplication.myChart.series = null;
                var nameTable:Object = {};
                var timeTable:Object = {};
                var nameDataList:Array = [];
                var timeSeriesList:Array = [];
                var columnSet:ColumnSet = new ColumnSet();
                columnSet.type = "clustered";
                for each(var rawItem:Object in dp)
                    var Name:String = rawItem.Name;               
                    var time:String = rawItem.Time.toString();
                    var Value:Number = rawItem.Value;
                    var dataItem:Object;
                    //if we already have an object for this site,
                    //then retrieve. Otherwise create one.
                    if( nameTable.hasOwnProperty(Name) )
                        dataItem = nameTable[Name];
                    else
                        dataItem = {Name:Name};
                        nameTable[Name] = dataItem;
                        nameDataList.push(dataItem);
                    //now add a value pair for the time and power
                    dataItem[time] = Value;
                    //we need to create a series for every unique time you have
                    if( !timeTable.hasOwnProperty(time) )
                        timeTable[time] = 1;
                        var timeSeries:ColumnSeries = new ColumnSeries();
                        timeSeries.yField = time;
                        columnSet.series.push(timeSeries);
                trace(ObjectUtil.toString(nameDataList));
                //invalidate the chart series to force a redraw
                var chartSeries:Array = mx.core.FlexGlobals.topLevelApplication.myChart.series;  
                chartSeries.push(columnSet);
                mx.core.FlexGlobals.topLevelApplication.myChart.series =chartSeries;
                mx.core.FlexGlobals.topLevelApplication.myChart.invalidateSeriesStyles();              
                ConfigData.Global.PowerDetailArray = new ArrayCollection(nameDataList);
    I will provide the screenshot in a couple of minutes

Maybe you are looking for

  • Can't sync music?

    Whenever I press sync to try and put new music on my iPod, it goes through all the stages but doesn't sync the music. What makes it worse is that the music shows up when I press "On My iPod". Please help me!

  • Open "Attach file" dialog by scripting

    Hi, Is it posible to open the "Attach file dialog" by scripting? Thanks in advance, Oliver

  • Can I specify instance on R/3 side to avoid memory buffer issue

    I have one datasource (out of many that work A-OK every day) that likes to throw a TSV_TNEW_PAGE_ALLOC_FAILED short dump intermittently on the source system extract.  The short dump occurs in the background job that was created by running the infopac

  • Why would Illustrator CC only function if I open it in an alternate log in (Mac)?

    I've had issues with Illustrator CC not launching. I've  tried all suggestions including deactivating my Suitcase Fusion 2 fonts. As it turns out, if I log out as my normal log in identity and log in as an alternate log in, the program works fine. No

  • Issue with Classifying Items in Web Apps

    I've been classifying items in Web Apps for our site in order to activate them to appear live. I just entered some content as a Web App item, classified it, and it is still tagged as "inactive." I'm also not able to remove the classification from a W