Find [All Health Samples Where
Type is [Health sample type] and
Start Date [is on/is today/is between/is in the last]  [years/months/weeks/days] and
[+ Add Filter]
[Value/Start Date/End Date/Duration/Source/Name] [is/is not/contains/does not contain/begins with/ends with] [Anything].
Group by: [Minute/Hour/Day/Week/Month/3 Months/Year]
Sort by: [Value/Start Date/End Date/Duration/Source/Name/Random]
The time period to group results by. For example, grouping by day gives you only the daily totals.
Optionally, what to sort the health samples by.
The order to sort the health samples in.
Whether or not to limit the number of health samples retrieved.
If you only see some but not all of your data in the results, make sure that “Allow Shortcuts to read data” is set to on in the Health app.