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: 
wanyunyang
Creator III
Creator III

return the last month

I have a year filter, if I select 2017, it returns 12 (last month in 2017). If select 2018, it return 5 (current month).

Is that possible?

2 Replies
Digvijay_Singh
MVP
MVP

I think Max(Month) will respond as per your selection and needs

rafatashiro
Contributor III
Contributor III

I think U can try count( distinct Month) too