Sketch patterns - using driven dimensions?

Hi,

 

I am struggling to find simple functionality.

 

How do I use driven dimension for a distance value in linear pattern in sketch?

I tried everything that came to my mind so far, but without success.

 

How to have reference to a dimension value rather than fixed number here?

Cris