I have data like this
Employed Coverage Education Amount
No Basic Bachelor 541.8029122
No Extended Bachelor 312.6400955
No Premium Bachelor 427.9560121
No Basic Bachelor 91.17931022
No Basic Bachelor 533.6890081
Yes Basic Bachelor 683.484326
Yes Basic College 586.2670885
No Premium Master 725.0412884
Yes Basic Bachelor 948.3628611
I want to sum the amount with the multi indexed pivot table such that it looks like the following. Here is link I am following but not able to get the correct results
Need your help.