Calculated Fields as filter

cmcreynolds

Active Member
Joined
May 21, 2015
Messages
295
Hello, I have a calculated field that counts the number of courses each student takes. (My data is set up such that each course a student takes is listed on a separate row). The field works just fine, but now I'd like to look at those who have fewer than 6 courses - in other words, use my [coursecount] as a filter - but it blocks me from using it as a filter (greyed out).

Any workaround thoughts?

I am using Excel 2013 (can't find a version of PowerPivot)

Thank you in advance.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
I'm pulling data from our client - so, yes? My calculated field is just "counting" but when I try using it as a filter in the pivot table, everything is greyed out.
 
Upvote 0
Tree are 2 options.
1. Use a filter in your pivot table. Click the pivot table row filter, and then filter on Values <6
2. Create a calculated column that replicates the measure and use that as a filter.
 
Upvote 0
Matt - Therein lies the issue - the pivot table won't allow me to use a calculated field as a filter - it grey out the option and when I click and drag it to the filter pane, a message pops up saying I cannot do that. And as for #2 - since I'm using a Count by student number, I can't conceive of how to convert it to a calculated column vs a field.
 
Upvote 0
Sorry, I didn't explain that well enough.
1. Click on the drop down button at the top of ROWS on your Pivot Table
2. Select Value Filters
3. Select Greater Than (or what ever you need)

filter%20button.png


Then apply the filter you want.
 
Upvote 0

Forum statistics

Threads
1,224,120
Messages
6,176,494
Members
452,732
Latest member
EWRUCK

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top