21 Oct 2021 09:46 AM - last edited on 25 Oct 2021 08:43 AM by MaciejNeumann
Hello Members,
Im facing an issue.
I have 2 calculated metrics on RequestCount.
Example, in the last 1 Hour, I have 20 calls for one and 5 for the other showed in separated tiles on Dashboard.
I have another tile including the addition for both.
When I select the same time frame, I get No Data.
Please help us to fixe, its very urgent for the customer.
Good day.
Solved! Go to Solution.
21 Oct 2021 10:29 AM
Not sure what is the issue here, but you are missing aggregations definitely and I can also see the timeseries are sparse and you want to have a single value anyway.
Can you try the following expression?
(calc:service.accountopening_success_requestcount:splitBy():auto:fold)+(calc:service.accountopening_notsuccess_requestcount:splitBy():auto:fold)
21 Oct 2021 10:33 AM
Thanks Julius for your help and feedback.
Yes I found it quickly before your poste, so with only adding
:splitBy()
27 Oct 2021 11:14 AM
Hi @Julius_Loman
Im facing a bug reported to Dynatrace.
When 1 of both metrics have NoData as result, the addition show NoData which is wrong.
21 Oct 2021 03:54 PM
As someone who is only getting to know the metrics expressions I find it the easiest to add 2 metrics to the data explorer, presented the way I want them to be and then just create the 3 by using the metric operation.