Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
prma7799
Master III
Master III

how to create front end field in Scripting

Hi All,

I want to create one field in back end(scripting).

using below  expression i want to create one field in back end

=aggr(if( rank(( ( sum({$<FiscalYear={$(=max(FiscalYear))}>}[Sales]))  /100000),4)<=20,Brand), Brand)


Can anyone help me out.


Thanks

2 Replies
petter
Partner - Champion III
Partner - Champion III

In the Load Script:



LET vSales = 'aggr(if( rank(( ( sum({$<FiscalYear={$' & '(=max(FiscalYear))}>}[Sales]))  /100000),4)<=20,Brand), Brand)';



In an expression in the UI:


$(vSales)

prma7799
Master III
Master III
Author

Hi petter.skjolden,

Is this variable will work into nprinting,i want one field (top 20) for creating excel reports in Nprinting.

Thanks