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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pls help

hi,

pls tell me what is the meaning of this statement.

num(sum( {$<STOCKYEAR= {'$(Vyera)'},STOCKMonth = {'$(Vmonth)'} ,YEAR=,MONTH=>} STOCK ),'#,##0')

1 Solution

Accepted Solutions
marcus_malinow
Partner - Specialist III
Partner - Specialist III

The parts of the set analysis expression that are causing those field selections to be ignored are these:

YEAR=,MONTH=

If your chart contains YEAR and MONTH as dimensions this may be the reason for the selections to be ignored

View solution in original post

4 Replies
marcus_malinow
Partner - Specialist III
Partner - Specialist III

Dushan

first off you have a num statement - this is there simply to format the result of the inner 'sum' expression as an integer.

the sum expression

- this is creating a sum of the field STOCK

- it contains a set analysis expression, the part within the {$< .... >}

- the set analysis is respecting your field selections except:

     STOCKYEAR is being set to the value of the variable Vyera

     STOCKMonth is being set to the value of the variable Vmonth

     selections in the fields YEAR and MONTH are being ignored

Hope this helps.

Marcus

Not applicable
Author

hi, I dont want to ignore YEAR and MONTH. How can I write this?

marcus_malinow
Partner - Specialist III
Partner - Specialist III

The parts of the set analysis expression that are causing those field selections to be ignored are these:

YEAR=,MONTH=

If your chart contains YEAR and MONTH as dimensions this may be the reason for the selections to be ignored

Not applicable
Author

Thanks Marcus