Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

Hi All,

May I get some help to write the below mentioned Set Analysis code in better way?

Thanks in advance!

If(ReasonAna='Grand Total',(Count({$<[Service Delay]={1}>}INCIDENT_NO) or Count({$<[Spare Delay]={1}>}INCIDENT_NO) or Count({$<[Engineer Skill Set]={1}>}INCIDENT_NO) or Count({$<[Helpdesk Issue]={1}>}INCIDENT_NO)))

1 Solution

Accepted Solutions
Sokkorn
Master
Master

Hi,

Try this:

If(ReasonAna='Grand Total',

    Count({$<[Service Delay]={1}>+<[Spare Delay]={1}>+<[Engineer Skill Set]={1}>+<[Helpdesk Issue]={1}>} [INCIDENT_NO])

)

Regards,

Sokkorn

View solution in original post

3 Replies
Not applicable
Author

Try...

if(GetFieldSelections(ReasonAna)= 'Grand Total',
Count({$<[Service Delay]={1}>}INCIDENT_NO)

or Count({$<[Spare Delay]={1}>}INCIDENT_NO)
or Count({$<[Engineer Skill Set]={1}>}INCIDENT_NO)
or Count({$<[Helpdesk Issue]={1}>}INCIDENT_NO)
,

""Default"")

Sokkorn
Master
Master

Hi,

Try this:

If(ReasonAna='Grand Total',

    Count({$<[Service Delay]={1}>+<[Spare Delay]={1}>+<[Engineer Skill Set]={1}>+<[Helpdesk Issue]={1}>} [INCIDENT_NO])

)

Regards,

Sokkorn

kumarnatarajan
Partner - Specialist
Partner - Specialist

Hi,

try this.

Ex:

=If(ReasonAna='Grand Total',

Count(

{$<[Service Delay]={1}> + <[Spare Delay]={1}> + <[Engineer Skill Set]={1}> + <[Helpdesk Issue]={1}>} INCIDENT_NO))