Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
cm
Contributor II
Contributor II

KPI Filtering

Smart people,

Question about KPI filtering...

KPI data is the following:

Count({<[Incident Type]={"Personnel"} [Incident Number])

Unfiltered, the KPI is returning the correct number.

When I filter on a field different from, and exclusive of, [Incident Type]... the KPI above is still returning a number >0. It should be returning zero.

Essentially I want the KPI to show ONLY count({<[Incident Type]={"Personnel"} [Incident Number]), and to return a zero when I'm filtering on anything but [Incident Type].

Any advice?

 

2 Replies
sunny_talwar


@cm wrote:

Essentially I want the KPI to show ONLY count({<[Incident Type]={"Personnel"} [Incident Number]), and to return a zero when I'm filtering on anything but [Incident Type].


Do you mean that if you select something other than Personnel within Incident Type, you want to see 0? Try this

Count({<[Incident Type] *= {"Personnel"}>} [Incident Number])
Channa
Specialist III
Specialist III

=if([Incident Type]='Personal',count(Incidentnumber),0)

Channa