Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i have a bar chart where i have months on the x-axis and number of computers on the y-axis.
The months measure is a drilldown dimension where i can drill down to calender weeks of that month.
My goal is the following:
For each month i would like to display the metric (number of computers) for the latest calender week within that month.
In the attachment you will find an example table with my data.
The highst week in january 2019 is 05/19 with a metric of 490.
The month table however shows me 617. This makes sense, since here all weeks of that months are referred to.
Can somebody give me a hint on how to solve that problem?
The formular for my metric looks like this: Count(distinct COMPUTERNAME)
Thanks a lot,
John
May be this
FirstSortedValue(Aggr(Count(DISTINCT COMPUTERNAME), Week, Year), -Aggr(Week, Week, Year))
Where exactly are you doing this? In the script or the front end object?
In the frontend.
May be this
FirstSortedValue(Aggr(Count(DISTINCT COMPUTERNAME), Week, Year), -Aggr(Week, Week, Year))
That is working, thanks a lot.
I wish i would understand it completely though 🙂
You can read more about it here
Value Associated with Min/Max Value of Another Field (Front End Solution)