Rolling 12 months

boehnc

Board Regular
Joined
Mar 26, 2002
Messages
65
I have a calculated column below to calculate a rolling 12 months. I have 6 slicers including an 'All Proc'[Year] and 'All Proc'[Month] slicer. How do I write the code below to disregard all of the slicers? I've tried (All, 'All Proc') at the end of the calculation, but that doesn't seem to do the trick. Thank you.



Rolling 12 Month Rate:=calculate([Count of TYPE]/[Count of Surg]*100,filter('All Proc' ,'All Proc'[ProcedureDate]>=[RollingYearBegin]&&'All Proc'[ProcedureDate]<=[RollingYearEnd]))
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
are you sure you have this as a calc column? It looks like a measure to me.

To answer your question, you need to wrap the name of the slicer column (or table name) inside an ALL() statement. So replace the formula stub FILTER('All Proc', with FILTER(ALL('All proc'),

if if you are using a calc column, you should switch
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,153
Messages
6,176,728
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