Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
sup
Contributor
Contributor

FirsortedValue in AGGR

Hello, i have a Demension with :

 

=aggr ( FirstSortedValue( [auth_staff.Должность сотрудника] ,[auth_sales.Дата продажи]),[auth_client.Название клиента],[auth_brand.Название бренда])

 

But it return nothing, why ? 

2 Replies
Lauri
Specialist
Specialist

You may need to add "distinct" to FirstSortedValue:

=aggr ( FirstSortedValue(distinct [auth_staff.Должность сотрудника] ,[auth_sales.Дата продажи]),[auth_client.Название клиента],[auth_brand.Название бренда])
Channa
Specialist III
Specialist III

try this =FirstSortedValue( aggr( [auth_sales.Дата продажи],[auth_client.Название клиента],[auth_brand.Название бренда]),[auth_staff.Должность сотрудника] )
Channa