i just want to calculate the Passed Percentage of every date .
i have the Passed Count as well as the Total devices.
is there any logic to calculate the % for every date Dynamically , because there are few more data to be added with a different date.
Please help me , is there any possibility to do that .
it would be appreciated,
Thank you.
Try foreach. It iterates over fields that match a pattern and performs specified commands on each.
| foreach Passed* [eval "Pct<<MATCHSTR>>" = '<<FIELD>>'*100/'Total<<MATCHSTR>>'
Try foreach. It iterates over fields that match a pattern and performs specified commands on each.
| foreach Passed* [eval "Pct<<MATCHSTR>>" = '<<FIELD>>'*100/'Total<<MATCHSTR>>'