When building charts and reports in WKO, we often want to look for specific types of workouts, such as a specific sport type or workouts with a particular tag. There are several quantifiers that can assist us in building expressions, and each one has its own purpose.
sport
Specifies a particular sport type of workouts. Available sport types are bike, run, swim, row, ski, and other. Click here for a more detailed description of each sport type variable.
Example: sum(if(sport="bike",distance),"week") - reports weekly total distance for all workouts set to the sport type of bike
subsport
Specifies a particular subsport type of workouts. Available sport types are road bike, mountain bike, run, walk, swim, row, XC ski, day off, strength, and other. Click here for a more detailed description of each subsport variable.
Example: if(subsport="mountain bike", if) - reports the intensity factor for all workouts of the sport type mountain bike, which is a sub sport of bike
hastag
Specifies a particular tag assigned to a workout. Please note that the text must match the tag exactly; for example, using the tag “race” won’t include workouts with the tag “raceday”. Click here for a more detailed description of this function.
Example: if(hastag("edge800"), distance) - reports distance for all workouts that have the EDGE800 tag