Jake Marcotte
05/10/2023, 5:11 PM{
"title": "Bad Request",
"status": 400,
"detail": "A result cache error has occurred during the calculation of the result",
"resultId": "f365607a0253341f783d3027d573f07a76601f5a",
"reason": "For input string: \"Fly\"",
"traceId": "730609a0fd52af60"
}
Joseph Heun
05/10/2023, 5:15 PMProductboard
05/10/2023, 5:16 PMMichal Hauzírek
05/10/2023, 5:34 PMSELECT DATETIME_DIFF(Business Start Date - Date {label/start_date.day}, this(DAY)) BY Business id {label/businessid}
and then use the conditional number formatting expression to give you the proper string value based on the number of days:
[>=270]Fly;
[>=180]Run;
[>=90]Walk;
[=null]--;
Crawl
This should get you exactly what you need.
BTW if you would need to use some more complex CASE/IF statement logic, you can always return some explicit numerical values from the metric and then format those values to string in the number format.Jake Marcotte
05/10/2023, 6:12 PMPhase
to customize the format of a different metric? I am assuming this is not supported...Michal Hauzírek
05/10/2023, 6:24 PMJake Marcotte
05/10/2023, 6:29 PM