To generate viewlets, queries require certain components at a minimum. The syntax of a jKQL query includes the operation or action to be used for a specific item type, as well as, various date &time, numeric expressions, limiting operators, result grouping modifiers and viewlet chart type names. The syntax of a jKQL query should appear as follows (required elements are bolded):
jKQL > < action> <numeric expression> <limiting operator> <item type> <date/time expression> <comparison operator> <result grouping modifier> <viewlet chart type>
To run a query, at the top of your viewlet position your cursor to the right of jKQL> and enter your query.
Learn the jKQL query syntax elements.