I want to as how to write script to calculate percentage. I want to calculate percentage of every industry in every state. Main problem is that I don't know how to write specific industry in specific state in script. I know it should look something like this ((specific industry in state) * 100) /doc['industry.count'].
Thank you in advance.