Can you please upload a Tableau Packaged Workbook example showing us what you've tried?
This seems to me like you just need to put the Year dimension on the rows shelf and the count of orders measure on the columns shelf.
Is that what you wanted? You don't have any customer who have made orders more than 6 so data is not coming for the same.
You can find the workbook in my public profile. Link has been mentioned below. Let me know If you've any query.
Wow thanks a lot, I did not know the function fixed, thanks for helping mee!!