on 02-08-2013 9:11 AM
Dear all,
I have a huge table in my Calc View. All values are ordered by a TIMESTAMP, which differs by milliseconds (ten different values by second --> Format is: JJJJ-MM-DD hh:mm:ss.000). So I want to group the values now by second. I first tried the function ROUND() but it didnt work out. Does anyone else hav an idea??
Cheers, Christoph.
You can add a new column to your table using "generated always as" SQL extension and get rid of the second fractions.
Alter table table_name add (
TIME_2 SECONDDATE generated always as to_seconddate("TIME"))
When you use the new column in your views all the measures will be aggregated accordingly.
Regards,
Z
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
Will the EXTRACT function work for you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.