Arithmetic expression with calculated metrics

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.



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)

Thanks Julius for your help and feedback.

Yes I found it quickly before your poste, so with only adding

:splitBy()

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.

Hi @gilgi

With a screenshot, your comment will be better to understand.

Thanks.

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.