[UPDATED] Summary Calculations with the User List
https://us.v-cdn.net/6037036/uploads/EE0Z1Z55641I/oeg-best-practices.jpg
Author: Rob Marshall, Director of Architecture and Performance, OEG.
Prior to the February 2024, users were not allowed to use aggregation functions (SUM, ALL, ANY, AVERAGE, FIRSTNONBLANK, LASTNONBLANK, MAX, MIN, RANK) when having the Users list in a module because the system could not aggregate the numbers to a top level. As of our February 2024 release, that has changed.
Prior to February 2024
First, letβs look at the previous behavior. In the below, I have an Input module with products in the row axis and Users in the column axis (if I were not a Workspace Admin, I would only see my own user ID).
Input Module:
https://us.v-cdn.net/6037036/uploads/CEB38GZUDJN5/picture1.png
If I wanted to get the total of Product Amounts, I would create a RPT module to sum the Amounts by Product, but I would get the following:
https://us.v-cdn.net/6037036/uploads/2XTBGX9ENW3U/picture2.png
With the February 2024 update, this has changed!!!!
Users displayed under General Lists
The User list is now displayed under the General Lists menu under Contents, like all your other lists.
https://us.v-cdn.net/6037036/uploads/4QWQ2HUD3T7V/picture3.png
Highlight Users and click Open, you will have the same options as you do with other lists and can select Tree View, Grid View, Subsets, and Configure.
https://us.v-cdn.net/6037036/uploads/W6RIRDNH6IDN/picture4.png
Clicking Configure, you can now add a Top Level Item. Enter the text you would like to use for the Top Level Item and click Apply.
https://us.v-cdn.net/6037036/uploads/XLNT4FLP7W5M/picture5.png
Now, we can go back to the RPT module (dimensionalized by Product) and enter our SUM function.
https://us.v-cdn.net/6037036/uploads/3K0NLJE182OI/picture6.png
Not only does this work for sum, but it works for all aggregation functions.
https://us.v-cdn.net/6037036/uploads/8WNXPEIXVDWD/picture7.png
https://us.v-cdn.net/6037036/uploads/60JQ9BDDZBNP/picture8.png
Subsets on Users
Going back to General Lists and clicking on the Users list, navigate to the Subsets tab. Click Insert and you can now add subsets to the Users list, which will behave the same as subsets defined on other lists.
https://us.v-cdn.net/6037036/uploads/PC4FQAZFI382/picture9.png
Once defined, select the Grid View tab where you can define who is part of a certain subset.
*** Note, automation of the user subset definitions via an action is not currently possible, however we wanted to get this functionality (Users with a Top Level Item and User Subsets) out as quickly as we could since it has been one of the most requested enhancements.
https://us.v-cdn.net/6037036/uploads/RIO04RUDQNIX/picture10.png
In order to use the User Subsets in a module, you can select the subset the same way as you would with regular subsets. Notice, people can belong to more than one subset.
https://us.v-cdn.net/6037036/uploads/L76P1S7AFV33/picture11.png
Or if you are already have a module defined and you want to add the subset, click the ellipsis on the right under Applies To in order to see the full list of lists.
https://us.v-cdn.net/6037036/uploads/18OX7FE890CN/picture12.png
https://us.v-cdn.net/6037036/uploads/X2PJ7649K1ON/picture13.png
The aggregation functions will work the same way with the User Subset.
https://us.v-cdn.net/6037036/uploads/OMWLPFNMGFBY/picture14.png
Going back to our RPT module, we can now add two new line items to get the aggregation totals for the subsets.
https://us.v-cdn.net/6037036/uploads/GIVFEXAJZLWD/picture15.png
https://us.v-cdn.net/6037036/uploads/PDVP3ZFALKGX/picture16.png
No List and/or using Select
With the added Top Level, you can also get sums without having a list defined in the module (helpful for validation purposes) as well as using the Select function.
https://us.v-cdn.net/6037036/uploads/LURR8VBN5GOF/picture17.png
https://us.v-cdn.net/6037036/uploads/JMNPVURM15U8/picture18.png
https://us.v-cdn.net/6037036/uploads/FEGETIA42QR3/picture19.png
In conclusion, the use of aggregation functions can now be used with the Users list by adding a Top Level item to the list which is a great new feature.