12 Jun 2025
06:52 AM
- last edited on
13 Jun 2025
10:00 AM
by
MaciejNeumann
Hi team,
Can you explain this ":count:last:default(0,always)" metric? When I used this metric, it displayed different values. If I remove it, it shows the same values in both dashboards.
Thank you.
12 Jun 2025 11:17 PM
Hi @Manish_Kumar ,
by using this expression default(0,always) I think you are defaulting to 0 in your time-series data. Incase, if you have any null data or no data in your record it will take as value 0 and calculate the rest.
Can you share the entire metrics ?
BR
13 Jun 2025 05:29 AM
Hello sir,
Thank you for the solution.
Below is the metric:
calc:service.emision_response_time_hn:splitBy():sort(value(auto,descending)):limit(20):avg:default(0,always)
13 Jun 2025 05:33 AM
When the customer changes the new dashboard, then it gets different data compared to the classic dashboard. But the customer is looking for "0" instead of "No Data" in the dashboard. Then I suggest this metric.