Hello guys!
I need some help here! Data example:
Store / Date / Stock($)
1 / 2017-01-01 / 1
2 / 2017-01-01 / 2
1 / 2017-01-02 / 3
2 / 2017-01-02 / 4
1 / 2017-01-03 / 5
2 / 2017-01-03 / 6
User selected date range from 2017-01-01 to 2017-01-02
I want to show only the last selected day sum(stock)
Stock($) = 7
I've tryed SUM( {< DATE = {'2017-01-02'} >} STOCK) and this worked, but how to do using "max_date_range variable"?
Thanks!
If you have a Qlik SENSE question, please don't post it in a QlikVIEW forum.
Topic moved.
Hi,Victor
sum({<date={"$(=Date(Max(date),'YYYY-MM-DD'))"}>} stock)
Maybe It helps you
Maybe:
SUM( {< DATE = {"$(=max(DATE))"} >} STOCK)
What is your variable called? May be like this
Sum({<Date = {"$(=Date(MaxDateVariable, 'YYYY-MM-DD'))"}>}stock)
Hi Victor,
May be like in attached file
sorry about that, I'm qlikview user and posted wrong automatically
Thanks!
Thanks! I was using ' instead of "
Thanks!