You cannot use set analysis for this. Set analysis is not evaluated row-by-row in the chart. It is like a selection for all rows in the measure.
I assume that Category and Year are your dimensions, so that you have one row per combination of Category and Year. Further, I assume that you want to calculate the number for the row, divided by the total for the entire year. I.e. respect the year, but total over all Categories.