How to transform number based on conditions

Occasional Contributor
Description: We have availability tests configured for specific URLs in app insights. Results are stored in log analytics.
Objective: I want to create custom dashboard based on average duration time.
Issue: duration time shows as numbers, for example 300ms is 300.0 and 17s 300ms shows as 17,300.0 . I want to transform/change the number to be shown as 17s300ms or 300ms
How can I do that?
0 Replies