Forum Discussion

MatildaB1280's avatar
MatildaB1280
Copper Contributor
Aug 01, 2024
Solved

Problems with static values in sharepoint list - possible workaround with JSON??

I have a list of changes in sharepoint , each change is an entry. I have a current week view and a next week view for the change management list. These are filtered by week number of the chnage, as i...
  • michalkornet's avatar
    Aug 05, 2024

    Hi MatildaB1280,

    I was wondering if you could change the approach a little bit.

    If the calculated columns cannot be used for the calculation of the current week, maybe you can create a new calculated column to get the first day of the week for all items (this one doesn't need to be recalculated).

    Then, you can use this value in views like ThisWeek and NextWeek.

     

     

    ThisWeek view:

     

     

    NextWeek view:

     

     

     

    Would this be a solution for you? I have just tested it on a few items, but I hope it will work on a larger set of data. Another thing to note is the start of the week; in my case, it calculates the week starting from Sunday. 

Resources