Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Qlikies,
I need a help help in finding Todays's,MTD,QTD and YTD values of Qty on pivot table.
Also these values should not change when i do any selections in the dashboard. Attached is the qvw. Hope someone will help me here..
Thanks!
Pooja
hi
"1" is used inside set analysis so the value doesn't change with selection
You need a date field calculate the mtd
try something similar below and replace your field names
YTD
sum({1<Date_field={">=$(=yearstart(today())) <=TODAY()"}>}Qty_field)
MTD
sum({1<Date_field={">=$(=Monthstart(today())) <=TODAY()"}>}Qty_field)
QTD
sum({1<Date_field={">=$(=Quarterstart(today())) <=TODAY()"}>}Qty_field)
Did you read this?
https://community.qlik.com/t5/QlikView-Documents/YTQ-QTD-MTD-and-WTD/ta-p/1489245
hi
"1" is used inside set analysis so the value doesn't change with selection
You need a date field calculate the mtd
try something similar below and replace your field names
YTD
sum({1<Date_field={">=$(=yearstart(today())) <=TODAY()"}>}Qty_field)
MTD
sum({1<Date_field={">=$(=Monthstart(today())) <=TODAY()"}>}Qty_field)
QTD
sum({1<Date_field={">=$(=Quarterstart(today())) <=TODAY()"}>}Qty_field)
Please refer the attached application file.
Hope this will help!
- Rahul
Reference(s):
Thanks!