Maia Hansen
01/31/2024, 10:23 PMRUNSUM
) to show totals in Tables across columns, rather than across rows. An example of what we're trying to achieve:
| 01/01/2023 | 02/01/2023 | 03/01/2023 |
| This Month | Total | This Month | Total | This Month | Total |
______________________________________________________________________________
Thing A | 5 | 5 | 10 | 15 | 50 | 65 |
______________________________________________________________________________
Thing B | 1 | 1 | 7 | 8 | 7 | 15 |
______________________________________________________________________________
Thing C | 50 | 50 | 10 | 60 | 12 | 72 |
______________________________________________________________________________
Does anyone know if something like this is feasible, or have suggestions for other ways to accomplish it? I have been able to get this to work in the other direction, with the dates as rows and the monthly values + totals for Things A, B, and C in different columns, but would really like to be able to have the dates in columns instead. We have a lot more "Things" than we do dates, and so having the "Things" as the rows is preferred by our users. Thank you!Moises Morales
01/31/2024, 11:13 PMSELECT RUNSUM({fact/sales}) WITHIN({label/date.week}
Maia Hansen
01/31/2024, 11:18 PMRUNSUM
(and other running total functions) in order to take into account the "previous" values, so we can't use the UI to do the summing. However, using the WITHIN
clause may be what we need to make this work - thank you for that tip! I'll give it a shot and supply more details if that doesn't work for us. Thanks again!Jakub Sterba
02/01/2024, 10:59 AMProductboard
02/01/2024, 11:00 AMProductboard
02/01/2024, 11:00 AMMaia Hansen
02/01/2024, 10:05 PMJakub Sterba
02/02/2024, 9:33 AMJakub Sterba
02/02/2024, 9:35 AMMaia Hansen
02/02/2024, 6:00 PM