|
Version 1.3. In step 3, you are able to use tokens in your query.
Test Token 1: Enter the name of your token to preview your graph. Take note of the Token in your query since you will need to use it in the settings for the module.
Test Token 2: Same with a second token.
Example of Query with Token:
select Categoryname, sum(productSales) as Total
from
[Sales by Category]
where categoryname = '[cat]'
group by Categoryname
Based on this query, the test token would be cat the brackets are added for you.
Test Value 1, 2: You can test your Token with a value.
Following our example of Query, you could test with a value for category name such as: Beverages which is a category name in Northwind Database.
If you do not use tokens, you can ignore this part.
If you use Tokens the preview will work correctly if token and token test value are entered correctly. The test value is used for preview and will be replaced by a querystring parameter. You configure this part in the settings of the module where the chart will be used.
If you use Predefined tokens, you do not need to do anything.
|