hello @JReno
Not so long time ago I created a report similar to the one you are showing
It displays Overdue / Open / OK based on issue’s prio and number of days in a status.
Formula for “qwe” is (format: integer):
IIf(
IsEmpty([Measures].[Transition from status last date]),
DateDiffWorkdays(
[Measures].[Transition to status first date],
Now()
)
,
DateDiffWorkdays(
[Measures].[Transition to status first date],
[Measures].[Transition from status last date]
)
)
Formula for “is it right” (format: default):
CASE
WHEN ([Priority].CurrentHierarchyMember.Name = "Lowest"
OR [Priority].CurrentHierarchyMember.Name = "Low" )
THEN
IIf(
[Measures].[qwe 44] > 15,
"Overdue",
IIF(
IsEmpty([Measures].[qwe 44]),
"",
IIf(
DateDiffWorkdays([Measures].[Transition to status first date], Now()) <= 15
,
"Open",
"OK")
)
)
WHEN ([Priority].CurrentHierarchyMember.Name = "Medium")
THEN
IIf(
[Measures].[qwe 44] > 7,
"Overdue",
IIF(
IsEmpty([Measures].[qwe 44]),
"",
IIf(
DateDiffWorkdays([Measures].[Transition to status first date], Now()) <= 7
,
"Open",
"OK")
)
)
ELSE
IIf(
[Measures].[qwe 44] > 3,
"Overdue",
IIF(
IsEmpty([Measures].[qwe 44]),
"",
IIf(
DateDiffWorkdays([Measures].[Transition to status first date], Now()) <= 3
,
"Open",
"OK")
)
)
END
Then you can format the cells:
Column “qwe” can be removed, it will not affect the “is it right”.
Hope it helps! 
Kind regards,
Vasile S.