Power pivot issue - invalid numeric representation of a date was encountered

AuroraBorealis13

New Member
Joined
Apr 11, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi, I inherited a power pivot worksheet which all of a sudden started misbehaving. it has several measure custom formulas like the one below.
There is a formula corresponding to each col, differing in the highlighted portion.
all of a sudden, refreshing started giving the above error, complaining about the 2Y.

I checked the valuedate_list table, which is laid out like so:
ValueDatecol_1Mcol_YTDcol_3Mcol_6Mcol_12Mcol_2Y
Jan-18​
1/31/2018 0:00​
1/31/2018 0:00​
11/30/2017 0:00​
8/31/2017 0:00​
2/28/2017 0:00​
2/29/2016 0:00​
Feb-18​
2/28/2018 0:00​
1/31/2018 0:00​
12/31/2017 0:00​
9/30/2017 0:00​
3/31/2017 0:00​
3/31/2016 0:00​
and all the dates are in proper date format.

I did find threads re this error but only as it applies to BI, so any suggestions/ ideas really appreciated!

thanks

2Y:=VAR Calculation_EndDate = MAX(ValueDate_List[ValueDate])
VAR Calculation_StartDate = MIN(ValueDate_List[col_2Y])
VAR Dates = DATESBETWEEN(Facts[ValueDate],Calculation_StartDate,Calculation_EndDate)
VAR ProductFn = CALCULATE(PRODUCTX(Dates,1+ Round([Return Internal],4))-1,Dates)
RETURN
ProductFn
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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