How to change values based on the field values without selections in text box
I have data like Year, Month, Incremental and Sales data is there.
Years like 2018,2019,2020 and 2021 and every years having months data and incremental field is having Yes, No .
Current year is 2020 and incremental data is having Yes, No.
I want to see the data like if Incremental is Yes or No or Yes/No in text box with current year and same thing like i want to see the Sum of sales also. for example 2020 is having Incremental is having Yes and No then i want to see 2020 Yes/No in text box. if incremental values is having all months yes then 2020 Yes.
Present year is 2020 and 2020 having incremental is Yes and No.
Every month 2nd week my data is loading and present i am having 2020 and incremental data is Yes still November, but in December data will load and then Incremental values replace 'No' to 'Yes' then in that case i want to see the data like 2020 Yes because all months having incremental value is yes.
then 2021 years January before loading data every month incremental data is showing No. Before lording data i want to see like Current year with NO Like 2021 No. after loading data like Jan having 'Yes' in incremental value then i want to see like 2021 Y/N.
Years wise i created one variable and using Only function in incremental field but i didn't get the result. if using concat( distinct Incremental, '/' ) always showing Y/N only. but my requirement is based on incremental values dynamically showing, if all months data is yes the current Year with Yes, if all months having No then current year with No and if some months having yes and some months having no then that case Current year with Y/N.