PowerPivot after filtering

boehnc

Board Regular
Joined
Mar 26, 2002
Messages
65
Hello, probably a simple solution.

I've brought in data from an Access database into my data model. I'd like to count the number of text values in a particular column. I've filtered the column to only include the values I want to track. At the bottom, the Record Count is 254, the correct number. But when I create my measure it counts 319, the unfiltered number. Type is a text value, so not sure my calculation is even correct. Thanks for any help.

#Proc:=if(isblank(counta('Procall'[Type])),0,counta('Procall'[Type]))
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
This is a calculated column. You should use a measure for this. Create a calculated field (measure)

=counta(Procall[type])

if if this doesn't work, it must be due to the other values being text too. But your filter descriptions suggests this should be ok.
 
Upvote 0
hi Matt, thanks for your response. Sorry if I wasn't clear. The formula I provided is indeed a calculated measure I created (below my data) based on one column (Type) in my Procall Table. This column is text, I want to count, I suppose, all rows after the filter has been applied. But the result of this formula counts all rows including the ones I've filtered out by means of the Text Filter option at the column heading. ?
 
Upvote 0

Forum statistics

Threads
1,224,152
Messages
6,176,725
Members
452,740
Latest member
MrCY

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