Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Paknanarn23
Creator II
Creator II

Enter the background color according to the conditions.

Want to add a background color to the condition that if the count comes out and there are 2 consecutive values, the shift will be red. But if not, make it yellow.

This is the code that does the counting.

if(Shift='Morning',Count(
DISTINCT IF(
NOT WildMatch(AD_Remark, '*ok*', '*ปกติ*', '*down*')
AND AD_ApproveStatus <> '1',
AD_Remark
)
)
,
if(Shift='Afternoon',Count(
DISTINCT IF(
NOT WildMatch(AD_Remark, '*ok*', '*ปกติ*', '*down*')
AND AD_ApproveStatus <> '1',
AD_Remark
)
)
,
if(Shift='Night',Count(
DISTINCT IF(
NOT WildMatch(AD_Remark, '*ok*', '*ปกติ*', '*down*')
AND AD_ApproveStatus <> '1',
AD_Remark
)
)
)))

Paknanarn23_0-1725850767766.png

 

 

0 Replies