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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
denis115
Creator
Creator

straight table

Hello!

I need help!

I have a table where I have :

prodname

sales_sum

start sales

last sales

and when I select big period of time I need to see in : sales sum (sum of sales in this period)  ,  start sales (sales of first month selected)

and last sales (sales of last month selected)

how can I do this?

Thank you!

Labels (1)
16 Replies
tresB
Champion III
Champion III

Can't open. Could you check and may be share a smaller one?

denis115
Creator
Creator
Author

TEST

tresB
Champion III
Champion III

Which fields are date, month, year, sales?

denis115
Creator
Creator
Author

I have start date "Начало месяца" and last date "Конец месяца"  as you can see, only  at last sheet I need to have in

columns "ОНН"  Sum ([Ост.Начало Стоим.])   for  lower month of selection and in  "ОНК" the  higher month of selection

for example I select : apr,may,june,july  in col OHH I NEED TO SEE SUM ([Ост.Начало Стоим.])    only apr because it is lower month from selection

tresB
Champion III
Champion III

Try:

Sum ( {<[Начало Месяца]={"$(=Min([Начало Месяца]))"}>}[Ост.Начало Стоим.])

Sum ( {<[Начало Месяца]={"$(=Max([Начало Месяца]))"}>}[Ост.Начало Стоим.])

Note: If you wish to select from another date field, you might have to include those date fields as well in the expression to nullify it's effect. like:

Sum ( {<[Конец Месяца], [Начало Месяца]={"$(=Min([Начало Месяца]))"}>}[Ост.Начало Стоим.])

Sum ( {<[Конец Месяца], [Начало Месяца]={"$(=Max([Начало Месяца]))"}>}[Ост.Начало Стоим.])

denis115
Creator
Creator
Author

Thank you!!! it works!

HirisH_V7
Master
Master

Bro u know that language super.

HirisH