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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

MTD and YTD help on KPI object

Hi,

I am trying to created a Dashboard for my sales performance and I would like to have 2 KPI objects: MTD and YTD

Sum({1<"MONTH"={"$(=Month(Today()))"}>}ORDERS)

Sum({1<"YEAR"={"$(=YEAR(Today()))"}>}ORDERS)

This is not working, any clues on what I am doing wrong?

Renata

2 Replies
sunny_talwar
MVP
MVP

I don't see any issue except that MTD will include the whole Month of Feb and YTD will include Whole Year 2017. Is that what you want?

kaushiknsolanki
MVP
MVP

Try this.

Sum({1<MONTH={"$(=Month(Today()))"}>}ORDERS)

Sum({1<YEAR={"$(=YEAR(Today()))"}>}ORDERS)

Removed the double Quotes from field name.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!