Hello to everyone,
I've to aggregate more rows by the same TimeStamp, now exposed as shown below:
The 2 intermediate rows have to be unified in just 1 row.
Can I do this directly in the table? or I've to do this using script?
Thank you in advance
Alessandro
What if you use calculated dimension instead of the the field? Try expression like:
Timestamp(Floor(TimeString_mm, 1/24/60), 'DD:MM:YYYY hh:mm')
Either is possible in script/UI. You already did that in image which you showed. Can you explain little more on your needed
It would be better to solve it in the UI.
As written I've to aggregate the 2 intermediate rows you can see in the image above, avoiding all null cells.
Which is the correct syntax?
Any suggestions?
How (statement/expression used) have you created the TimeStamp_mm field in the script? Could you share your sample app?
try
sum(Aggr(Sum({<element = {'EE1'}>}VarValues),TimeString_mm))
and
sum(Aggr(Sum({<element = {'EE2a'}>}VarValues),TimeString_mm))
Perhaps this
sum(Aggr(Sum({<element = {'EE1'}, VarValues = {"=Sum(VarValues)>0"}>}VarValues),TimeString_mm))
unfortunately none of suggestions work
Can you make input and result set of data?
Provide sample app
TimeString_mm is the minutes-truncate timestamp string I've created in the script to aggregate (in the UI) many rows in just 1 row, but I don't know how to complete the action.
Alternatively I could do this in the script using a distinct function but it would be better in the UI because it's more dynamic.