Simple PowerPivot Filter Question

I have a powerpivot table with sales data. I then have a related date table. In this date table I have a running period column. We often need to look at prior 3 fiscal periods. For example, wer are in fiscal period 13 of 2011, or running period 26 in my date table since it goes back to 2010. what would my measure formula be to sum up volume for all dates that have a running period >=23 and <= 25. (Of course I would want this to be dynamic, so if i looked at last period's data it would show >=22 and <=24
nirajkrishnaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ukerandiCommented:
if you are using MS Access
you can run SQL

select dates,sum([sumfiledname]) as sumRecords from [Tablename] group by [dates] having dates >=22/12/2011 and date <=24/12/2011
0
ukerandiCommented:
please ignore my prevoius SQL
below SQL is correct
select dates,sum([sumfiledname]) as sumRecords from [Tablename]  where dates >=22/12/2011 and date <=24/12/2011 group by [dates]

or you can use Excel Pivot table wizard

Data-> Pivot Table and Pivot Chart Report
0
nirajkrishnaAuthor Commented:
Looking for this:

http://www.powerpivotpro.com/2011/06/running-totals-without-a-traditional-calendar-table/

Not a lot of PowerPivot users on EE it seems
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
nirajkrishnaAuthor Commented:
Looking for DAX solution
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.