Forum Discussion
fedpar
10 years agoMicrosoft Employee
Bucketized and grouped line chart
I'm stumped with how to proceed here. I have a line chart that shows the bucketized engagement time of users on our devices. However, the line chart aggregates usage per user per device, and I only w...
samdthompson
10 years agoMemorable Member
assuming that the first column is user id, change the formula to:
calculate(sum([engagementime]),allexcept(table,table[userid]))/ denominator
- fedpar10 years agoMicrosoft Employee
Wouldn't I have to do something before I generate the buckets? By creating the buckets as they are now, the rows are incorrectly bucketized because they are taking the Device into account.
- fedpar10 years agoMicrosoft Employee
Thinking about it a bit more, I'm not sure how the proposed solution can work. Removing any column would not solve the problem, as the data would still not be grouped by the Device, and would thus perform no additional aggregation and change nothing.
Again, my guess is that the change would have to be made the moment I create the EngagementTimeBucket column, but I'm not sure how to approach this...