Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

Slicer to filter aggregated data

I have a column with a formula that says if COLUMN A is complete, then 1 and if it is blank, then zero.

COLUMN A COMPLETE = IF('QA'[COLUMN A]<>"",1,0)

I can then add the values in this column to get the total complete and then I can calculate the % complete.  This is done by customer so at the end, I will have a table something like:

 

Customer 1   90%

Customer 2   82%

Customer 3   71%

Customer 4   32%

etc.

 

I would like to create a slicer that will filter the customers based on percentage complete.  However if I create a slicer based on COLUMN A COMPLETE %, it filters based on the individual cells and not the aggregate per customer.  Since that column only has 2 potential values, 0 or 1, if I move the slicer above 0%, it filters out all of the 0s, so that every customer will show 100%.  

 

How do I filter on the aggregate?

11 Replies

  • v-cherch-msft's avatar
    v-cherch-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi Anonymous

     

    It seems you may try to add an index column for your table then filter it. If it is not your case, please share some data sample and expected output. You can upload it to OneDrive or Dropbox and post the link here.

     

    Regards,

    Cherie