Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vtatarnikov
Creator
Creator

AGGR function changes the value after changing the sorting table

Hi!

AGGR1.png

but

AGGR2.png

Bringing the total number remains the same 22901814.

What is it?

1 Solution

Accepted Solutions
Not applicable

Hi,

i'am not sure what is it, but try to add your chart dimension into aggr () dimensions.

And maybe you may share sample allowing us to replicate problem and have a closer look on it.

regards

Darek

View solution in original post

4 Replies
alexandros17
Partner - Champion III
Partner - Champion III

The problem is surely related to your data association ...

Not applicable

Hi,

i'am not sure what is it, but try to add your chart dimension into aggr () dimensions.

And maybe you may share sample allowing us to replicate problem and have a closer look on it.

regards

Darek

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

The previous post is correct. The chart dimensions to the dimensions must be included in the dimensions in the aggr statement.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
vtatarnikov
Creator
Creator
Author

Yes, that's right.

=sum(Aggr(sum([Количество реализации])*FirstSortedValue([Цена закупки], -[Дата цены]), id_Товара, id_Магазина))

works as it should. thank you very much.