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: 
Not applicable

Question

Hi,

Is this possible with Qlikview:

Select field1, field2, field 3 = (Select sum(amount) from Sales where date >= MonthEnd(date)) From Budgets

or

Load *,

      if (Date>=MonthEnd, call select Statement, amount) as new_field

From Source

Select Statement = Select field1, field2, field 3 = (Select sum(amount) from Sales where date >= MonthEnd(date)) From Budgets

2 Replies
Not applicable
Author

up!

oxtontom
Contributor III
Contributor III

Hi Mars,

Are you looking to do this specifically in the load script?

I know it can be done in Qlik rather easily if you do it on a pivot table with field1 fielde field3 making up the dimensions and the expression being the sum(amount) from Sales where date >= MonthEnd(date)).

I am not sure how you would do it in the load script.

Tom