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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
carolin01
Partner - Creator II
Partner - Creator II

Variable in Chart Formular

Hello together,

I´m trying to write the following formular:

sum({$<FYear = {$(vPreviousFY)}, FDay =< {'$(vFDay)}', OrderPhase_Desc = {'Revenue'}>}NettAmount$(vCurrency))

The variable vFDay indicates a number e.g. 74. This is the number of the Fiscal Day that I assigned to the day yesterday according to our corporate calendar. Also in the previous year there has been a day with a day number 74 assigned to it. I´m now trying to calculate the sum of the previsous year where the FDay =< 74.

How can I do calculations including the =< sign?

Many thanks for all kind of ideas.

Best regards

Carolin

1 Solution

Accepted Solutions
michael_maeuser
Partner Ambassador
Partner Ambassador

um({$<FYear = {$(vPreviousFY)}, FDay = {'<$(vFDay)'}, OrderPhase_Desc = {'Revenue'}>}NettAmount$(vCurrency))

View solution in original post

2 Replies
michael_maeuser
Partner Ambassador
Partner Ambassador

um({$<FYear = {$(vPreviousFY)}, FDay = {'<$(vFDay)'}, OrderPhase_Desc = {'Revenue'}>}NettAmount$(vCurrency))

carolin01
Partner - Creator II
Partner - Creator II
Author

Thank you - perfect!!!