Hello Experts!
I need to filter top 10 ID’s by avg_measure for last possible date. To do that im adding filter TOP 1 days for date field and TOP 10 for ID column by avg_measure, but result is not what i expected, as i see top ID for all period, that exists in last one.
Here example:
In this case TOP 1 id_2 for last period (mar 3 2024) should be ID_2 = 2 with 1450 avg_value, but it shows ID_2 = 5 with avg 1300.
Here filters:
Is there a way to make this filters work like:
- filter set of data for last date
- find top values from that set of data
In real case Last date <> NOW and there are millions rows of data. The only way that i see is to create column on back-end IsLastDate with 0 and 1 and applied it as filter, or create parameter with single value and use it as date filter, so user can choose any 1 date and see correct data, but is there some other ways to solve this task?