Ask and answer questions about WebRatio, WebML and BPMN

Hi, I've got an entity including a one numeric field. Now, I would like to sum values of this entity for all it's records. How can I do it? Thanks in advance for help.

asked 20 Jan, 10:00

dandys997's gravatar image

dandys997
15145
accept rate: 0%


Hi,

in WebRatio 6.1 you can define the Aggregate/Imported Attributes directly on the unit. You can see an example in the WebRatio Release Notes (Help > WebRatio Release Notes)

If you prefer write and execute a custom query, you can add a Query Unit to your model. For more details you can read this article: Getting started with the Query Unit

There is another way, in fact you can refer to this article of our wiki: The derivation in the data model

In this case you can use a Calculated Attribute.

link

answered 25 Jan, 09:07

albertomolinaroli's gravatar image

albertomolin...
63424
accept rate: 62%

edited 25 Jan, 09:13

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1
×1

Asked: 20 Jan, 10:00

Seen: 230 times

Last updated: 25 Jan, 09:13

Related questions

©2001-2011 Web Models s.r.l. All rights reserved