• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Sum of numeric element in list divided by groups

enrb

Member
Sum of numeric element in list divided by groups

Good morning,
I saw that it is possible to enable (for the elements that allow it) the sum of the column in list view settings -> calculations

Is it possible to enable the sum also for grouped elements?

For example, if I have entered several items of clothing in a list and for each of them I have the color element, can I group the items of clothing by color in the list and have the total sum per group?


List Example:

TYPE - COLOR - Quantity
T-Shirt A - Red - 1
T-Shirt A - White - 2
T-Shirt A - Black - 4
T-Shirt B - Red - 5
T-Shirt B - White - 8
T-Shirt B - Black - 3
T-Shirt C - Red - 7
T-Shirt C - White - 7
T-Shirt C - Black - 8


I wish I could have a list grouped by colors with totals by color, so my list should become:

TYPE - COLOR - Quantity
T-Shirt A - Red - 1
T-Shirt B - Red - 5
T-Shirt C - Red - 7
Total - Red - 13

T-Shirt A - White - 2
T-Shirt B - White - 8
T-Shirt C - White - 7
Total - White - 17

T-Shirt A - Black - 4
T-Shirt B - Black - 3
T-Shirt C - Black - 8
Total - Black - 17
 
Use 'Split by', select your color element

Gesendet von meinem SM-G930F mit Tapatalk
 
I tried, but I get something like this:

TYPE - COLOR - Quantity
A T-SHIRT - Green - 4
Total - Green - 4
Total - Red - 13
Total - White - 17
Total - Black - 17

T-Shirt A - Red - 1
T-shirt B - Red - 5
T-Shirt C - Red - 7
Total - Green - 4
Total - Red - 13
Total - White - 17
Total - Black - 17

T-shirt A - White - 2
T-shirt B - White - 8
T-shirt C - White - 7
Total - Green - 4
Total - Red - 13
Total - White - 17
Total - Black - 17

T-shirt A - Black - 4
T-shirt B - Black - 3
C T-Shirt - Black - 8
Total - Green - 4
Total - Red - 13
Total - White - 17
Total - Black - 17


He practically repeats me all the totals at each split change ...
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top