How to create pie chart with linked issues

Hi Team,

I believe this is simple but am new to eazybi. so seeking for your help here
I have imported linked issues and able to create custom measures to get their values like status, reporter and assignee so on. all works fine in table form
but would like to generate pie chart. e.g. number of blocked issues in each status likewise for other linked types

Kindly help me with formula for the same

BR,
Leo