0 Replies Latest reply: Dec 4, 2012 6:49 PM by nasim Farsani RSS

    set the top 10 and calculate yesteraday sum of theire yesterday price

      Hi everyone,

      I have a table like the table at the bellow  in my QV file, data comes from a database by query.

      I need to create a simple chart that shows the every day top10 buyers for current day and all the past days in the year, with their yesterday price and WOW price as well, at the top of the bars in bar chart. I don't want to use of individual query in this case. I tried to use of the QV functions and its other ability in order to set the top 10 and also calculate their yesterday's price. can some one let me know how can I do that in QV? (mentioned again ; the solution has to works for all the days in the year, current day and the passed days.)

       

      datebuyerprice
      9/1/2012a50$
      9/1/2012b100$
      9/1/2012c250$
      9/1/2012d30$
      9/1/2012e0$
      9/1/2012f70$
      9/1/2012g20$
      9/1/2012h250$
      9/1/2012i800$
      9/1/2012j5$
      9/1/2012k65$
      9/1/2012l45$
      9/2/2012a200$
      9/2/2012b100$
      9/2/2012c0$
      9/2/2012d300$
      9/2/2012e150$
      9/2/2012f60$
      9/2/2012g80$
      9/2/2012h15$
      9/2/2012i20$
      9/2/2012j85$
      9/2/2012k55$
      9/2/2012l5$
      9/2/2012m45$
      9/2/2012n450$
      9/2/2012o500$

       

      Thanks,

      Nasim