Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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