Accessing NativeTimeline using Cube functions

Ucubia

Board Regular
Joined
Mar 17, 2010
Messages
60
Hi,

Firstly, apologies I am not an advanced Excel user, so please excuse any obvious gaps in knowledge.

Essentially, I am using a TimeLine to select a month that adjusts Pivot table information - easy enough!

However, I need to extract the month selected in order to apply to a simple formula calculating the number of days for the month.

I found a reference from another post whereby using CUBERANKEDMEMBER and CUBESET the Timeline could be accessed at the data could be retrieved. However, when writing the same CUBESET function, the "set expression" provides the NativeTimeline_"Caption" (in my case its NativeTimline_Opened), as opposed to the previous example which references "Timeline_"Caption"

The result is a #N/A - I have tried several things but still no joy. I really don't want to venture into writing VBA and CUBE functions look as though they will provide the information but I can't get it to work.

I'm stumped !

Can anyone provide any guidance or simple example?

Many thanks

Ian
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Watch MrExcel Video

Forum statistics

Threads
1,129,395
Messages
5,636,054
Members
416,894
Latest member
Hari1992

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
Top