=CUBEMEMBER Function

Duvnjak

New Member
Joined
Aug 14, 2003
Messages
27
Hello,

I am wondering if someone can help me. I created a pivot table and then converted the pivot table to be formula based.

I am trying to create a YTD report based on the years 2008 and 2009. Is it possible to modify the CUBEMEMBER function for each YTD column?

i.e.

=CUBEMEMBER("Invoice Cube","[Invoice Date].[Full Date].[2008-01-01 00:00:00]:[Invoice Date].[Full Date].[2008-03-10 00:00:00]")

This would show everything for YTD 2008 (of course, I would change the hardcoded values to formulas later on). However, the above statement is not working for me.

I can change the above to the following to get data for March 10th only:

=CUBEMEMBER("Invoice Cube","[Invoice Date].[Full Date].[2008-03-10 00:00:00]")

However, I'd really like to know if I can do this based on a range.

Thanks in advance to anyone who has some input!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,214,784
Messages
6,121,535
Members
449,037
Latest member
tmmotairi

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