The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

How to create weeks in between epoch calender?

Anil_DangatAnil_Dangat Member Posts: 2 Learner I
Hello Community,

I have machines data calender weeks from 1 jan 2019 to 31 december 2019,which has  52 calender weeks.but my machin has built in 25 th september 2019 and i would like consider data from 25th september as a week 1 and would like to take next data as weekwisw 2,3,4,5etc.
need help asap.please write code if needed.

thank you


Answers

  • ceaperezceaperez Member Posts: 541 Unicorn
    Hi @Anil_Dangat,
    a possible approximation is to use a kind of normalization, you can subtract the the n-1 week number to the real week number, your target point, using the generate attribute operator. 
    please find attached a simple example.

    Best, 
    Cesar
Sign In or Register to comment.