Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
kindly let me know the set analysis logic.
find the sales of particular month. ie there are production plants like plant A it uses monthly raw material in tons. and there is date field
i want formula that in text box i want to display monthly consumption if i click on jan i will show jan consumption and so on.
Try this function for text box
num(Sum( {$} Amount),'#,##0')
You will find here some useful stuff:QlikView How To (or Tips & Tricks) Application
Hi,
Well depends exactly what you want,
=Sum(Amount)
Will give you amount in the the text box, this will then change on selection.
=Sum({<Plant={'A'}>}Amount)
This will give you the sum of amount for the Plant A and still change on other selections.
Then to format the number you can use the num() function like below.
=NUM(Sum({<Plant={'A'}>}Amount),'£#,##0;-£#,##0','.',',')
Hope this helps.
Mark
Simple
sum(Sales)
Hey there,
To get used to set analysis you may want to read this paper:
Also if you want the value of a month you can make something like this:
=sum({$<[Plant Production Code] = {'Plant A'}, Year=, Month = {$(=max(monthField))}>} Sales)
Regards,
MB