Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
joaopaulo_delco
Partner - Creator III
Partner - Creator III

The lowest value of the last date by product

Hi Community!

             I have the following issue:

In the visualization, I need to return the lowest value of the last date by product.

My Data:

joaopaulo_delco_0-1689616890456.png

Desired return:

joaopaulo_delco_2-1689617157096.png

I'm trying all kinds of combinations of FirstSortedValue function and Aggr but it is not working.

Can someone help me?

 

Help users find answers! Don't forget to mark a solution that worked for you!
Labels (1)
1 Solution

Accepted Solutions
BrunPierre
Partner - Master
Partner - Master

A solution could be this.

Dimensions: Produto and Data

Measure: Min(If(Aggr(NODISTINCT Max(Data), Produto) = Data, Preco))

View solution in original post

2 Replies
BrunPierre
Partner - Master
Partner - Master

A solution could be this.

Dimensions: Produto and Data

Measure: Min(If(Aggr(NODISTINCT Max(Data), Produto) = Data, Preco))

joaopaulo_delco
Partner - Creator III
Partner - Creator III
Author

It works perfectly. Thanks a lot.

Help users find answers! Don't forget to mark a solution that worked for you!