Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We're having issues that values of QlikView expressions using dollar-sign expansion is not returning any values when loaded to an NPrinting report.
Expressions such as below, does not return any values in NPrinting:
Sum([Subscription value $(vSelectedCurrency)])
But hard coding the field value return values fine in NPrinting:
Sum([Subscription value USD])
Is there any way around this issue?
Duplicating report objects and moving away from dynamically changing currency is not an option.
Hopefully there is an easy fix...
Yes we need more info as i mentioned in my previous post:
and as mentioned in my previous post you would have to replicate that selection first by applying nprinting filter (to replicate user action) - are you doing it?
Lastly-are you maybe using OnDemand report generation which would not support variable inputs?
so take your time, read through my questions and provide as detailed as possible answer to all of them. Thanks
Your scenario is not clear and would need proper description of scenario.
I assume your variable requires selection to pass through value. That selection will be cleared when report is generated via task/preview and would have to be applied as NPrinting filter.
@sten_lomme what version of Qlikview and nprinting are you using?
This should work if you are following:
Hi @David_Friend - i believe in this case requirement mentioned by you does not apply as we are talking about formulas/expressions in Nprinting.
Thanks guys!
The dataset contains two fields with different values:
- [Subscription value NOK]
- [Subscription value NOKBUD]
The expressions are defined in the QlikView load script as follows:
LET vCalSubsValueEnd = 'Sum({<FactType={SubscriptionFact}, >} [Subscription value ' & Chr(36) & '(vSelectedCurrency)])
Based on a selection by the user in the UI, the proper value of "vSelectedCurrency" is used. Hence using the correct value to display.
The resulting Qlik expression below does not work in NPrinting:
Sum({<FactType={SubscriptionEndFact}>} [Subscription value $(vSelectedCurrency)])
But changing the Qlik expression to below works fine in NPrinting:
Sum({<FactType={SubscriptionEndFact}>} [Subscription value NOKBUD])
Let me know if you need more info.
We are running NPrinting May 2022 SR4
Yes we need more info as i mentioned in my previous post:
and as mentioned in my previous post you would have to replicate that selection first by applying nprinting filter (to replicate user action) - are you doing it?
Lastly-are you maybe using OnDemand report generation which would not support variable inputs?
so take your time, read through my questions and provide as detailed as possible answer to all of them. Thanks
Selection is done by field selection. Thought I already tried this. But now it works. Thanks for guiding in the right direction!