Kpi status with slicer

Super Contributor



I was wondering if the KPI Status can be included for slicer tool filtering in the pivot table.

Please help

6 Replies



You can add a slicer from the pivot table menu in the ribbon


please see the attached file



I don't think so. KPI Status is actually the measure, you can't add slicer on measure.



I understood your request, you can work around it by 1st ranking the original data using if condition, then you can create your slicer. 


In this example, I labeled the data I have based on ranking, 1st 400 cities got "Green" then "Yellow" then "Red"


Then just add the slicer.



@Zan_Hanifee ,,

Possibly this may help you.


Source Tale:





  1. Color is Helper Column, for neatness later on you may hide it.
  2. Formula in cell X2, fill it down.



Pivot Table & Slicer:




How it works:

  1. Create PT, put City Name & Color in Row, and Sum Of Freight as Value.
  2. Select PT, Right click and from Pivot Tale Option dialogue, hit Display and un-check, Show Expand Collapse button.

     3.  In Data section, select Refresh Data When Open file.

     4.  Now create Slicer and from it's setting, set column to 3. 


  • You may keep as original also.

     Now this is the tricky part. 

  1. Apply Condition Formatting to each part separably. 
  2. Select W18:W21 and apply ICON Set using following rules as show below.



    3. Now copy Condition Formatting on W23 and W25:W30.


  • Reason for doing this is to skip ROW Totals while Filter with Slicer.


Now start clicking slicer buttons to filter data.















@Ramiz_Assaf , @Rajesh-S ,

IMHO, such workarounds are quite limited since they are based on source data, not on calculated values as data model KPI. For example, if we have yellow for +-20 of average, red for below and green for upper values, this status will be shown not on only on all cities, but on filtered context as well. If we filter by country, that will be the status for this country average. Or for any filter we will apply.

KPI should use basic as well calculated data,, and sometimes to fix the issue we have to follow non traditional methods, and that's what I did.

I've applied ICON sets on numeric column,, and while filter usually adjacent value appears, nothing new,, the method I've used address the core issue,, and it was only my intentions.