Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Folks,
I am having a pivot table and having a dimension as time interval.
I need to write a background color expression like when time interval is <= 00:15:00 ,green() and >00:15:00,Red().
I tried like below it's directly taking the else condition,can anyone advise me what is the issue and proper solution.
Background color expression:
if($(vACD_Agent_NotReadyDuration)<='00:15:00',RGB(102,255,102),
if($(vACD_Agent_NotReadyDuration)>'00:15:00',RGB(255,121,121)))
Thanks
Krishna
Hi,
Try this.
if($(vACD_Agent_NotReadyDuration)<=Maketime(00,15,00),RGB(102,255,102),
if($(vACD_Agent_NotReadyDuration)>Maketime(00,15,00),RGB(255,121,121)))
Regards,
Kaushik Solanki
Hi Kaushik,
Thanks for your reply. No change.
Hi,
Can you tell us what value your variable has and how are you assigning value to variable.
Regards,
Kaushik Solanki
variable is storing the below expression .
interval((sum({<eventtype={'2'}>}EventDuration))/86400,'hh:mm:ss')
Hi,
Can anyone advise me on this??
Hi,
Can you share sample data.
Regards,
Kaushik Solanki
Hi Kalyan, it seems ok, just ensure that the variable expression doesn't have an starting equal sign, with an equal sign it will evaluate globally and return the same result for all cells.
By the expression, EventDuration should be received in seconds.
In any other case a sample will be nice to see what's happening.
Is this return $(vACD_Agent_NotReadyDuration) for data points?
Hi All,
Issue resolved. That was a self variable mistake in the background expression. Thanks to all for your valuable suggestions.