Calculating Average value of already calculated values

Gurus,
here is the setup:
CREATE TABLE "RATE"
    "RATE_ID"        NUMBER NOT NULL ENABLE,
    "PAPER_ID"       NUMBER NOT NULL ENABLE,
    "RATING_TYPE_ID" NUMBER NOT NULL ENABLE,
    "RATING"         NUMBER NOT NULL ENABLE,
    "RAT_COMM"       VARCHAR2(20) NOT NULL ENABLE,
    CONSTRAINT "RATE_PK" PRIMARY KEY ("RATE_ID") ENABLE
CREATE TABLE "RATING_TYPE_LOOKUP"
    "RATING_TYPE_ID" NUMBER NOT NULL ENABLE,
    "RATING_TYPE"    VARCHAR2(30),
    CONSTRAINT "RATING_TYPE_LOOKUP_PK" PRIMARY KEY ("RATING_TYPE_ID") ENABLE
CREATE TABLE "PAPER"
    "ID"          NUMBER,
    "DESCRIPTION" VARCHAR2(20),
    CONSTRAINT "PAPER_PK" PRIMARY KEY ("ID") ENABLE
ALTER TABLE "RATE" ADD CONSTRAINT "PAPER_FK" FOREIGN KEY ("PAPER_ID") REFERENCES "PAPER" ("ID") ENABLE
ALTER TABLE  "RATE" ADD CONSTRAINT "RATING_TYPE_FK" FOREIGN KEY ("RATING_TYPE_ID") REFERENCES  "RATING_TYPE_LOOKUP" ("RATING_TYPE_ID") ENABLE
INSERT INTO PAPER (ID, DESCRIPTION) VALUES ('1', 'Test-1')
INSERT INTO PAPER (ID, DESCRIPTION) VALUES ('2', 'Test-2')
INSERT INTO PAPER (ID, DESCRIPTION) VALUES ('3', 'Test-3')
INSERT INTO RATING_TYPE_LOOKUP (RATING_TYPE_ID, RATING_TYPE) VALUES ('1', 'Rating Type 1')
INSERT INTO RATING_TYPE_LOOKUP (RATING_TYPE_ID, RATING_TYPE) VALUES ('2', 'Rating Type 2')
INSERT INTO RATING_TYPE_LOOKUP (RATING_TYPE_ID, RATING_TYPE) VALUES ('3', 'Rating Type 3')
INSERT INTO RATING_TYPE_LOOKUP (RATING_TYPE_ID, RATING_TYPE) VALUES ('4', 'Rating Type 4')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('1', '1', '1', '1', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('2', '1', '2', '3', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('3', '2', '4', '4', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('4', '2', '3', '3', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('5', '2', '1', '1', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('6', '3', '1', '2', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('7', '3', '1', '3', 'Comment')
INSERT INTO RATE (RATE_ID, PAPER_ID, RATING_TYPE_ID, RATING, RAT_COMM) VALUES ('8', '3', '1', '1', 'Comment')Now if I run this query:
SELECT p.ID,
  p.DESCRIPTION,
  (SELECT AVG(rating) AS A
  FROM rate r
  WHERE r.paper_id     = p.id
  AND r.rating_type_id = 1
  ) TYPE_1,
  (SELECT AVG(rating) AS B
  FROM rate r
  WHERE r.paper_id     = p.id
  AND r.rating_type_id = 2
  ) TYPE_2,
  (SELECT AVG(rating) AS B
  FROM rate r
  WHERE r.paper_id     = p.id
  AND r.rating_type_id = 3
  ) TYPE_3,
  (SELECT AVG(rating) AS B
  FROM rate r
  WHERE r.paper_id     = p.id
  AND r.rating_type_id = 4
  ) TYPE_4
FROM PAPER pI get the following correct result:
ID     Description     Type_1     Type_2     Type_3     Type_4
1     Test-1          1     3     (null)     (null)     
2     Test-2           1     (null)     3     4
3     Test-3          2     (null)     (null)     (null)          And the part I can't figure out is that I'd like to calculate the average over the columns Type_1, Type_2, Type_3 and Type_4 too and present that as column Type_Avg.
Ideas?
--Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Etbin, just modified the query a little you had two TYPE_3 columns:
select ID,DESCRIPTION,TYPE_1,TYPE_2,TYPE_3,TYPE_4,
       case when coalesce(type_1,type_2,type_3,type_4) is not null
            then (NVL(type_1,0) + NVL(type_2,0) + NVL(type_3,0) + NVL(type_4,0) /
                 (nvl2(type_1,1,0) + nvl2(type_2,1,0) + nvl2(type_3,1,0) + nvl2(type_4,1,0)))
       end Type_Avg
  from (SELECT p.ID,
               p.DESCRIPTION,
               (SELECT AVG(rating) AS A  FROM rate r  WHERE r.paper_id  = p.id  AND r.rating_type_id = 1) TYPE_1,
               (SELECT AVG(rating) AS B  FROM rate r  WHERE r.paper_id  = p.id  AND r.rating_type_id = 2) TYPE_2,
               (SELECT AVG(rating) AS B  FROM rate r  WHERE r.paper_id  = p.id  AND r.rating_type_id = 3) TYPE_3,
               (SELECT AVG(rating) AS B  FROM rate r  WHERE r.paper_id  = p.id  AND r.rating_type_id = 4) TYPE_4
          FROM PAPER p
       )However, I am not getting the reuslt I am expecting and tht [probably depends on the fact that I wasn't telling you what I expected..... Doh!
{code}
ID     Description     Type_1     Type_2     Type_3     Type_4     Type_Avg
1     Test-1          1     3               4
2     Test-2           1          3     4     5.33333333333333333333333333333333333333
3     Test-3          2                    2
What I would expect is:ID     Description     Type_1     Type_2     Type_3     Type_4     Type_Avg
1     Test-1          1     3               2     ((1+3)/2 as there are 2 values)
2     Test-2           1          3     4     2.67     ((1+3+4)/3 as there are 3 values)
3     Test-3          2                    2     (2/1 as there are 1 value)
I hope I've made myself much clearer and I am still learning how to ask a correct question.
--Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • DP macros, calculating average values over a period of time

    Hello
    I have a key figure row, for the future i want this key figure to contain the average of a different key figure row over the last year.
    How would you go about calculating the average value of a key figure row over a period of time and then assigning this value to another key figure?
    I've tried variatons of AVG() and SUM() & SUM_CALC a but none of them seem to get me anywhere, i may not understand completely how rows & values work so any tips would be helpful.
    Iin pseudo-logic: what i need to do is:
    Calculate the average value of a key figure row over a given period (the last year)
    Store this value somewhere, in regular programming it'd be a variable of some kind.
    Assign this value to another key figure row 18 months into the future.
    Regards
    Simon Pedersen

    <H5>Hi Simon,
    If you are a technical guy, you can create a BADI implementation for that macro and manipulate the matrix data like the way you want.
    the procedure to implement a BADI is
    1.SPRO --> SAP SCM - Implementation Guide --> Advanced Planning and Optimization --> Supply Chain Planning --> Demand Planning (DP) --> Business Add-Ins (BAdIs) --> MacroBuilder --> Additional Functions for Macros.
    create a new implementation by copying the class for the BADI defenition '/SAPAPO/ADVX' and write your own code in the method '/SAPAPO/IF_EX_ADVX~USER_EXIT_MACRO '. There is a sample code and proceedure explaining how to handle the data in the internal tables C_T_TAB and C_T_TAB_OLD. the calculations can be made with help of I_T_LINES, I_T_COLS which are rows and columns tables.
    find out the the row and columns of the grid to be read and do calculation and then put the result in the desired cell.
    Please let me know if you need further assistance.
    Regards,
    Srini.
    Award points for the helpful answers <H5>

  • Creating function to calculate average value

    Hi,
    The below query was successfully return an average value. It returned 1 row.
    SELECT AVG(Volume)
    FROM security
    WHERE
    Type = 'Future' AND
    Rating = 'AAA' AND
    Code = 1 AND
    (Day = ''14-mar-09' OR
    Day = '16-mar-09' OR
    Day = '');
    I tried to use that function on my created function below.
    CREATE OR REPLACE FUNCTION fn_Vol_Average
    ( v_DayLast_1_Week IN DATE,
    v_DayLast_2_Week IN DATE,
    v_DayLast_3_Week IN DATE )
    RETURN NUMBER IS
    v_Vol_Average NUMBER;
    BEGIN
    SELECT AVG(Volume) INTO v_Vol_Average
    FROM security
    WHERE
    Type = 'Future' AND
    Rating = 'AAA' AND
    Code = 1 AND
    (Day = v_DayLast_1_Week OR
    Day = v_DayLast_2_Week OR
    Day = v_DayLast_3_Week);
    RETURN NVL(v_Vol_Average, NULL);
    END;
    I called that function by the following query. it was work, however it return the whole rows. It looks like the function perform the average calculation of each rows on the table.
    Can anyone help me what is going on with the logic?
    select fn_Vol_average('14-mar-09','16-mar-09','')
    from security
    --

    But since your function calculates the average over the whole security table, you wouldn't call this from a select statement which also reads the security table.
    You just want to execute it once.
    declare
       l_vol_average number;
    begin
       l_vol_average := fn_Vol_average('14-mar-09','16-mar-09','');
       dbms_output.put_line(l_vol_average);
    end;By the way, be careful with your date parameters. You should use TO_DATE with a proper format mask to prevent conversion errors.

  • Script logic to calculate average value on nodes - SAP BPC NW 10.0

    Hi experts,
    I need to have in the parent members of the dimension TIME (2014.Q1, 2014.Q2,  2014.Q3, 2014.Q4, 2014.TOTAL) the average value of  their children and not the sum. For example :
    2014.01        2014.02         2014.03        2014.Q1
        1                  2                    3                  2                                          
    2 = AVG(1, 2, 3)
    I tried the script bellow but it doesn't work , it throws the error " ReferenceError : AVG is not defined"
    *SELECT(%TIMESET%,"[ID]",TIME,"[CALC]='Y'")
    *XDIM_MEMBERSET TIME = %TIMESET%
    *XDIM_MEMBERSET MEASURES = PERIODIC
    *WHEN DIM1
    *IS C02
    *WHEN TIME
    *IS %TIMESET%
    *REC(EXPRESSION = AVG(Descendants([%TIMESET%].CURRENTMEMBER)), TIME = %TIMESET%)
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    How can I achieve this ?
    Thanks
    Maha

    The best way is to enter 2 accounts: Productivity and Area, calculating by dimension member formula:
    ProductivityPerHectare=IIF([Area]=0,NULL,[Productivity]/[Area])
    If you have to enter ProductivityPerHectare and Area, then in script you can calculate Productivity:
    *WHEN ACCOUNT
    *IS Area
    *REC(EXPRESSION=%VALUE%*[ACCOUNT].[ProductivityPerHectare],ACCOUNT=Productivity)
    *ENDWHEN
    *WHEN ACCOUNT
    *IS ProductivityPerHectare  //user input
    *REC(EXPRESSION=%VALUE%*[ACCOUNT].[Area],ACCOUNT=Productivity)
    *ENDWHEN
    Then dimension member formula:
    ProductivityPerHectareCalc=IIF([Area]=0,NULL,[Productivity]/[Area])
    You can use arithmetic average of ProductivityPerHectare only if Area is always constant.
    In this case you can create some dummy account member DUMMY and fill it with 1:
    *WHEN ACCOUNT
    *IS ProductivityPerHectare  //user input
    *REC(EXPRESSION=1,ACCOUNT=DUMMY)
    *ENDWHEN
    Then dimension member formula:
    ProductivityPerHectareCalc=IIF([DUMMY]=0,NULL,[ProductivityPerHectare]/[DUMMY])
    Vadim

  • Average value of N samples

    Hi,
    I have a problem. I'm reading data continuously from analog input. I want calculate average value when I press button START. Average value should be calculated from samples which are defined by 'Number of samples' and 'millisecond multiple'. When all samples are read, average vale should show.
    The problem is that when number of samples is higher then 10, it doesn't work.
    Can someone tell me what I did wrong?
    Thanks
    P.S.. I saw that there was something like this but I can't open it because I use Labview 8.5
    Attachments:
    Average.vi ‏35 KB

    For that you need to store the previous value for averaging... i have attached a VI regarding that ( sorry no time to cleanup ).. You can use the logic to calculate the average of the samples (Still am not clear about you requirement).
    The best solution is the one you find it by yourself
    Attachments:
    Average_anand.vi ‏26 KB

  • Average values in SAP BPC for MS 7.5

    Hello!
    I need to make a price list in SAP BPC for MS 7.5.
    So the first question - What type of application should I choose?
    And the main thing - How can I make average calculations?
    I have made account dimension, which member list contains just "Price".
    When I built an input shedule(goods against time), enter prices in some currency,
    the total year value ist the sum of the values of months. But I need an average value.
    How can I organise it?
    Thanks a lot.

    Hi Olga,
    You statement doesnt provide any information on which type of application should be used.
    This decision is based on other criterias. If you need to do any planning or management consolidation, then you can use the financial type application. If you want to do a legal consolidation, then you can use the consolidation type application. If you need to store just the supporting data required for planning, then you can use non-reporting type application (such as rate)
    For displaying average at parent members, either you can write dimension formula in the time dimension for the account price. Otherwise, you can create a custom measure.
    Hope this helps.

  • ALV Tree - Change average value

    Hi all,
    I want to change the average value. For the follow example the hierarchy has 2 lines but it is a summarize of 13 lines. So the right average is (100.00 + 16.67) / 13
    SAP average
    Expectation:
    I am using:
    data: g_tree type ref to cl_gui_alv_tree_simple.
    Is it possible to change it?
    Regards,
    Andréa

    Hi,
    Use CL_GUI_ALV_TREE method for creating the Tree, in that create each node by method ADD_NODE. With this method you can do calculation and update while building the ALV Tree.
    Just refer the Demo program 'BCALV_TREE_DEMO'.
    First get the final output table data.
    Loop that table and create each node by using ADD_NODE method.
    Thanks & Regards
    Bala Krishna

  • How do you find the average value of all the data between two points on a single channel

    I am tring to calculate the average value of all the data points on a single plot between two seperate points
    I have attahced an illustration.
    Tim
    Solved!
    Go to Solution.
    Attachments:
    plot.jpg ‏173 KB

    Hey smoothdurban,
    I've seen Brad's code, and trust me, it's worth the effort to let him help you get it up and running - it's definitely the most ideal way to solve this problem.  However, as Brad said, there are multiple ways to tackle this - both interactive and programmatic - so in the meantime, I'll take a second to detail one of the interactive and sure-fire ways to find the average of data between two points on a single channel.
    We'll use"Flags."  Set up your VIEW graph exactly as you did on your original screenshot, using Band Cursors to approximate the beginning and ending X-values representing the range you want to examine.  Next:
    1. Click the "Set Flags" button () that is a part of your 2D Axis System.  Note that you can hold down the Shift button if you ever decide you want to do this on more than a single curve at one time.
    2. Select the "Flags: Copy Data Points" button that enables after Flags are set.
    3. This creates new channel(s) in the default (bold) group in the Data Portal that contains only the Flagged data.
    4. Select DIAdem ANALYSIS.
    5. Select Statistics » Descriptive Statistics.
    6. In the Channels input, select the newly created channel containing your Flagged Y-Data.
    7. Ensure that the Arithmetic Mean parameter is set.  You can preview the data and the result in the dialog before pressing OK to execute the calculation. 
    You may have noticed that in the Descriptive Statistics calculation, one of the parameters that you can set is the range of channel rows to operate on - so, if you know the row numbers of your beginning and ending X-values, you could just simply run the Descriptive Statistics calculation and use this parameter to operate on a row subset of your original channel instead of the entire channel.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Calculate the average value

    the data I measured changed rapidly, so i want get the average value of the data
    Do not tell me to use mean.vi , i have already know that.
    and i got an idea which is add the data into an array every time, then sum of all the data value and take the result divide by the number of elements
    but i dont know how to achieve that, anyone can build a simple vi to show me ? thank you
    i have attached my vi which is using mean.vi to calc the average value, you can delete it and using in your way ,  thank you !
    Solved!
    Go to Solution.
    Attachments:
    EN-new.vi ‏274 KB

    Hi I got a similar issue for averaging. I used the mean.vi from the math function but the average is rolling when i run it. I am trying to calculate the average for the data i read to the RT FIFO (which is around 40000 lines).I got the writing part working, however, when i am reading the data, I couldn't get it working. I thought i read the data as a 1-D array, and then pass it to the Mean.vi and then got the result. But seems like the mean is only showing the last data in the array.
    Can someone help me with this??
    Attachments:
    FPGA-vi.png ‏242 KB
    RT-vi.png ‏182 KB
    RT-2mod.vi ‏515 KB

  • To display average value in a graph

    Hi There,
    In one graph I need to display the duration for each week as per the week range selected and a separate average duration value of the weeks selected.
    Is it possible to develop a query for above average value and use this query in WAD?
    Can anybody help in providing a solution
    Thank you
    Anima

    BI Query data can be fed directly to WAD Charts.
    See below.
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/95c83956852b51e10000000a114084/content.htm

  • Too many decimals in Average value

    Hi
    I am using Report Builder and the wizard do design a table which i deploy as a .jsp page.
    For some columns in the table I select to display the average values. Some of the values looks fine with one decimal as i want, but some values is displayed with a lot of decimals (about 10) as 164,346666666666666666. I have tried to change the length but without effect. Are there any possibility to decide the number of digits to be shown in the report . Or is i it a bug in Report Builder.

    Go to Property Inspector of the field and choose the right "Format Mask".

  • Display of "Average Values Text in ALV grid"

    Hi
        I use ALV grid to display  the fields from a table. I have 15 columns.  I need to do average for four columns.
    In the field catalog i did a do_sum for those fields.
       When the ALV grid is displayed I get average values for these columns.
    Eg. Let suppose the grid looks like
    Field1           Field2           Field3             Field4     Field5         Field 6.
    vendor1       18                 22                   6            17                28
    vendor1       54                 11                  16           62                28
    vendor1       33                 21                   26          79                18
                        35             18                 16        52             24
      My requirement is I need to display the text "AVERAGE VALUES" . ( I need something like this.)
    Field1                      Field2           Field3             Field4     Field5         Field 6.
    vendor1                   18                 22                   6            17                28
    vendor1                    54                 11                  16           62                28
    vendor1                    33                 21                  26          79                18
    Average values        35             18                16        52             24
    Could someone help me in this?
    Thanks & Regards
    Kavitha

    Hello,
    you can use event subtotal_text of ALV_GRID.
    Regards,
    Pedro Santos

  • Calculate Average value based on Day ??

    Hello,
    I am trying to calculate the Average value based on a day. The data is presented as follows...
    Day          SOCount
    Mon                34
    Mon                 56
    Mon                 67
    Tues               24
    Tues               25
    Tues               23
    Weds              45
    Weds              69
    The issue im having is that the Day column needs to be grouped first and the SOCount sumed together. Then the Average SO Count needs to be calculate based on this.
    Thanks

    Thanks for the reply,
    The solution you have provided only gives me the average of the count of the SO Count, not the actual average of all the values added together then  divided by the count..
    The report i am creating only has charts in it. So i am trying to create a chart showing the
    Average Sale Order Value by day.
    I should have metioned this from the start, sorry.
    Is it possible to do ?
    Edited by: davitali on Nov 4, 2011 6:32 AM

  • How to calculate average value?

    Hi all,
    I'm using Lumira 1.15. I'm doing some practices with the sample dataset BestRunCorp... I want to calculate the average value of gross margin which is grouped by lines so that I can use a line chart to show the difference between the gross margin value and average value.
    How can I achieve this ?
    Best regards,
    Shuang

    It looks like it calculates the average based on the dimension
    See below:
    If you take the "Best run" Excel file, sort by country, calculate the average in Excel, it matches Lumira's 4,056 (for Argentina)
    I am not sure I follow your divide by 12 logic?

  • Read-in CSV and Calculate Average Value

    I've got a csv file which I'm reading in but need to calculate the average value of the second column (CPU). It's in the following format:
    Date CPU
    01/09/2014 25.3
    02/09/2014 22.3
    03/09/2014 26.2
    04/09/2014 22.1
    I basically need the average CPU for the month. Any advice?
    Thanks in advance
    Adam

    "Date","CPU"
    "01/09/2014","25.3"
    "02/09/2014","22.3"
    "03/09/2014","26.2"
    "04/09/2014","22.1"
    '@ | sc test.csv
    (Import-Csv test.csv | measure CPU -Average).Average
    23.975
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Average Values in query

    Hi
    In my query I am unable to average the values in the query is there a way of getting number of records in the query please tell me how to get average values in the query level i went to properties i found the average option but that does not work.
    Regards,
    Nikhil.

    Hi Nikhil,
    Try with the solution detailed in the following document:
    www.service.sap.com/bi --> Product Information Previous Releases --> Media Library --> HOW TO... Guides -->  Guide List SAP BW 2.x -->  How to... Count the occurrences of a characteristic.
    Ciao.
    Riccardo.

Maybe you are looking for

  • Final cut express to final cut pro x ?

    Is it possible to move my films from Final Cut Express to Final Cut Pro X ?

  • Using Javascript prompts to fill out a PDF form

    I want it so that the form is automatically generated by the information given by the prompts. Is it possible? If so how? Thanks

  • Premiere pro / After Effects CS6 upgrade , render doesn't save ?

    Hi, I have just upgraded CS5.5 to CS6. I have opened and converted a previous project in CS6 which is linked to After Effects via the dynamic link. The media opened ok but even though it was fully rendered and saved from the previous version I had to

  • Hp 700-214 Can't update video driver

    I have an HP 700-214 with a Intel(R) HD Graphics 4600 card. I can't update the video driver through Intel (It tell me there's a custom driver installed by the manufacturer) and when I try to update it through HP, it gives me an error 9996 "Your compu

  • Cannot See or Hear Movies in iTunes (Vista 64-bit)

    I cannot See or hear movies or trailers I download to iTunes (Vista 64-bit v). The screen just remains blank even thought he progress bar shows seconds of play are passing. the files are .m4v. I tried opening them with Quicktime instead, but that did