Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Hi ,
I am trying aggregating multiple columns as shown below, i tried with putting comma separated columns but don't work. What is the solution?
when i try with only one column, the above code works fine.
Thanks
Solved! Go to Solution.
You aren't using the right format, columns it's a comma separated list of values, and aggregates also:
var result = Resources["InfotableFunctions"].Aggregate({
t: result1,
columns: "ApparentPower,ConsumePower",
aggregates: "SUM,SUM",
groupByColumns: "Mkey"
});
You aren't using the right format, columns it's a comma separated list of values, and aggregates also:
var result = Resources["InfotableFunctions"].Aggregate({
t: result1,
columns: "ApparentPower,ConsumePower",
aggregates: "SUM,SUM",
groupByColumns: "Mkey"
});