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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
prabhu_rutali
Contributor
Contributor

Keeping a value constant

Im having a data in which I have sales and quantity.If I divide sales upon quantity , I get a value which  changes month year wise. How can I keep this value constanti.e on selection of month year and it must not change with other fields

3 Replies
its_anandrjs
Champion III
Champion III

Try this

Sum{<Year=,Month=>} Sales)

its_anandrjs
Champion III
Champion III

If you need on other fields also not change sales value then try to add that also

Sum({<Year=,Month=>} Sales)


Or


By this all fields no selection affect

Sum( {1} Sales)

rubenmarin

Hi Rutali, maybe?

Sum({1<YearField=P(YearField), Monthfield=P(Monthfield)>} Sales)