Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListCalculated FieldCalculated Field
Previous
 
Next
New Post
7/21/2006 3:19 PM
 

Can the calculated field use to calculate a whole column?  It appears to me that you can only calculate information in a row.  If it can calculate a column, what is the syntax?

 

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
7/21/2006 3:55 PM
 

calculated fields act only per row, no sum or max function available.

For help on calculated columns have a look into the user manual, available at our project's download page.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/21/2006 5:33 PM
 

Thanks for the reply.

How am I ever going to make my "Settlers of Catan (Die Siedlers von Catan)" game tracker without a column counting function?

I guess our piece of graph paper in the box is working. 

Seriously though.  Any thoughts of adding this feature to the UDT.  I really like the UDT and I think it is a great module!

Tschuss,

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
7/21/2006 5:54 PM
 

Stuart,

UDT calculated colum reuses the expression syntax of dataset. You will find a whole description at MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDataDataColumnClassExpressionTopic.asp

AGGREGATES
The following aggregate types are supported:
Sum (Sum)
Avg (Average)
Min (Minimum)
Max (Maximum)
Count (Count)
StDev (Statistical standard deviation)
Var (Statistical variance).
Aggregates are usually performed along relationships. ...[we don't have relationships inside but:]...

An aggregate can also be performed on a single table. For example, to create a summary of figures in a column named "Price":

Sum(Price)

Note   If you use a single table to create an aggregate, there would be no group-by functionality. Instead, all rows would display the same value in the column.
 
New Post
7/21/2006 10:26 PM
 
I think I am starting to understand here.

Let me explain to you what I am trying to do and perhaps you can present to me the solution.

I am trying to make a simple account worksheet.

I have columns named:

Debit
Credit
Total

Basically I want Total to be equal to Credit-Debit for that row.

I want my table to look like this.

Debit
Credit
Total
300
300
10
290
50
240


Is this possible?

Stuart

Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListCalculated FieldCalculated Field


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out