Count nested elements

I want to create a visualization which count the number of orders with orderStatus.code : confirmed.
But the problem I faced is that orderStatus is nested field of order. Even with vega I didn't get the solution.
Any suggestion?

If you can supply a sample data structure and the expected outcome I could take a look.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.