I could create something like pivot table for my statistic. Here is an example:

But I need to add statistic like in this table:

Here is a link to data: Data for the Question

How calculate additional column with percentage to the total and total percentage as separate column to the pivot table in Tableau?