Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Summary by every line in a list

Featured Replies

Ok hoi guys..

I making a DB tracking income and expenses. It has a dashboard to show useful data quicky. It has is own table with one record and lots of fields. In the table expenses i have 1 record for every expense. Every expense has a.o. a category field (from a editable valuelist) and a total amount.

I'd like to sell this solution to different costumers so the categories in the value list change per user....

now i want the dashboard to show a list of categories and the total amount spent on them

so i made a field dashboard::CategoryList thats calculates a list of categories used.

  • Car
  • Food
  • Office supplies
  • etc.

So now I would like to get a list with category totals.ambivalence.png

  • Car €200
  • Food €134
  • Office supplies €432

How can i make a field Dashboard::CategoryTotals that calculates the total per category. In the same order as CategoryList?

I found some custom functions that help but i don't know how to get it together in 1 formula.

ConditionalSummary ( Expenses::Category ; "Car" ; Expenses::Total Cost ) (return total cost on car)

ExtractLine (CategorieList ; 3) (returns the 3de line in the list)

What i would like have is something like:

Dashboard::CategoryCount returns number of categories (I have this)

Dashboard::CatergoryTotals : calculation something like....

ConditionalSummary ( Expenses::Category ; TextLine (CategorieList ; 1) ; Expenses::Total Cost )

Repeat calculation Dashboard::CategoryCount times but the next would be:

ConditionalSummary ( Expenses::Category ; TextLine (CategorieList ;
2
) ; Expenses::Total Cost )

etc.

Is this possible or am i going about this in the wrong way?

Mayby it's better to use the category valuelist to do this? instead of a calculated field with categories used in a list?

Thx for all help already

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.