Happy Lunar New Year!
What kind of result do you want to get? As you know that if you drop null value, there would be only 9 records. However, other columns contain thousand.
If you want your result filling each row, you could do ema(filter condition to drop null value when subscribe) and other metrics separately and then using asofjoinengine to combine them.
how to use AsofJoinEngine, you could refer to:
https://www.dolphindb.cn/cn/help/200/FunctionsandCommands/FunctionReferences/c/createAsofJoinEngine.html