Just use the Max(Likes) and Min(Likes) if likes is a number,
Use MinString(Likes) and MaxString(Likes) if its a string.
So whenever you select a particular date, you will see the min and max for that day.
If nothing is selected you will get the min and max for overall dates.
I am using the max() and min(). and its resulting in overall maximum and minimum values. But I have no need to select any date.
I have the updated data from my client. Their requirement is, they want to display max and min no of likes in terms of yesterday, last week, last 4 week like that.
Help me to find out this.