how to calculate sankey diagram - Search