Hi,
I’ve been a user of Datagraph since 2011 and am very familiar with most aspects. One aspect I am less familiar with is the use of expressions. I have a .dgraph file which list my weights, blood pressure, pulse, and daily steps with data going back to 2001.
This is probably an easy one, but I’m having a mental block. I wish to develop a variable which gives me the mean value of a portion of my WEIGHT column, say from a specific date on forward, i.e from 2022:04:15 to present.
I tried creating a mean variable as shown below, but I’m unclear on whether I can and how to filter on a specific date and forward. An image is below. The value displayed is correct for ALL records, but not for only records beyond April 2022. That should be closer to 183.
Note: In the image, the Value in the expression box is a named variable obtained from right-clicking on the WEIGHT column and choosing the mean number for all values in the column WEIGHT.
Can anyone help here? Much appreciated.

David Blackwell
Seattle, 12 MAR 2025