Skip to main content
Solved

Can I control Grid aggregate functions

  • September 1, 2021
  • 2 replies
  • 56 views

Blommetje
Forum|alt.badge.img+13

Hi,

In my grid I use the aggregate functions to show a total. 

However, some grid lines must be ignored. Can I control the aggregate (e.g with sql). 

Or, any suggestions on how to this otherwise? 

e.g ; Instead of 600,- I want the first grid line to be ignored, and show 500,- 

 

Best answer by Mark Jongeling

Hi, 

This is not possible. The aggregation will happen over all visible rows and uses all values in each row column it is set on.

Alternatively you could add a new expression column that shows a value when it should be used in the aggregation and no value when not, for example:

  Value Expression
  3 3
  5 5
  -4 null
Total 4 8

 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3936 replies
  • Answer
  • September 1, 2021

Hi, 

This is not possible. The aggregation will happen over all visible rows and uses all values in each row column it is set on.

Alternatively you could add a new expression column that shows a value when it should be used in the aggregation and no value when not, for example:

  Value Expression
  3 3
  5 5
  -4 null
Total 4 8

 


Blommetje
Forum|alt.badge.img+13
  • Author
  • Partner
  • 209 replies
  • September 1, 2021

Thanks for the quick fix, as always much appreciated. Too bad it can't be controlled. I will check with what might a nice alternative. 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings