on 2025 Apr 04 8:22 PM
Hi Everyone
I am getting invalid date format error. Created Disposal Date as attribute (Text -Data type) in Asset Dimension.
Date format: YYYYMM in StartDate Attribute in Asset Dimension
Date Dimension: YYYYMM
With Regards,
Brahma Kolli
Request clarification before answering.
Not sure if you are showing the right piece of code generated the error, the attribute name from the error message is different from the attribute you used in the script.
BTW, as far as I can see, the FOREACH loops seems NOT necessry in this case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MEMBERSET [d/CALMONTH] =[d/Version].[p/START_DATE] TO [d/Version].[p/END_DATE]
MEMBERSET [d/MEASURE]="DEPRECIATION"
MEMBERSET [d/ASSET].[p/START_DATE] != " "
DELETE()
IF DATEDIFF([d/CALMONTH],[d/ASSET].[p/Dreciation_Start_Period],"MONTH")>=0 THEN
DATA()=RESULTLOOKUP([d/CALMONTH]=PREVIOUS(1,"MONTH",[d/Version].[p/Dreciation_Start_Period]),[d/Version]="public.Actual")
ENDIF
But still i am getting the same error.
| User | Count |
|---|---|
| 18 | |
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.