I'm glad it can help you. Please open a new thread of your question.
Hello @v-jiascu-msft ,
Your solution may help my case too. Can you please tell me what is the relationship between the two tables (quarters and calendar tables) you are using? (i.e. what datafields in the two tables you are using to connect the two tables?)
Everything works fine for me in the formula until the function EARLIER. Just after the EARLIER function when I am trying to type the date field from my calendar table I don't have the list of the available data fields to choose it. I believe I did not connected the two tables properly. I tried to connect the field "Start date" in Quarters table with field "Date" in date teble (not sure if this is correct).
Actually, no relationship is there. No EARLIER is needed either. Please refer to the file in the attachment. I have improved it.