Not sure I understand the question but:
You can add variables and expressions to all reports. These will calculate at the time the report is generated and distributed, so you could have something like this in the report:
"As you can see in chart X, sales were <vHigher-Lower> in <vCurrent Year> than in <vLast Year>"
Which would populate when the report was rendered to:
"As you can see in chart X, sales were Higher in 2015 than in 2016
Not sure if this answers the question.
would it be possible to use the variable example that you have described above but use the logic in the QlikView, like in a text box to display the sentence or paragraph based on the variable and bring the text box into the word template.
another option may be to see about defining filters based on the variable and assign the filter to an object - are either of these possible solutions?
See attached qvw.
As you can imagine, you can achieve your need in different ways.
You could use different approaches based on:
- variables: check the value of a variable and show contents accordingly.
- different fields: load different contents on different fields and show contents according to selections. e.g. when you need to show localized contents.
As you can see I didn't use any trigger (nor macros) for perform selections or change variable values.
Using Triggers into qvw documents is not a good choice when using NPrinting because the flow is unpredictable.
Test_Conditional_Content.qvw 162.2 K