Hi,
I have a UDF that calculates the percentile of a range of row. However, I've been uncapable of modifying the UDF to really do what I need to do.
in the tbl_Nasdaq,
there are 3 columns:
-Ticker
-Date_Text
-Open
What I'd like to have is a query that contains:
-Ticker
-Date_Text
-Open
-Percentile
Quick Example:
Ticker, Date_Text, Open, Percentile
Goog, 20100218, 100.00, 0.8
Goog, 20100217, 85.00, 0.4
Goog, 20100214, 57.00, 0.2
Goog, 20100212, 96.00, 0.5
Goog, 20100128, 153.00, 1
IBM, ...
IBM, ...
IBM, ...
I have a UDF that calculates the percentile of a range of row. However, I've been uncapable of modifying the UDF to really do what I need to do.
in the tbl_Nasdaq,
there are 3 columns:
-Ticker
-Date_Text
-Open
What I'd like to have is a query that contains:
-Ticker
-Date_Text
-Open
-Percentile
Quick Example:
Ticker, Date_Text, Open, Percentile
Goog, 20100218, 100.00, 0.8
Goog, 20100217, 85.00, 0.4
Goog, 20100214, 57.00, 0.2
Goog, 20100212, 96.00, 0.5
Goog, 20100128, 153.00, 1
IBM, ...
IBM, ...
IBM, ...